Re: [PATCH v5] usb: xhci: Fix use-after-free race in xhci_stop_device()
From: Alan Stern
Date: Thu Nov 05 2026 - 10:46:21 EST
On Thu, Nov 05, 2026 at 08:52:38AM +0100, Michal Pecio wrote:
> > I suppose we could check that there are no errant URBs still in
> > progress just before putting the port into suspend, but is this
> > really necessary?
>
> It's already being done, looks like those drivers aren't *actually*
> trusted very much. But there is the ep0 loophole.
Well, we can always add a check for ep0, just before the actual suspend.
Alan Stern