https://github.com/torvalds/linux
Revision 5018860321dc7a9e50a75d5f319bc981298fb5b7 authored by Johan Hovold on 19 March 2013, 08:21:11 UTC, committed by Greg Kroah-Hartman on 21 March 2013, 22:59:02 UTC
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>
1 parent e5b33dc
History
Tip revision: 5018860321dc7a9e50a75d5f319bc981298fb5b7 authored by Johan Hovold on 19 March 2013, 08:21:11 UTC
USB: ark3116: fix use-after-free in TIOCMIWAIT
Tip revision: 5018860
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 243.2 KB
Makefile -rw-r--r-- 47.0 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top