linux_dsm_epyc7002/drivers/usb/misc
Johan Hovold 4f7e97ffb4 USB: yurex: fix control-URB timeout handling
commit 372c93131998c0622304bed118322d2a04489e63 upstream.

Make sure to always cancel the control URB in write() so that it can be
reused after a timeout or spurious CMD_ACK.

Currently any further write requests after a timeout would fail after
triggering a WARN() in usb_submit_urb() when attempting to submit the
already active URB.

Reported-by: syzbot+e87ebe0f7913f71f2ea5@syzkaller.appspotmail.com
Fixes: 6bc235a2e2 ("USB: add driver for Meywa-Denki & Kayac YUREX")
Cc: stable <stable@vger.kernel.org>     # 2.6.37
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-12 20:18:20 +01:00
..
sisusbvga USB: sisusbvga: Make console support depend on BROKEN 2020-12-21 13:30:08 +01:00
adutux.c USB: adutux: fix debugging 2020-09-17 18:52:40 +02:00
apple-mfi-fastcharge.c USB: apple-mfi-fastcharge: fix reference leak in apple_mfi_fc_set_property 2020-11-06 12:06:58 +01:00
appledisplay.c usb: appledisplay: use module_usb_driver to simplify the code 2020-09-22 10:37:19 +02:00
chaoskey.c
cypress_cy7c63.c
cytherm.c
ehset.c
emi26.c
emi62.c
ezusb.c
ftdi-elan.c
idmouse.c
iowarrior.c
isight_firmware.c
Kconfig
ldusb.c
legousbtower.c USB: legotower: fix logical error in recent commit 2020-12-21 13:30:06 +01:00
lvstest.c
Makefile
trancevibrator.c
usb251xb.c
usb3503.c usb/misc: usb3503: Use pm_ptr() macro 2020-09-04 16:53:57 +02:00
usb4604.c
usb_u132.h
usblcd.c
usbsevseg.c
usbtest.c
uss720.c
yurex.c USB: yurex: fix control-URB timeout handling 2021-01-12 20:18:20 +01:00