Re: usb: xhci: unlocked secondary-interrupter/virt-device teardown vs sideband API users -- use-after-free/double-free (remove and resume-reset paths; needs CONFIG_XHCI_SIDEBAND)

From: Greg KH

Date: Fri Oct 30 2026 - 08:15:38 EST


On Fri, Oct 30, 2026 at 07:41:05PM +0800, 徐晗翔 wrote:
> xhci frees its interrupter[] and devs[] software state on two paths
> that hold no xhci->lock -- xhci_stop() -> xhci_mem_cleanup()

<snip>

These are all pointless, sorry.

Please just submit working patches. Doing fault injection of random
failures is an interesting research project, but doesn't do much for us
without a working patch to resolve the issue. I've just dropped all of
these "reports" now.

thanks,

greg k-h