diff options
author | Johan Hovold <johan@kernel.org> | 2019-10-09 13:48:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-10 13:45:06 +0300 |
commit | b5f8d46867ca233d773408ffbe691a8062ed718f (patch) | |
tree | 0f2fdf78b5db8e826432dcd372e9a70adb28a44e /README | |
parent | 80cd5479b525093a56ef768553045741af61b250 (diff) | |
download | linux-b5f8d46867ca233d773408ffbe691a8062ed718f.tar.xz |
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: 946b960d13c1 ("USB: add driver for iowarrior devices.")
Cc: stable <stable@vger.kernel.org> # 2.6.21: 51a2f077c44e ("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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions