CVE-2026-142975

Not scored yetLast modified Dec 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

w1: use the bus mutex for the "rw" file

Commit b02f8bede217 ("W1: split master mutex to avoid deadlocks.") gave the bus a mutex of its own, because the lock which protects the list of slaves is held while a slave is removed, which waits for the sysfs callbacks of the slave, so these must not take it. It converted all the slave drivers, but not the "rw" file of the default family in w1.c, which still takes the mutex of the master to talk on the bus. That has two consequences:

- A deadlock. w1_process() holds the mutex of the master while it searches the bus and detaches the slaves which have gone:

w1_process() read() of .../rw mutex_lock(&dev->mutex) kernfs active reference w1_search_process() rw_read() w1_slave_detach() mutex_lock(&master->mutex) w1_unref_slave() waits device_unregister() waits for the reference

The file is readable for everybody.

- The accesses through this file are not serialised with those of the slave drivers, which take bus_mutex, so that two transactions can get mixed up on the wire.

Take bus_mutex here as well. It also excludes the search, which takes it for every pass.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= b02f8bede217a4b145ecc16d3940c78d83941147, < d0548cc2d0c28739623a73f2de542914153ad32f; >= b02f8bede217a4b145ecc16d3940c78d83941147, < 6f9fc6db4e225e4b6d5c5c3959e6417984259047; >= b02f8bede217a4b145ecc16d3940c78d83941147, < e91eecae227be8febe053cb71437e7850ddcced2; >= b02f8bede217a4b145ecc16d3940c78d83941147, < 7109d4e308d6d7415b7e58866fdd294edd7f4385; >= b02f8bede217a4b145ecc16d3940c78d83941147, < 715c04b8f07dda99e68f382e61ff31a4ae2edfb3; >= b02f8bede217a4b145ecc16d3940c78d83941147, < 8599e08648c0b4913ea7b202511f1294d176e793
LinuxLinux3.6

References

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-142976In the Linux kernel, the following vulnerability has been resolved: w1: remove the master's files before taking its locks __w1_remove_mastCVE-2026-142977In the Linux kernel, the following vulnerability has been resolved: w1: netlink: drop the slave after the bus is unlocked w1_process_cb() CVE-2026-142978In the Linux kernel, the following vulnerability has been resolved: w1: ds28e04: use the bus mutex to talk on the bus Since commit b02f8beCVE-2026-142979In the Linux kernel, the following vulnerability has been resolved: w1: ds2805: use the bus mutex to talk on the bus Since commit b02f8bedCVE-2026-142986.5Mattermost versions 11.9.x <= 11.9.0, 11.8.x <= 11.8.4, 11.7.x <= 11.7.7, 10.11.x <= 10.11.22 fail to limit decompressed content size and enCVE-2026-142980In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: gadget: Track a timed out End Transfer If an End Transfer cCVE-2026-142981In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: gadget: Reset endpoint flags on controller start The flags CVE-2026-142982In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: gadget: Reject requests to a disabled endpoint __dwc3_gadgeCVE-2026-142983In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: gadget: Recover from End Transfer timeout If the End TransfCVE-2026-142984In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_serial: pin ports while TTYs are installed A slab-use-aCVE-2026-142985In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_serial: fix NULL deref in gs_close() after failed open CVE-2026-142986In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_midi: fix UAF race during IN request handling f_midi_di
CVE-2026-142975: Unscored | Vulnix