Skip to content
Snippets Groups Projects
user avatar
Johan Hovold authored
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: default avatar <syzbot+e87ebe0f7913f71f2ea5@syzkaller.appspotmail.com>
Fixes: 6bc235a2 ("USB: add driver for Meywa-Denki & Kayac YUREX")
Cc: stable <stable@vger.kernel.org>     # 2.6.37
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
372c9313
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.