[PATCH 0/2] USB: serial: console: fix two use-after-free bugs

From: Johan Hovold
Date: Wed Oct 04 2017 - 05:02:06 EST


A recent clean-up patch of mine did more than intended and introduced
the potential for a use-after-free on disconnect under some very
specific circumstances. Fortunately those circumstances were not obscure
enough to prevent Andrey's fuzzing from triggering the bug.

While fixing this one I found a related issue through inspection which
dates back to 2006.

Johan


Johan Hovold (2):
USB: serial: console: fix use-after-free on disconnect
USB: serial: console: fix use-after-free after failed setup

drivers/usb/serial/console.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

--
2.14.2