Files
linux/drivers/block
Juergen Gross afaee3ef51 xen/blkback: don't free be structure too early
commit 71df1d7cca upstream.

The be structure must not be freed when freeing the blkif structure
isn't done. Otherwise a use-after-free of be when unmapping the ring
used for communicating with the frontend will occur in case of a
late call of xenblk_disconnect() (e.g. due to an I/O still active
when trying to disconnect).

Signed-off-by: Juergen Gross <jgross@suse.com>
Tested-by: Steven Haigh <netwiz@crc.id.au>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-05 14:40:20 +02:00
..
2016-09-15 08:42:03 -06:00
2016-06-27 12:26:08 -07:00
2016-06-27 12:26:08 -07:00
2011-08-08 11:40:15 +02:00
2016-03-14 09:06:01 -06:00
2017-03-12 06:41:45 +01:00
2015-09-23 11:01:16 -06:00
2016-03-15 15:59:47 -07:00
2017-04-21 09:31:23 +02:00
2016-08-07 14:41:02 -06:00
2016-06-27 12:26:08 -07:00
2016-06-27 12:26:08 -07:00
2016-06-27 12:26:08 -07:00
2013-11-08 09:10:30 -07:00
2016-06-27 12:26:08 -07:00
2009-03-26 21:15:27 +01:00
2016-08-07 14:41:02 -06:00
2016-09-15 08:42:03 -06:00