diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2016-01-26 17:50:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-03 14:01:47 -0800 |
commit | 5c82171167adb8e4ac77b91a42cd49fb211a81a0 (patch) | |
tree | 916bb8042a5427c17a01c63f13a4a08c1a5c5782 /drivers/vfio | |
parent | 2ad294d5f9d13d108c1e2f1a4be8542859ead134 (diff) | |
download | linux-stable-5c82171167adb8e4ac77b91a42cd49fb211a81a0.tar.gz linux-stable-5c82171167adb8e4ac77b91a42cd49fb211a81a0.tar.bz2 linux-stable-5c82171167adb8e4ac77b91a42cd49fb211a81a0.zip |
xhci: Fix list corruption in urb dequeue at host removal
xhci driver frees data for all devices, both usb2 and and usb3 the
first time usb_remove_hcd() is called, including td_list and and xhci_ring
structures.
When usb_remove_hcd() is called a second time for the second xhci bus it
will try to dequeue all pending urbs, and touches td_list which is already
freed for that endpoint.
Cc: <stable@vger.kernel.org>
Reported-by: Joe Lawrence <joe.lawrence@stratus.com>
Tested-by: Joe Lawrence <joe.lawrence@stratus.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions