<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T19:15:44.502629+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-142975</id>
    <title>CVE-2026-142975 — w1: use the bus mutex for the "rw" file</title>
    <updated>2026-12-04T19:15:44.503673+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>w1: use the bus mutex for the "rw" file</p>
<p>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:</p>
<p>- A deadlock.  w1_process() holds the mutex of the master while it
  searches the bus and detaches the slaves which have gone:</p>
<p>w1_process()                        read() of .../rw
      mutex_lock(&amp;dev-&gt;mutex)             kernfs active reference
      w1_search_process()                 rw_read()
        w1_slave_detach()                   mutex_lock(&amp;master-&gt;mutex)
          w1_unref_slave()                    waits
            device_unregister()
              waits for the reference</p>
<p>The file is readable for everybody.</p>
<p>- 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.</p>
<p>Take bus_mutex here as well.  It also excludes the search, which takes it
for every pass.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-142975"/>
  </entry>
</feed>
