Linux USB
 help / color / mirror / Atom feed
* [RFT PATCH 0/2] xhci: sideband: fix use-after-free of stale virt device pointer
@ 2026-11-18 12:51 Mathias Nyman
  2026-11-18 12:51 ` [RFT PATCH 1/2] xhci: sideband: avoid " Mathias Nyman
  2026-11-18 12:51 ` [RFT PATCH 2/2] xhci: sideband: check virt device under xhci lock when stopping endpoints Mathias Nyman
  0 siblings, 2 replies; 5+ messages in thread
From: Mathias Nyman @ 2026-11-18 12:51 UTC (permalink / raw)
  To: quic_wcheng, hulianqin, selvarasu.g; +Cc: linux-usb, Mathias Nyman

Hi

These two patches attempt to handle the disappearing vdev issue
while sideband stays active.

I don't have real harware to test this on so all review comments and
feedback from testing is welcome.

There are still some gaps in how xhci driver uses locks when
disabling slots and freeing vdev that is not part of this series

Thanks
Mathias

Mathias Nyman (2):
  xhci: sideband: avoid use-after-free of stale virt device pointer
  xhci: sideband: check virt device under xhci lock when stopping
    endpoints

 drivers/usb/host/xhci-sideband.c  | 141 +++++++++++++++++++++---------
 drivers/usb/host/xhci.c           |  55 ------------
 drivers/usb/host/xhci.h           |   2 -
 include/linux/usb/xhci-sideband.h |   4 +-
 4 files changed, 101 insertions(+), 101 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-18 13:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18 12:51 [RFT PATCH 0/2] xhci: sideband: fix use-after-free of stale virt device pointer Mathias Nyman
2026-11-18 12:51 ` [RFT PATCH 1/2] xhci: sideband: avoid " Mathias Nyman
2026-11-18 13:13   ` sashiko-bot
2026-11-18 12:51 ` [RFT PATCH 2/2] xhci: sideband: check virt device under xhci lock when stopping endpoints Mathias Nyman
2026-11-18 13:16   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox