<?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://vulnerability.circl.lu</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>Tue, 29 Sep 2026 07:27:13 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-74359 — configfs_lookup(): don't leave -&gt;s_dentry dangling on failure</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-74359</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;configfs_lookup(): don&amp;#39;t leave -&amp;gt;s_dentry dangling on failure&lt;/p&gt;
&lt;p&gt;Normally -&amp;gt;s_dentry is cleared when dentry it&amp;#39;s pointing to becomes
negative (on eviction, realistically).  However, that only happens
if dentry gets to be positive in the first place; in case of inode
allocation failure dentry never becomes positive, so -&amp;gt;d_iput()
is not called at all.&lt;/p&gt;
&lt;p&gt;We do part of what normally would&amp;#39;ve been done by configfs_d_iput()
(dropping the reference to configfs_dirent) manually, but we do
not clear -&amp;gt;s_dentry there.  Sloppy as it is, it does not matter in
case of configfs_create_{dir,link}() - there configfs_dirent does
not survive dropping the sole reference to it.&lt;/p&gt;
&lt;p&gt;However, for configfs_lookup() it *does* survive, with a dangling
pointer to soon to be freed dentry sitting it its -&amp;gt;s_dentry.&lt;/p&gt;
&lt;p&gt;Subsequent getdents(2) in that directory will end up dereferencing
that pointer in order to pick the inode number.  Use after free...&lt;/p&gt;
&lt;p&gt;This is the minimal fix; the right approach is to set the linkage
between dentry and configfs_dirent only after we know that we have
an inode, but that takes more surgery and the bug had been there
since 2006, so...&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;configfs_lookup(): don&amp;#39;t leave -&amp;gt;s_dentry dangling on failure&lt;/p&gt;
&lt;p&gt;Normally -&amp;gt;s_dentry is cleared when dentry it&amp;#39;s pointing to becomes
negative (on eviction, realistically).  However, that only happens
if dentry gets to be positive in the first place; in case of inode
allocation failure dentry never becomes positive, so -&amp;gt;d_iput()
is not called at all.&lt;/p&gt;
&lt;p&gt;We do part of what normally would&amp;#39;ve been done by configfs_d_iput()
(dropping the reference to configfs_dirent) manually, but we do
not clear -&amp;gt;s_dentry there.  Sloppy as it is, it does not matter in
case of configfs_create_{dir,link}() - there configfs_dirent does
not survive dropping the sole reference to it.&lt;/p&gt;
&lt;p&gt;However, for configfs_lookup() it *does* survive, with a dangling
pointer to soon to be freed dentry sitting it its -&amp;gt;s_dentry.&lt;/p&gt;
&lt;p&gt;Subsequent getdents(2) in that directory will end up dereferencing
that pointer in order to pick the inode number.  Use after free...&lt;/p&gt;
&lt;p&gt;This is the minimal fix; the right approach is to set the linkage
between dentry and configfs_dirent only after we know that we have
an inode, but that takes more surgery and the bug had been there
since 2006, so...&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-74359</guid>
    </item>
  </channel>
</rss>
