linux-stable/drivers/block/xen-blkback
Juergen Gross 71df1d7cca xen/blkback: don't free be structure too early
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>
2017-06-13 16:09:41 -04:00
..
blkback.c block,fs: use REQ_* flags directly 2016-11-01 09:43:26 -06:00
common.h xen/blkback: fix disconnect while I/Os in flight 2017-06-13 16:04:18 -04:00
Makefile
xenbus.c xen/blkback: don't free be structure too early 2017-06-13 16:09:41 -04:00