Use-after-free in Linux kernel driver core during USB disconnect
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 7 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
The Linux kernel from 2.6.16 is affected in its driver core. A USB interface can be probed after its parent device has been freed, so taking the parent device lock causes a use-after-free.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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 ]
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update the Linux kernel to 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1. Red Hat Enterprise Linux 6 has no fix planned, and Red Hat Enterprise Linux 7, 8, 9, 10 and OpenShift Container Platform 4 and 5 have no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA Linux (Linux) Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-12-03 Threatist record created from CVE-2026-142805
- 2026-12-03 Alias added: GHSA-2mj4-x4m3-jv3r
- 2026-12-03 Affected versions changed · Red Hat
- 2026-12-03 CVSS score added · Red Hat
- 2026-12-04 Affected versions changed · Red Hat
- 2026-12-04 Affected versions changed · Red Hat
References
Other 7
- https://git.kernel.org/stable/c/5ae6b6c587cea50acf1f39a815906422e607eb68
- https://git.kernel.org/stable/c/cb00e496cda53de377d5dd5fc68210566b9643d5
- https://git.kernel.org/stable/c/6d2b0763c98c0e09208bb4d75b12de6414b3ba20
- https://git.kernel.org/stable/c/7bbef48f0b91095be567ea1dda5f9aead1d61a9d
- https://git.kernel.org/stable/c/d4bded35edf8d9cd5133dd934a71c3268f89f501
- https://git.kernel.org/stable/c/6ad5071fbef6e65beb33c099e282dc89f0e2f716
- https://git.kernel.org/stable/c/0f554506a3fc6a21e714adf38cc3eb0ffe1bb452
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-142805 · CVE Program
- CVE-2026-142805 · NVD
- FIRST EPSS
- GHSA-2mj4-x4m3-jv3r · GitHub Advisory Database · CC BY 4.0
- CVE-2026-142805 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences