<?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>Thu, 01 Oct 2026 02:55:00 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-47679 — vfs: fix race between evice_inodes() and find_inode()&amp;iput()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-47679</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;vfs: fix race between evice_inodes() and find_inode()&amp;amp;iput()&lt;/p&gt;
&lt;p&gt;Hi, all&lt;/p&gt;
&lt;p&gt;Recently I noticed a bug[1] in btrfs, after digged it into
and I believe it&amp;#39;a race in vfs.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s assume there&amp;#39;s a inode (ie ino 261) with i_count 1 is
called by iput(), and there&amp;#39;s a concurrent thread calling
generic_shutdown_super().&lt;/p&gt;
&lt;p&gt;cpu0:                              cpu1:
iput() // i_count is 1
  -&amp;gt;spin_lock(inode)
  -&amp;gt;dec i_count to 0
  -&amp;gt;iput_final()                    generic_shutdown_super()
    -&amp;gt;__inode_add_lru()               -&amp;gt;evict_inodes()
      // cause some reason[2]           -&amp;gt;if (atomic_read(inode-&amp;gt;i_count)) continue;
      // return before                  // inode 261 passed the above check
      // list_lru_add_obj()             // and then schedule out
   -&amp;gt;spin_unlock()
// note here: the inode 261
// was still at sb list and hash list,
// and I_FREEING|I_WILL_FREE was not been set&lt;/p&gt;
&lt;p&gt;btrfs_iget()
  // after some function calls
  -&amp;gt;find_inode()
    // found the above inode 261
    -&amp;gt;spin_lock(inode)
   // check I_FREEING|I_WILL_FREE
   // and passed
      -&amp;gt;__iget()
    -&amp;gt;spin_unlock(inode)                // schedule back
                                        -&amp;gt;spin_lock(inode)
                                        // check (I_NEW|I_FREEING|I_WILL_FREE) flags,
                                        // passed and set I_FREEING
iput()                                  -&amp;gt;spin_unlock(inode)
  -&amp;gt;spin_lock(inode)…&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;vfs: fix race between evice_inodes() and find_inode()&amp;amp;iput()&lt;/p&gt;
&lt;p&gt;Hi, all&lt;/p&gt;
&lt;p&gt;Recently I noticed a bug[1] in btrfs, after digged it into
and I believe it&amp;#39;a race in vfs.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s assume there&amp;#39;s a inode (ie ino 261) with i_count 1 is
called by iput(), and there&amp;#39;s a concurrent thread calling
generic_shutdown_super().&lt;/p&gt;
&lt;p&gt;cpu0:                              cpu1:
iput() // i_count is 1
  -&amp;gt;spin_lock(inode)
  -&amp;gt;dec i_count to 0
  -&amp;gt;iput_final()                    generic_shutdown_super()
    -&amp;gt;__inode_add_lru()               -&amp;gt;evict_inodes()
      // cause some reason[2]           -&amp;gt;if (atomic_read(inode-&amp;gt;i_count)) continue;
      // return before                  // inode 261 passed the above check
      // list_lru_add_obj()             // and then schedule out
   -&amp;gt;spin_unlock()
// note here: the inode 261
// was still at sb list and hash list,
// and I_FREEING|I_WILL_FREE was not been set&lt;/p&gt;
&lt;p&gt;btrfs_iget()
  // after some function calls
  -&amp;gt;find_inode()
    // found the above inode 261
    -&amp;gt;spin_lock(inode)
   // check I_FREEING|I_WILL_FREE
   // and passed
      -&amp;gt;__iget()
    -&amp;gt;spin_unlock(inode)                // schedule back
                                        -&amp;gt;spin_lock(inode)
                                        // check (I_NEW|I_FREEING|I_WILL_FREE) flags,
                                        // passed and set I_FREEING
iput()                                  -&amp;gt;spin_unlock(inode)
  -&amp;gt;spin_lock(inode)…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-47679</guid>
    </item>
  </channel>
</rss>
