<?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>Mon, 28 Sep 2026 21:08:45 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53311 — nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53311</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;nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput&lt;/p&gt;
&lt;p&gt;During unmount process of nilfs2, nothing holds nilfs_root structure after
nilfs2 detaches its writer in nilfs_detach_log_writer().  Previously,
nilfs_evict_inode() could cause use-after-free read for nilfs_root if
inodes are left in &amp;#34;garbage_list&amp;#34; and released by nilfs_dispose_list at
the end of nilfs_detach_log_writer(), and this bug was fixed by commit
9b5a04ac3ad9 (&amp;#34;nilfs2: fix use-after-free bug of nilfs_root in
nilfs_evict_inode()&amp;#34;).&lt;/p&gt;
&lt;p&gt;However, it turned out that there is another possibility of UAF in the
call path where mark_inode_dirty_sync() is called from iput():&lt;/p&gt;
&lt;p&gt;nilfs_detach_log_writer()
  nilfs_dispose_list()
    iput()
      mark_inode_dirty_sync()
        __mark_inode_dirty()
          nilfs_dirty_inode()
            __nilfs_mark_inode_dirty()
              nilfs_load_inode_block() --&amp;gt; causes UAF of nilfs_root struct&lt;/p&gt;
&lt;p&gt;This can happen after commit 0ae45f63d4ef (&amp;#34;vfs: add support for a
lazytime mount option&amp;#34;), which changed iput() to call
mark_inode_dirty_sync() on its final reference if i_state has I_DIRTY_TIME
flag and i_nlink is non-zero.&lt;/p&gt;
&lt;p&gt;This issue appears after commit 28a65b49eb53 (&amp;#34;nilfs2: do not write dirty
data after degenerating to read-only&amp;#34;) when using the syzbot reproducer,
but the issue has potentially existed before.&lt;/p&gt;
&lt;p&gt;Fix this issue by adding a &amp;#34;purging flag&amp;#34; to the nilfs structure, setting
that flag while dispo…&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;nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput&lt;/p&gt;
&lt;p&gt;During unmount process of nilfs2, nothing holds nilfs_root structure after
nilfs2 detaches its writer in nilfs_detach_log_writer().  Previously,
nilfs_evict_inode() could cause use-after-free read for nilfs_root if
inodes are left in &amp;#34;garbage_list&amp;#34; and released by nilfs_dispose_list at
the end of nilfs_detach_log_writer(), and this bug was fixed by commit
9b5a04ac3ad9 (&amp;#34;nilfs2: fix use-after-free bug of nilfs_root in
nilfs_evict_inode()&amp;#34;).&lt;/p&gt;
&lt;p&gt;However, it turned out that there is another possibility of UAF in the
call path where mark_inode_dirty_sync() is called from iput():&lt;/p&gt;
&lt;p&gt;nilfs_detach_log_writer()
  nilfs_dispose_list()
    iput()
      mark_inode_dirty_sync()
        __mark_inode_dirty()
          nilfs_dirty_inode()
            __nilfs_mark_inode_dirty()
              nilfs_load_inode_block() --&amp;gt; causes UAF of nilfs_root struct&lt;/p&gt;
&lt;p&gt;This can happen after commit 0ae45f63d4ef (&amp;#34;vfs: add support for a
lazytime mount option&amp;#34;), which changed iput() to call
mark_inode_dirty_sync() on its final reference if i_state has I_DIRTY_TIME
flag and i_nlink is non-zero.&lt;/p&gt;
&lt;p&gt;This issue appears after commit 28a65b49eb53 (&amp;#34;nilfs2: do not write dirty
data after degenerating to read-only&amp;#34;) when using the syzbot reproducer,
but the issue has potentially existed before.&lt;/p&gt;
&lt;p&gt;Fix this issue by adding a &amp;#34;purging flag&amp;#34; to the nilfs structure, setting
that flag while dispo…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53311</guid>
    </item>
  </channel>
</rss>
