Driver core fixes for 7.4-rc1
Subsystems (3)
Danilo Krummrich
maintainerHi Linus,
Please pull these driver-core fixes.
These fixes arrived late in the cycle and missed the main driver-core pull request for 7.4-rc1.
Thanks,
Danilo
The following changes since commit 72d3fcf802c45d00b300f25b848a93c3a2bd7c7e:
Linux 7.3-rc5 (2026-09-27 13:55:01 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git tags/driver-core-7.4-rc1-2
for you to fetch changes up to 187a62f99da29b1a55602b0d401a783d8dc86161:
driver core: take parent lock in async device attach (2026-10-16 22:36:09 +0200)
----------------------------------------------------------------
Driver core fixes for 7.4-rc1
- Make parent-lock requirements per device type instead of per bus, fixing a use-after-free on USB disconnect by limiting the requirement to USB interfaces, which retain a reference to their parent
- Honor parent-lock requirements during deferred and asynchronous probing, fixing USB interface probe races, including duplicate endpoint creation attempts in sysfs
----------------------------------------------------------------
Johan Hovold (2):
driver core: fix parent lock use-after-free on USB disconnect driver core: take parent lock on deferred probe
Mario Peter (1):
driver core: take parent lock in async device attach
drivers/base/base.h | 1 + drivers/base/bus.c | 32 +++++++++++++++++++++++--------- drivers/base/dd.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------- drivers/usb/core/driver.c | 1 - drivers/usb/core/message.c | 1 + include/linux/device.h | 5 +++++ include/linux/device/bus.h | 3 --- 7 files changed, 79 insertions(+), 54 deletions(-)
The pull request you sent on Sun, 25 Oct 2026 21:16:37 +0100:
The pull request you sent on Sun, 25 Oct 2026 21:16:37 +0100:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.gittags/driver-core-7.4-rc1-2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0cc3ad8f4d2e2009c2005278c754caf7c07fe0a4
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html