diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-03-19 08:21:23 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-21 22:59:05 (GMT) |
commit | 69f87f40d2b98e8b4ab82a121fd2bd584690b887 (patch) | |
tree | 51f4e310d5db5cd0bc727a2554f7c90bcba22c6c /mm/slob.c | |
parent | 40509ca982c00c4b70fc00be887509feca0bff15 (diff) | |
download | linux-fsl-qoriq-69f87f40d2b98e8b4ab82a121fd2bd584690b887.tar.xz |
USB: quatech2: 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 'mm/slob.c')
0 files changed, 0 insertions, 0 deletions