diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-03-19 09:21:20 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-04-25 20:25:28 +0100 |
commit | 82159cdc841eaf66435eadf6e084f0f2c5791cbe (patch) | |
tree | 260d48118dd0a9f5fbc35018ee6f122921be5cad /MAINTAINERS | |
parent | 928ab2854c082067496ca91c0495a60b17d7bf9e (diff) | |
download | linux-stable-82159cdc841eaf66435eadf6e084f0f2c5791cbe.tar.gz linux-stable-82159cdc841eaf66435eadf6e084f0f2c5791cbe.tar.bz2 linux-stable-82159cdc841eaf66435eadf6e084f0f2c5791cbe.zip |
USB: mos7840: fix use-after-free in TIOCMIWAIT
commit a14430db686b8e459e1cf070a6ecf391515c9ab9 upstream.
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.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions