OrangePi_CM5/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
…
Kconfig
…
Makefile
…
adutux.c
…
apple-mfi-fastcharge.c
…
appledisplay.c
…
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
…
ldusb.c
…
legousbtower.c
…
lvstest.c
…
trancevibrator.c
…
usb251xb.c
…
usb3503.c
…
usb4604.c
…
usb_u132.h
…
usblcd.c
…
usbsevseg.c
…
usbtest.c
…
uss720.c
…
yurex.c
…