summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/moto_modem.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-19 09:21:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-21 15:59:04 -0700
commit7b2459690584f239650a365f3411ba2ec1c6d1e0 (patch)
treeb258f1f160f2b464b2ae4abca1a894f4ff2560cf /drivers/usb/serial/moto_modem.c
parent333576255d4cfc53efd056aad438568184b36af6 (diff)
USB: io_ti: 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/moto_modem.c')
0 files changed, 0 insertions, 0 deletions