<?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:54:19 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139600 — wifi: mac80211: Fix a race when expiring a mesh path</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139600</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;wifi: mac80211: Fix a race when expiring a mesh path&lt;/p&gt;
&lt;p&gt;My static analyzer identified a potential issue in &amp;#39;net/mac80211/mesh_pathtbl.c&amp;#39;:
mpath_expired() reads mpath-&amp;gt;flags and mpath-&amp;gt;exp_time without holding
mpath-&amp;gt;state_lock, while mesh_path_fix_nexthop() and the other writers update
both fields under that lock.  In mpath_lookup() and
__mesh_path_lookup_by_idx() the unlocked check is followed by taking the lock
and clearing MESH_PATH_ACTIVE, so the check and the update are not atomic:&lt;/p&gt;
&lt;p&gt;CPU0 (mpath_lookup)                    CPU1 (mesh_path_fix_nexthop)
  mpath_expired() reads the stale
  flags/exp_time and returns true
                                        spin_lock_bh(&amp;amp;mpath-&amp;gt;state_lock)
                                        mpath-&amp;gt;exp_time = 0;
                                        mpath-&amp;gt;flags = FIXED|SN_VALID;
                                        mesh_path_activate(mpath);
                                        spin_unlock_bh(&amp;amp;mpath-&amp;gt;state_lock)
  spin_lock_bh(&amp;amp;mpath-&amp;gt;state_lock)
  mpath-&amp;gt;flags &amp;amp;= ~MESH_PATH_ACTIVE;
  spin_unlock_bh(&amp;amp;mpath-&amp;gt;state_lock)&lt;/p&gt;
&lt;p&gt;A path which mesh_path_fix_nexthop() has just set up as MESH_PATH_FIXED and
MESH_PATH_ACTIVE then has MESH_PATH_ACTIVE cleared again, and forwarding to
that destination silently stops.&lt;/p&gt;
&lt;p&gt;Take mpath-&amp;gt;state_lock before evaluating mpath_expired() so that the check and
the clearing of MESH_PATH_ACTIVE are atomic with respect to the writers.&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;wifi: mac80211: Fix a race when expiring a mesh path&lt;/p&gt;
&lt;p&gt;My static analyzer identified a potential issue in &amp;#39;net/mac80211/mesh_pathtbl.c&amp;#39;:
mpath_expired() reads mpath-&amp;gt;flags and mpath-&amp;gt;exp_time without holding
mpath-&amp;gt;state_lock, while mesh_path_fix_nexthop() and the other writers update
both fields under that lock.  In mpath_lookup() and
__mesh_path_lookup_by_idx() the unlocked check is followed by taking the lock
and clearing MESH_PATH_ACTIVE, so the check and the update are not atomic:&lt;/p&gt;
&lt;p&gt;CPU0 (mpath_lookup)                    CPU1 (mesh_path_fix_nexthop)
  mpath_expired() reads the stale
  flags/exp_time and returns true
                                        spin_lock_bh(&amp;amp;mpath-&amp;gt;state_lock)
                                        mpath-&amp;gt;exp_time = 0;
                                        mpath-&amp;gt;flags = FIXED|SN_VALID;
                                        mesh_path_activate(mpath);
                                        spin_unlock_bh(&amp;amp;mpath-&amp;gt;state_lock)
  spin_lock_bh(&amp;amp;mpath-&amp;gt;state_lock)
  mpath-&amp;gt;flags &amp;amp;= ~MESH_PATH_ACTIVE;
  spin_unlock_bh(&amp;amp;mpath-&amp;gt;state_lock)&lt;/p&gt;
&lt;p&gt;A path which mesh_path_fix_nexthop() has just set up as MESH_PATH_FIXED and
MESH_PATH_ACTIVE then has MESH_PATH_ACTIVE cleared again, and forwarding to
that destination silently stops.&lt;/p&gt;
&lt;p&gt;Take mpath-&amp;gt;state_lock before evaluating mpath_expired() so that the check and
the clearing of MESH_PATH_ACTIVE are atomic with respect to the writers.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139600</guid>
    </item>
  </channel>
</rss>
