• Johan Hovold's avatar
    USB: serial: ti_usb_3410_5052: fix port-close races · 6f1d1dc8
    Johan Hovold authored
    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: 1da177e4 ("Linux-2.6.12-rc2")
    Cc: stable <stable@vger.kernel.org>
    Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
    6f1d1dc8
ti_usb_3410_5052.c 44.4 KB