diff options
author | Johan Hovold <johan@kernel.org> | 2019-10-11 11:57:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-29 09:13:24 +0100 |
commit | be742b0bd9e9ab91cc1c08cf2da1bf9d34693858 (patch) | |
tree | a23242947197f54c7d5f3c507adaced2f8878667 /drivers/usb/misc/ldusb.c | |
parent | ebcfd766cde61695c444e1b0e723b4bb4426c0fc (diff) |
USB: serial: ti_usb_3410_5052: fix port-close races
commit 6f1d1dc8d540a9aa6e39b9cb86d3a67bbc1c8d8d upstream.
Fix races between closing a port and opening or closing another port on
the same device which could lead to a failure to start or stop the
shared interrupt URB. The latter could potentially cause a
use-after-free or worse in the completion handler on driver unbind.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc/ldusb.c')
0 files changed, 0 insertions, 0 deletions