Skip to content

USB: serial: console: fix two use-after-free bugs

Johan Hovold lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2USB: serial: console: fix use-after-free on disconnectdrivers/usb/serial/console.c+1 -15 replies
2/2USB: serial: console: fix use-after-free after failed setupdrivers/usb/serial/console.c+1 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGreg Kroah-HartmanAndrey Konovalov
1/2A-b T-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.14.2