<?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>Sat, 24 Oct 2026 13:24:18 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98980 — namei: don't reveal overmounted entries in refwalk</title>
      <link>https://db.gcve.eu/vuln/cve-2026-98980</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;namei: don&amp;#39;t reveal overmounted entries in refwalk&lt;/p&gt;
&lt;p&gt;In rcuwalk the dentry is validated before it is accepted. step_into()
step_into() rechecks d_seq and __follow_mount_rcu() rechecks mount_lock.
An entry that gets unlinked in between causes the lookup to retry and
miss.&lt;/p&gt;
&lt;p&gt;A refwalk doesn&amp;#39;t do this. lookup_fast() takes a reference on the hashed
dentry and simply accepts it. So an unlink that happens after the
reference was taken isn&amp;#39;t seen by refwalk. That&amp;#39;s fine for a simple
file. We just happened to open it before it was unlinked, no problem.&lt;/p&gt;
&lt;p&gt;For a mountpoint and specifically a locked mountpoint it very much
isn&amp;#39;t. The unlink detaches all mounts and then removes the name. Any
refwalk that hasn&amp;#39;t traversed the mounts yet simply reveals the
underlying entry. It&amp;#39;s a very narrow window but it can be hit:&lt;/p&gt;
&lt;p&gt;reads of a covered file in 60 s, 3 walkers, ~15000 unlinks
    no widening            27
    that step + 200 us   3741&lt;/p&gt;
&lt;p&gt;See the appended patch for a more reliable reproducer.&lt;/p&gt;
&lt;p&gt;So check the entry after step_into(). unlink(), rmdir() and rename()
mark the dentry with dont_mount() before they detach the mounts and
remove the dentry.&lt;/p&gt;
&lt;p&gt;So a dentry that is marked with DCACHE_CANT_MOUNT and is unhashed by the
time its mounts were looked at is a name that was unlinked under the
refwalk. DCACHE_CANT_MOUNT is read after the mounts were looked up and
it is set before they are detached by detach_mounts(). A refwalk tha…&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;namei: don&amp;#39;t reveal overmounted entries in refwalk&lt;/p&gt;
&lt;p&gt;In rcuwalk the dentry is validated before it is accepted. step_into()
step_into() rechecks d_seq and __follow_mount_rcu() rechecks mount_lock.
An entry that gets unlinked in between causes the lookup to retry and
miss.&lt;/p&gt;
&lt;p&gt;A refwalk doesn&amp;#39;t do this. lookup_fast() takes a reference on the hashed
dentry and simply accepts it. So an unlink that happens after the
reference was taken isn&amp;#39;t seen by refwalk. That&amp;#39;s fine for a simple
file. We just happened to open it before it was unlinked, no problem.&lt;/p&gt;
&lt;p&gt;For a mountpoint and specifically a locked mountpoint it very much
isn&amp;#39;t. The unlink detaches all mounts and then removes the name. Any
refwalk that hasn&amp;#39;t traversed the mounts yet simply reveals the
underlying entry. It&amp;#39;s a very narrow window but it can be hit:&lt;/p&gt;
&lt;p&gt;reads of a covered file in 60 s, 3 walkers, ~15000 unlinks
    no widening            27
    that step + 200 us   3741&lt;/p&gt;
&lt;p&gt;See the appended patch for a more reliable reproducer.&lt;/p&gt;
&lt;p&gt;So check the entry after step_into(). unlink(), rmdir() and rename()
mark the dentry with dont_mount() before they detach the mounts and
remove the dentry.&lt;/p&gt;
&lt;p&gt;So a dentry that is marked with DCACHE_CANT_MOUNT and is unhashed by the
time its mounts were looked at is a name that was unlinked under the
refwalk. DCACHE_CANT_MOUNT is read after the mounts were looked up and
it is set before they are detached by detach_mounts(). A refwalk tha…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-98980</guid>
    </item>
  </channel>
</rss>
