Manjunath Patil
6cc4a0863c
xen-blkfront: fix kernel panic with negotiate_mq error path
...
info->nr_rings isn't adjusted in case of ENOMEM error from
negotiate_mq(). This leads to kernel panic in error path.
Typical call stack involving panic -
#8 page_fault at ffffffff8175936f
[exception RIP: blkif_free_ring+33]
RIP: ffffffffa0149491 RSP: ffff8804f7673c08 RFLAGS: 00010292
...
#9 blkif_free at ffffffffa0149aaa [xen_blkfront]
#10 talk_to_blkback at ffffffffa014c8cd [xen_blkfront]
#11 blkback_changed at ffffffffa014ea8b [xen_blkfront]
#12 xenbus_otherend_changed at ffffffff81424670
#13 backend_changed at ffffffff81426dc3
#14 xenwatch_thread at ffffffff81422f29
#15 kthread at ffffffff810abe6a
#16 ret_from_fork at ffffffff81754078
Cc: stable@vger.kernel.org
Fixes: 7ed8ce1c5f ("xen-blkfront: move negotiate_mq to cover all cases of new VBDs")
Signed-off-by: Manjunath Patil <manjunath.b.patil@oracle.com >
Acked-by: Roger Pau Monné <roger.pau@citrix.com >
Signed-off-by: Juergen Gross <jgross@suse.com >
2018-11-06 10:33:36 +01:00
..
2018-10-23 16:16:40 +01:00
2018-09-12 09:18:29 +02:00
2018-10-22 18:03:31 +01:00
2018-10-18 15:39:10 -07:00
2018-09-13 11:16:54 +02:00
2018-10-23 15:00:03 +01:00
2018-11-06 10:33:36 +01:00
2018-10-18 09:55:16 +02:00
2018-10-23 08:45:05 +01:00
2018-10-16 09:50:39 -06:00
2018-10-23 10:22:33 +01:00
2018-10-17 13:40:10 +02:00
2018-10-22 17:30:06 +01:00
2018-10-23 16:16:40 +01:00
2018-10-18 09:34:13 +02:00
2018-10-24 06:47:44 +01:00
2018-09-22 09:07:33 -07:00
2018-10-02 10:16:41 +09:00
2018-08-27 11:16:04 +05:30
2018-10-23 13:32:18 +01:00
2018-08-17 16:20:27 -07:00
2018-09-27 16:58:49 +02:00
2018-09-30 08:49:55 -07:00
2018-08-08 15:44:47 +10:00
2018-10-23 08:45:05 +01:00
2018-10-20 12:26:26 +10:00
2018-09-24 11:46:15 +02:00
2018-09-30 08:49:55 -07:00
2018-10-23 09:42:05 +01:00
2018-07-30 20:54:51 -07:00
2018-09-18 16:08:38 +02:00
2018-10-23 08:45:05 +01:00
2018-09-28 08:30:28 -06:00
2018-10-23 13:32:18 +01:00
2018-10-21 12:07:26 +01:00
2018-10-19 11:03:06 -07:00
2018-10-23 01:17:27 +01:00
2018-10-23 17:05:28 +01:00
2018-09-06 20:31:59 +02:00
2018-10-22 19:30:24 -07:00
2018-10-11 21:59:11 +02:00
2018-10-09 08:25:08 -06:00
2018-08-24 14:42:42 +02:00
2018-09-10 12:54:02 +02:00
2018-10-22 17:46:08 +01:00
2018-10-03 06:32:51 -04:00
2018-09-06 10:04:07 -07:00
2018-09-28 08:30:28 -06:00
2018-07-30 23:17:53 -04:00
2018-10-23 01:54:44 +01:00
2018-10-04 08:23:03 +02:00
2018-10-23 13:32:18 +01:00
2018-10-23 01:09:22 +01:00
2018-10-23 08:45:05 +01:00
2018-10-24 06:47:44 +01:00
2018-09-28 08:30:28 -06:00
2018-10-22 17:46:08 +01:00
2018-10-22 18:16:03 +01:00
2018-10-04 09:21:36 +05:30
2018-10-17 17:22:26 +02:00
2018-08-18 11:04:51 -07:00
2018-10-23 13:32:18 +01:00
2018-10-23 10:22:33 +01:00
2018-10-22 17:30:06 +01:00
2018-10-24 06:47:44 +01:00
2018-10-23 08:45:05 +01:00
2018-10-23 13:32:18 +01:00
2018-08-23 18:48:43 -07:00
2018-10-23 13:32:18 +01:00
2018-10-22 19:48:35 -07:00
2018-08-20 11:36:07 +02:00
2018-08-22 10:52:51 -07:00
2018-10-23 01:54:44 +01:00
2018-08-16 17:39:55 -07:00
2018-08-25 14:12:36 -07:00
2018-07-30 23:40:23 -07:00
2018-08-20 16:30:27 -07:00
2018-10-24 06:47:44 +01:00
2018-10-07 22:42:00 -07:00
2018-10-24 06:47:44 +01:00
2018-08-02 13:54:06 +02:00
2018-10-24 08:11:35 +01:00
2018-08-27 09:49:48 +05:30
2018-10-21 17:00:17 +01:00
2018-10-05 11:37:20 +03:00
2018-10-24 06:47:44 +01:00
2018-10-03 16:12:28 -06:00
2018-08-23 13:52:46 -07:00
2018-10-02 10:14:32 +02:00
2018-10-02 10:51:16 -07:00
2018-10-23 08:45:05 +01:00
2018-08-19 09:30:44 -07:00
2018-10-17 20:57:55 +02:00
2018-08-17 11:32:50 -07:00
2018-10-07 21:31:32 -07:00
2018-10-07 22:41:05 -07:00
2018-08-24 08:45:19 -07:00
2018-08-21 18:06:27 -07:00
2018-08-22 17:31:34 -07:00
2018-11-06 10:06:07 +01:00
2018-08-18 11:04:51 -07:00