CVE-2026-142805
Last modified
CVE-2026-142805 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: driver core: fix parent lock use-after-free on USB disconnect USB interfaces should be probed with their parent USB device lock held and the USB bus therefore sets the need_parent_lock bus flag so that driver core takes the parent lock when needed. Driver core is only guaranteed to hold a reference to the parent device during initial probe however and nothing prevents the device and its parent from being deregistered and the parent potentially freed, for example, while iterating over devices in driver_attach() or bus_rescan_devices_helper(). Since commit 524134d42231 ("USB: don't cancel queued resets when unbinding drivers") USB interfaces hold a reference to their parent USB device, but a parent hub may still go away while probing a USB device (e.g. via the drivers_probe sysfs interface).
Description
In the Linux kernel, the following vulnerability has been resolved: driver core: fix parent lock use-after-free on USB disconnect USB interfaces should be probed with their parent USB device lock held and the USB bus therefore sets the need_parent_lock bus flag so that driver core takes the parent lock when needed. Driver core is only guaranteed to hold a reference to the parent device during initial probe however and nothing prevents the device and its parent from being deregistered and the parent potentially freed, for example, while iterating over devices in driver_attach() or bus_rescan_devices_helper(). Since commit 524134d42231 ("USB: don't cancel queued resets when unbinding drivers") USB interfaces hold a reference to their parent USB device, but a parent hub may still go away while probing a USB device (e.g. via the drivers_probe sysfs interface). This can lead to a use-after-free when taking the parent device lock before checking the device->p->dead flag of the device being probed. As only USB interfaces actually need the parent lock, make the need_parent_lock feature even more fine grained by making it a device type rather than bus feature. By requiring that any users also make sure that their devices hold a reference to their parents (like USB does), driver core can lock a device and its parent without first checking if the device has been deregistered. Note that this will also increase parallelism when using asynchronous probe as USB devices connected to the same hub can now be probed in parallel. [ Fix mention of bus vs. device type in __device_driver_{un}lock(). - Danilo ]
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= bf74ad5bc41727d5f2f1c6bedb2c1fac394de731, < 5ae6b6c587cea50acf1f39a815906422e607eb68; >= bf74ad5bc41727d5f2f1c6bedb2c1fac394de731, < cb00e496cda53de377d5dd5fc68210566b9643d5; >= bf74ad5bc41727d5f2f1c6bedb2c1fac394de731, < 6d2b0763c98c0e09208bb4d75b12de6414b3ba20; >= bf74ad5bc41727d5f2f1c6bedb2c1fac394de731, < 7bbef48f0b91095be567ea1dda5f9aead1d61a9d; >= bf74ad5bc41727d5f2f1c6bedb2c1fac394de731, < d4bded35edf8d9cd5133dd934a71c3268f89f501; >= bf74ad5bc41727d5f2f1c6bedb2c1fac394de731, < 6ad5071fbef6e65beb33c099e282dc89f0e2f716; >= bf74ad5bc41727d5f2f1c6bedb2c1fac394de731, < 0f554506a3fc6a21e714adf38cc3eb0ffe1bb452 |
| Linux | Linux | 2.6.16 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-142805?
How severe is CVE-2026-142805?
How do I fix CVE-2026-142805?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-14280The Events Manager – Calendar, Bookings, Tickets, and more! …6.6
- CVE-2026-142800In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142801In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-142802In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142803In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142804In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142806In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142807In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142808In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142809In the Linux kernel, the following vulnerability has been re…
- CVE-2026-14281The Automation Web Platform – Notifications and OTP for WooC…9.8
- CVE-2026-142810In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-142805?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
