https://github.com/torvalds/linux
Revision 508f940f1407656076a2e7d8f7fa059b567ecac2 authored by Johan Hovold on 19 March 2013, 08:21:14 UTC, committed by Greg Kroah-Hartman on 21 March 2013, 22:59:03 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 356050d
History
Tip revision: 508f940f1407656076a2e7d8f7fa059b567ecac2 authored by Johan Hovold on 19 March 2013, 08:21:14 UTC
USB: f81232: fix use-after-free in TIOCMIWAIT
Tip revision: 508f940
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