Skip to content

can: fix use-after-free on USB disconnect

Johan Hovold linux-can linux-usb lkml netdev stable 1 version Applied

Status from this message: Applied to can.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2can: mcba_usb: fix use-after-free on disconnectdrivers/net/can/usb/mcba_usb.c+1 -20 replies
2/2can: usb_8dev: fix use-after-free on disconnectdrivers/net/can/usb/usb_8dev.c+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] can: fix use-after-free on USB disconnect

Syzbot reported a use-after-free on disconnect in mcba_usb and a quick grep revealed a similar issue in usb_8dev.

Compile-tested only.

Johan

Johan Hovold (2):
can: mcba_usb: fix use-after-free on disconnect
can: usb_8dev: fix use-after-free on disconnect

 drivers/net/can/usb/mcba_usb.c | 3 +--
 drivers/net/can/usb/usb_8dev.c | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
Signature · 1 line
2.23.0