In the Linux kernel, the following vulnerability has been resolved: w1: remove the master's files before taking its locks…
CVE-2026-142976
In the Linux kernel, the following vulnerability has been resolved: w1: remove the master's files before taking its locks w1removemasterdevice() calls w1destroymasterattributes() with both the mutex of the master and listmutex held. Removing the files waits for the callbacks which are running, and nearly all of them take one of these two locks: w1removemasterdevice() read() of .../w1masterslaves mutexlock(&dev->mutex) kernfs active reference mutexlock(&dev->listmutex) w1masterattributeshowslaves() w1destroymasterattributes() mutexlock(&md->listmutex) sysfsremovegroup() waits waits for the reference The files are readable for everybody, and a bus master goes away when, for instance, a DS2490 USB adapter is unplugged. Remove the files first, before the locks are taken. That has to be done before the slaves are detached and not afterwards: as long as the files exist, a write to w1masteradd could attach a new slave behind the back of this function, which would then wait for the reference count of the master for ever. And it is done before the thread is stopped, because a write to w1mastersearch wakes the thread up.
Assessment
- CVSS
- Not yet scored
- Severity
- Unscored
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 3 December 2026
- Last updated
- 3 December 2026
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
At the source
References
- https://git.kernel.org/stable/c/00a15f18d3e9780e6fa3747982edc66ba99db5d9
- https://git.kernel.org/stable/c/a07b44d9a463f04928aa65b1d03dd42417c62ae6
- https://git.kernel.org/stable/c/ac2505e34311d46b4ff03eed67547499ee4450ca
- https://git.kernel.org/stable/c/c388ba89918ee0d33e4d30972051bd3ab30ae9c5
- https://git.kernel.org/stable/c/da32f7a50135cf804947ab89f73edc846e60bb58
- https://git.kernel.org/stable/c/dfc57752ec53c3cc6105656d3037fb2f5e80e9cc
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-142976