<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 19:16:44 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142975 — w1: use the bus mutex for the "rw" file</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142975</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;w1: use the bus mutex for the &amp;#34;rw&amp;#34; file&lt;/p&gt;
&lt;p&gt;Commit b02f8bede217 (&amp;#34;W1: split master mutex to avoid deadlocks.&amp;#34;) 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 &amp;#34;rw&amp;#34; 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:&lt;/p&gt;
&lt;p&gt;- A deadlock.  w1_process() holds the mutex of the master while it
  searches the bus and detaches the slaves which have gone:&lt;/p&gt;
&lt;p&gt;w1_process()                        read() of .../rw
      mutex_lock(&amp;amp;dev-&amp;gt;mutex)             kernfs active reference
      w1_search_process()                 rw_read()
        w1_slave_detach()                   mutex_lock(&amp;amp;master-&amp;gt;mutex)
          w1_unref_slave()                    waits
            device_unregister()
              waits for the reference&lt;/p&gt;
&lt;p&gt;The file is readable for everybody.&lt;/p&gt;
&lt;p&gt;- 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.&lt;/p&gt;
&lt;p&gt;Take bus_mutex here as well.  It also excludes the search, which takes it
for every pass.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;w1: use the bus mutex for the &amp;#34;rw&amp;#34; file&lt;/p&gt;
&lt;p&gt;Commit b02f8bede217 (&amp;#34;W1: split master mutex to avoid deadlocks.&amp;#34;) 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 &amp;#34;rw&amp;#34; 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:&lt;/p&gt;
&lt;p&gt;- A deadlock.  w1_process() holds the mutex of the master while it
  searches the bus and detaches the slaves which have gone:&lt;/p&gt;
&lt;p&gt;w1_process()                        read() of .../rw
      mutex_lock(&amp;amp;dev-&amp;gt;mutex)             kernfs active reference
      w1_search_process()                 rw_read()
        w1_slave_detach()                   mutex_lock(&amp;amp;master-&amp;gt;mutex)
          w1_unref_slave()                    waits
            device_unregister()
              waits for the reference&lt;/p&gt;
&lt;p&gt;The file is readable for everybody.&lt;/p&gt;
&lt;p&gt;- 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.&lt;/p&gt;
&lt;p&gt;Take bus_mutex here as well.  It also excludes the search, which takes it
for every pass.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142975</guid>
    </item>
  </channel>
</rss>
