diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-03-19 08:21:16 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-05 16:26:04 (GMT) |
commit | 621f6bbc6b0b92a3c3b8e49c8f381f48f0c557a0 (patch) | |
tree | 7a7968e02e65d51911a4dbffdedd4f8b6cb3e062 /drivers/mfd/tps6586x.c | |
parent | f7b4fb66f05ea6c94c9a802465d5a1e39d086327 (diff) | |
download | linux-fsl-qoriq-621f6bbc6b0b92a3c3b8e49c8f381f48f0c557a0.tar.xz |
USB: io_edgeport: fix use-after-free in TIOCMIWAIT
commit 333576255d4cfc53efd056aad438568184b36af6 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>
Diffstat (limited to 'drivers/mfd/tps6586x.c')
0 files changed, 0 insertions, 0 deletions