USB: serial: console: fix use-after-free after failed setup
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: 73e487fd ("[PATCH] USB console: fix disconnection issues") Cc: stable <stable@vger.kernel.org> # 2.6.18 Acked-by:Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Johan Hovold <johan@kernel.org>
Loading
-
mentioned in commit 6b680316
-
mentioned in commit 978716a0
-
mentioned in commit b110ecb7
-
mentioned in commit 76d0ecf5
-
mentioned in commit 494f559e
-
mentioned in commit 811e3b0d
-
mentioned in commit 3bdef25a
-
mentioned in commit 4b8efc26
-
mentioned in commit 701c08a6
-
mentioned in commit be3e7b17
Please sign in to comment