diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-03-19 08:21:14 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-05 16:26:04 (GMT) |
commit | 4d2206e46ae13b5c724eb7d971cd45e92103cba9 (patch) | |
tree | c733818abe89bd34416c27fb12474d56e460ddf2 /drivers/mfd/tps65912-core.c | |
parent | 621f6bbc6b0b92a3c3b8e49c8f381f48f0c557a0 (diff) | |
download | linux-fsl-qoriq-4d2206e46ae13b5c724eb7d971cd45e92103cba9.tar.xz |
USB: f81232: fix use-after-free in TIOCMIWAIT
commit 508f940f1407656076a2e7d8f7fa059b567ecac2 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/tps65912-core.c')
0 files changed, 0 insertions, 0 deletions