summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-19 09:21:12 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-21 15:59:03 -0700
commitfa1e11d5231c001c80a479160b5832933c5d35fb (patch)
tree5f10a8edfd7a4060285f60694cd8a68d20047278 /net
parent5018860321dc7a9e50a75d5f319bc981298fb5b7 (diff)
downloadop-kernel-dev-fa1e11d5231c001c80a479160b5832933c5d35fb.zip
op-kernel-dev-fa1e11d5231c001c80a479160b5832933c5d35fb.tar.gz
USB: ch341: 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 'net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud