CVE-2026-142977 w1: netlink: drop the slave after the bus is unlocked
linux linux: no CVSS score yet. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
On this page
In the Linux kernel, the following vulnerability has been resolved:
w1: netlink: drop the slave after the bus is unlocked
w1_process_cb() executes the commands of a netlink message with bus_mutex
held, and drops the reference to the slave which the message was
addressed to before it unlocks the mutex. If the slave has been detached
in the meantime, this is the last reference, and w1_unref_slave() tears
the slave down on the spot. That waits
- in device_unregister(), for the sysfs callbacks of the slave which are
running, and
- in w1_therm_remove_slave(), for the readers which have taken a
reference to the family data,
and both kinds take bus_mutex to talk to the slave. Whoever is waiting
for the mutex at that moment is never going to finish, and neither is the
thread of the bus master.
Unlock the bus first. The reference keeps the slave, and with it the
master, alive until then.
- EPSS
- 0.2% estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
- Published
- Assigned by
- Linux (CNA)
- NVD analysis
- Awaiting analysis
- Record from
- the NVD, synced
Fix and patched versions
- Linux Linux: fixed in 5.10.276
- Linux Linux: fixed in 5.15.227
- Linux Linux: fixed in 6.12.120
- Linux Linux: fixed in 6.18.66
- Linux Linux: fixed in 7.3.7
- Linux Linux: fixed in 7.4-rc4
Ask an AI about this CVE
Show the prompt
Explain CVE-2026-142977 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-142977?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-142977?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-142977 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Linux | 3.15 and later |
Fixed in
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 5.10 | 5.10.276 |
| Linux | 5.15 | 5.15.227 |
| Linux | 6.12 | 6.12.120 |
| Linux | 6.18 | 6.18.66 |
| Linux | 7.3 | 7.3.7 |
| Linux | later releases | 7.4-rc4 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | linux | no fix listed | DEBIAN-CVE-2026-142977 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
References
- https://git.kernel.org/stable/c/016d555ff77ff6c82a4bbb31f4cde337bda46d31
- https://git.kernel.org/stable/c/4187e08612650fbb597a998bc5889b46d887425c
- https://git.kernel.org/stable/c/61807c07ab2baec1e238d53b5bcf0f67cf1adec4
- https://git.kernel.org/stable/c/61ea257fec4085dbd4795f759eedf01ac1166fff
- https://git.kernel.org/stable/c/847fa880a3e1b2fdbbf72d89e830566108457637
- https://git.kernel.org/stable/c/bed1bba433a5ba23463e204833a8b1506ffb7f55