<?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-05T12:29:46.766226+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-142890</id>
    <title>CVE-2026-142890 — namei: don't assert S_ISDIR on a stale rcu-walk inode</title>
    <updated>2026-12-05T12:29:46.768102+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>namei: don't assert S_ISDIR on a stale rcu-walk inode</p>
<p>lookup_inode_permission_may_exec() asserts that it is only ever handed a
directory, on the grounds that link_path_walk() has already checked
d_can_lookup().  In rcu-walk that does not follow.  step_into() samples
-&gt;d_inode and validates it against -&gt;d_seq, but link_path_walk() loads
-&gt;d_flags again afterwards, and nothing orders that load against changes
of the dentry:</p>
<p>CPU0 (rcu-walk of "x/y")              CPU1
  step_into(x)
    inode = x-&gt;d_inode   // regular file
    read_seqcount_retry(&amp;x-&gt;d_seq) == 0
    nd-&gt;inode = inode
                                        unlink("x")
                                          d_delete()  // x goes negative
                                        mkdir("x")
                                          d_instantiate()  // same dentry
  d_can_lookup(x)        // true now
  may_lookup()
    VFS_BUG_ON_INODE(!S_ISDIR(nd-&gt;inode-&gt;i_mode))</p>
<p>With CONFIG_PREEMPT_RCU the walker can be preempted in that window, so it
is not limited to a few instructions.  mkdir() only gets the same dentry
back if the filesystem keeps negative dentries around.  tmpfs doesn't,
ext4 does.</p>
<p>Apart from the assertion the stale inode is harmless, and has been there
since before the assertion was added: nd-&gt;seq no longer matches x-&gt;d_seq,
so lookup_fast(), follow_dotdot_rcu() and try_to_unlazy() all fail with
-ECHILD and the walk is redone in ref…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-142890"/>
  </entry>
</feed>
