aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/serial/cp210x.c
diff options
context:
space:
mode:
authorJohan Hovold2013-03-19 09:21:24 +0100
committerGreg Kroah-Hartman2013-03-21 15:59:05 -0700
commitdbcea7615d8d7d58f6ff49d2c5568113f70effe9 (patch)
tree47f06b36ddcc1a8b48288fd901e5073ab7a60bec /drivers/usb/serial/cp210x.c
parent69f87f40d2b98e8b4ab82a121fd2bd584690b887 (diff)
USB: spcp8x5: 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/cp210x.c')
0 files changed, 0 insertions, 0 deletions