commit | cf1d24443677a0758cfa88ca40f24858b89261c0 | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Tue Mar 19 09:21:18 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 21 15:59:04 2013 -0700 |
tree | 03cb96d63c95169454ecc5e5ae12be8aaf97b52d | |
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>