Re: [PATCH v2 0/3] driver core: parent lock fixes

From: Danilo Krummrich

Date: Wed Oct 14 2026 - 19:12:21 EST


On Wed Oct 14, 2026 at 3:31 PM CEST, Johan Hovold wrote:
> Mario Peter reported that USB interfaces may be probed without holding
> the parent USB device lock during asynchronous and deferred probe.
>
> This series addresses both cases, while fixing a long-standing
> use-after-free issue with the parent lock implementation stemming from
> the fact that the driver core does not necessarily hold a reference to
> the parent device when taking its lock.

I've picked those fixes up, as I think it would be good to still land them for
v7.4-rc1. (I might send them as a second PR in the middle of the merge window
though.)

Please let me know in case you have any concerns.

Thanks,
Danilo