diff options
author | Juergen Gross <jgross@suse.com> | 2017-05-18 15:28:48 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-05 12:40:20 (GMT) |
commit | afaee3ef513650b2f6cb9e2c860b9210875a8135 (patch) | |
tree | 747025cd98a92ffa4008ab882645e67675fab49e /drivers/thermal | |
parent | 13fa36f9fbc84c47cef6673d5e2f3a20693d6eff (diff) | |
download | linux-afaee3ef513650b2f6cb9e2c860b9210875a8135.tar.xz |
xen/blkback: don't free be structure too early
commit 71df1d7ccad1c36f7321d6b3b48f2ea42681c363 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>
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions