diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-03-19 09:21:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-21 15:59:04 -0700 |
commit | cf1d24443677a0758cfa88ca40f24858b89261c0 (patch) | |
tree | 03cb96d63c95169454ecc5e5ae12be8aaf97b52d /drivers/usb/gadget | |
parent | 7b2459690584f239650a365f3411ba2ec1c6d1e0 (diff) |
USB: mct_u232: 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 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions