CVE-2026-142977

Source
https://cve.org/CVERecord?id=CVE-2026-142977
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142977.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142977
Downstream
Published
2026-12-03T09:17:07Z
Modified
2026-12-03T11:00:28Z
Summary
w1: netlink: drop the slave after the bus is unlocked
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142977.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c
Fixed
bed1bba433a5ba23463e204833a8b1506ffb7f55
Fixed
61ea257fec4085dbd4795f759eedf01ac1166fff
Fixed
61807c07ab2baec1e238d53b5bcf0f67cf1adec4
Fixed
016d555ff77ff6c82a4bbb31f4cde337bda46d31
Fixed
4187e08612650fbb597a998bc5889b46d887425c
Show 1 more event Show fewer events
Fixed
847fa880a3e1b2fdbbf72d89e830566108457637

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142977.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.15.0
Fixed
5.10.276
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142977.json"