Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Linux

CVE-2026-142805 — Linux

Not yet scored First seen December 03, 2026

One of 171 Linux vulnerabilities published together by NVD: our article covers all of them.

LinuxOperating systemsVulnerabilities

Summary

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 ]

Description: NIST National Vulnerability Database (public domain)

Affected and fixed versions

ProductAffected versionsFixed in
Linux2.6.16 and later5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Details from NVD (public domain).

Affected

  • Linux

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-142805?

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 needparentlock bus flag so that driver core takes the parent lock when needed.

How severe is CVE-2026-142805?

CVE-2026-142805 has not been given a CVSS score yet.

Is CVE-2026-142805 being exploited?

Not as far as is known: CVE-2026-142805 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026.

Which versions are affected by CVE-2026-142805?

Linux 2.6.16 and later (fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1).

How do I fix CVE-2026-142805?

Update to a fixed release: Linux 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1.

Timeline & sources

References

Related vulnerabilities & news