mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
USB: iowarrior: fix use-after-free after driver unbind
Make sure to stop also the asynchronous write URBs on disconnect() to avoid use-after-free in the completion handler after driver unbind. Fixes:946b960d13("USB: add driver for iowarrior devices.") Cc: stable <stable@vger.kernel.org> # 2.6.21:51a2f077c4("USB: introduce usb_anchor") Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20191009104846.5925-4-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
80cd5479b5
commit
b5f8d46867
1 changed files with 6 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue