summaryrefslogtreecommitdiff
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-19 08:21:11 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-21 22:59:02 (GMT)
commit5018860321dc7a9e50a75d5f319bc981298fb5b7 (patch)
tree252272fa6a60fe30638bef7184a329ff65558148 /mm/migrate.c
parente5b33dc9d16053c2ae4c2c669cf008829530364b (diff)
downloadlinux-5018860321dc7a9e50a75d5f319bc981298fb5b7.tar.xz
USB: ark3116: 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 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions