Files
linux/drivers/usb/misc
Johan Hovold 398da04ab4 USB: yurex: fix control-URB timeout handling
commit 372c931319 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>
2023-05-16 10:25:17 +09:00
..
2023-05-16 09:44:46 +09:00
2016-09-13 17:24:24 +02:00
2016-04-29 15:29:18 -07:00
2016-04-29 15:29:18 -07:00
2016-08-09 15:49:01 +02:00
2023-05-15 14:49:04 +09:00