CVE-2026-142977
not scored yetw1: netlink: drop the slave after the bus is unlocked
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, andin 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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c, < bed1bba433a5ba23463e204833a8b1506ffb7f55; >= d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c, < 61ea257fec4085dbd4795f759eedf01ac1166fff; >= d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c, < 61807c07ab2baec1e238d53b5bcf0f67cf1adec4; >= d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c, < 016d555ff77ff6c82a4bbb31f4cde337bda46d31; >= d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c, < 4187e08612650fbb597a998bc5889b46d887425c; >= d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c, < 847fa880a3e1b2fdbbf72d89e830566108457637 | bed1bba433a5ba23463e204833a8b1506ffb7f55, 61ea257fec4085dbd4795f759eedf01ac1166fff, 61807c07ab2baec1e238d53b5bcf0f67cf1adec4, 016d555ff77ff6c82a4bbb31f4cde337bda46d31, 4187e08612650fbb597a998bc5889b46d887425c, 847fa880a3e1b2fdbbf72d89e830566108457637 |
| CVE List | Linux | Linux | = 3.15 |
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
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)