CVE Feed
— Unscored

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

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
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-142976