]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Revert "usb: hub: do not clear BOS field during reset device"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:19:34 +0000 (14:19 -0800)
committerDhaval Giani <dhaval.giani@oracle.com>
Fri, 20 Jan 2017 22:21:50 +0000 (17:21 -0500)
commita26adca08c41f37d1ece90179a3678577832ae16
tree2871fbdfd7be2f96623f8775c5f1049c20eff543
parent3bd13201d7b9adb060c055e45ecafdcb0000f947
Revert "usb: hub: do not clear BOS field during reset device"

Orabug: 25227136

This reverts commit 522dc09ca0451d118795e8a05c7b3717f3d1ad8b..

Tony writes:

This upstream commit is causing an oops:
d8f00cd685f5 ("usb: hub: do not clear BOS field during reset device")

This patch has already been included in several -stable kernels.  Here
are the affected kernels:
4.5.0-rc4 (current git)
4.4.2
4.3.6 (currently in review)
4.1.18
3.18.27
3.14.61

How to reproduce the problem:
Boot kernel with slub debugging enabled (otherwise memory corruption
will cause random oopses later instead of immediately)
Plug in USB 3.0 disk to xhci USB 3.0 port
dd if=/dev/sdc of=/dev/null bs=65536
(where /dev/sdc is the USB 3.0 disk)
Unplug USB cable while dd is still going
Oops is immediate:

Reported-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
(cherry picked from commit f94e3630d7cf37e59d9c8772e38d4d73fa59e59e)

Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/usb/core/hub.c