summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/quatech2.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-19 08:21:26 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-05 16:26:05 (GMT)
commit0a9f03287a9290fb61aa74604b4f8fd7fdd3b64e (patch)
treef42161ab09751ec08ec4cc8ebc0bd36319db56ce /drivers/usb/serial/quatech2.c
parentb8574ededb2102a6fc85e76793bd13e3840fdb37 (diff)
downloadlinux-fsl-qoriq-0a9f03287a9290fb61aa74604b4f8fd7fdd3b64e.tar.xz
USB: ti_usb_3410_5052: fix use-after-free in TIOCMIWAIT
commit fc98ab873aa3dbe783ce56a2ffdbbe7c7609521a upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after waking up. This is is needed as the private port data (including the wait queue itself) can be gone when waking up after a disconnect. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/quatech2.c')
0 files changed, 0 insertions, 0 deletions