Files
twx-linux/drivers
Johan Hovold 208563455a USB: serial: console: fix use-after-free after failed setup
commit 299d7572e4 upstream.

Make sure to reset the USB-console port pointer when console setup fails
in order to avoid having the struct usb_serial be prematurely freed by
the console code when the device is later disconnected.

Fixes: 73e487fdb7 ("[PATCH] USB console: fix disconnection issues")
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-18 09:20:43 +02:00
..
…
…
…
…
2017-10-05 09:41:45 +02:00
…
…
…
…
…
…
…
2017-10-12 11:27:35 +02:00
2017-10-18 09:20:41 +02:00
…
2017-10-12 11:27:33 +02:00
…
…
2017-08-06 19:19:41 -07:00
…
2017-10-05 09:41:47 +02:00
…
…
…
…
…
…
2017-04-21 09:30:07 +02:00
…
…
…
…
…
…
…
…
…
…
…
2017-10-05 09:41:48 +02:00
…