summaryrefslogtreecommitdiff
path: root/drivers/hwmon/sch5636.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-19 08:21:14 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-05 16:26:04 (GMT)
commit4d2206e46ae13b5c724eb7d971cd45e92103cba9 (patch)
treec733818abe89bd34416c27fb12474d56e460ddf2 /drivers/hwmon/sch5636.c
parent621f6bbc6b0b92a3c3b8e49c8f381f48f0c557a0 (diff)
downloadlinux-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/hwmon/sch5636.c')
0 files changed, 0 insertions, 0 deletions