summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/spcp8x5.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-19 12:21:23 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-22 02:59:05 +0400
commit69f87f40d2b98e8b4ab82a121fd2bd584690b887 (patch)
tree51f4e310d5db5cd0bc727a2554f7c90bcba22c6c /drivers/usb/serial/spcp8x5.c
parent40509ca982c00c4b70fc00be887509feca0bff15 (diff)
downloadlinux-69f87f40d2b98e8b4ab82a121fd2bd584690b887.tar.xz
USB: quatech2: 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/spcp8x5.c')
0 files changed, 0 insertions, 0 deletions