https://github.com/torvalds/linux
Revision 8edfdab37157d2683e51b8be5d3d5697f66a9f7b authored by Johan Hovold on 19 March 2013, 08:21:21 UTC, committed by Greg Kroah-Hartman on 21 March 2013, 22:59:04 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 a14430d
History
Tip revision: 8edfdab37157d2683e51b8be5d3d5697f66a9f7b authored by Johan Hovold on 19 March 2013, 08:21:21 UTC
USB: oti6858: fix use-after-free in TIOCMIWAIT
Tip revision: 8edfdab
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