Re: [PATCH 0/4] USB: fix use-after-free on disconnect race

From: Johan Hovold

Date: Tue Jun 23 2026 - 04:30:12 EST


On Mon, Jun 22, 2026 at 05:26:08PM +0200, Johan Hovold wrote:
> Mutexes cannot be used to manage lifetime of objects directly as the
> mutex structure is accessed by mutex_unlock() after releasing the lock.

> Johan Hovold (4):
> USB: iowarrior: fix use-after-free on disconnect race
> USB: idmouse: fix use-after-free on disconnect race
> USB: ldusb: fix use-after-free on disconnect race
> USB: legousbtower: fix use-after-free on disconnect race

I forgot to mention that these apply on top of:

https://lore.kernel.org/all/20260523170523.1074563-1-johan@xxxxxxxxxx/

Johan