summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ftdi_sio.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-19 09:21:14 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-21 15:59:03 -0700
commit508f940f1407656076a2e7d8f7fa059b567ecac2 (patch)
treea4ea91f143a67db1f733e2c46a3e6d3509d328ce /drivers/usb/serial/ftdi_sio.c
parent356050d8b1e526db093e9d2c78daf49d6bf418e3 (diff)
downloadop-kernel-dev-508f940f1407656076a2e7d8f7fa059b567ecac2.zip
op-kernel-dev-508f940f1407656076a2e7d8f7fa059b567ecac2.tar.gz
USB: f81232: fix use-after-free in TIOCMIWAIT
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. Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud