<?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 17:17:40 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-31715 — f2fs: fix UAF caused by decrementing sbi-&gt;nr_pages[] in f2fs_write_end_io()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-31715</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;f2fs: fix UAF caused by decrementing sbi-&amp;gt;nr_pages[] in f2fs_write_end_io()&lt;/p&gt;
&lt;p&gt;The xfstests case &amp;#34;generic/107&amp;#34; and syzbot have both reported a NULL
pointer dereference.&lt;/p&gt;
&lt;p&gt;The concurrent scenario that triggers the panic is as follows:&lt;/p&gt;
&lt;p&gt;F2FS_WB_CP_DATA write callback          umount
                                        - f2fs_write_checkpoint
                                         - f2fs_wait_on_all_pages(sbi, F2FS_WB_CP_DATA)
- blk_mq_end_request
 - bio_endio
  - f2fs_write_end_io
   : dec_page_count(sbi, F2FS_WB_CP_DATA)
   : wake_up(&amp;amp;sbi-&amp;gt;cp_wait)
                                        - kill_f2fs_super
                                         - kill_block_super
                                          - f2fs_put_super
                                           : iput(sbi-&amp;gt;node_inode)
                                           : sbi-&amp;gt;node_inode = NULL
   : f2fs_in_warm_node_list
    - is_node_folio // sbi-&amp;gt;node_inode is NULL and panic&lt;/p&gt;
&lt;p&gt;The root cause is that f2fs_put_super() calls iput(sbi-&amp;gt;node_inode) and
sets sbi-&amp;gt;node_inode to NULL after sbi-&amp;gt;nr_pages[F2FS_WB_CP_DATA] is
decremented to zero. As a result, f2fs_in_warm_node_list() may
dereference a NULL node_inode when checking whether a folio belongs to
the node inode, leading to a panic.&lt;/p&gt;
&lt;p&gt;This patch fixes the issue by calling f2fs_in_warm_node_list() before
decrementing sbi-&amp;gt;nr_pages[F2FS_WB_CP_DATA], thus preventing the
use-after-free condition.&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;f2fs: fix UAF caused by decrementing sbi-&amp;gt;nr_pages[] in f2fs_write_end_io()&lt;/p&gt;
&lt;p&gt;The xfstests case &amp;#34;generic/107&amp;#34; and syzbot have both reported a NULL
pointer dereference.&lt;/p&gt;
&lt;p&gt;The concurrent scenario that triggers the panic is as follows:&lt;/p&gt;
&lt;p&gt;F2FS_WB_CP_DATA write callback          umount
                                        - f2fs_write_checkpoint
                                         - f2fs_wait_on_all_pages(sbi, F2FS_WB_CP_DATA)
- blk_mq_end_request
 - bio_endio
  - f2fs_write_end_io
   : dec_page_count(sbi, F2FS_WB_CP_DATA)
   : wake_up(&amp;amp;sbi-&amp;gt;cp_wait)
                                        - kill_f2fs_super
                                         - kill_block_super
                                          - f2fs_put_super
                                           : iput(sbi-&amp;gt;node_inode)
                                           : sbi-&amp;gt;node_inode = NULL
   : f2fs_in_warm_node_list
    - is_node_folio // sbi-&amp;gt;node_inode is NULL and panic&lt;/p&gt;
&lt;p&gt;The root cause is that f2fs_put_super() calls iput(sbi-&amp;gt;node_inode) and
sets sbi-&amp;gt;node_inode to NULL after sbi-&amp;gt;nr_pages[F2FS_WB_CP_DATA] is
decremented to zero. As a result, f2fs_in_warm_node_list() may
dereference a NULL node_inode when checking whether a folio belongs to
the node inode, leading to a panic.&lt;/p&gt;
&lt;p&gt;This patch fixes the issue by calling f2fs_in_warm_node_list() before
decrementing sbi-&amp;gt;nr_pages[F2FS_WB_CP_DATA], thus preventing the
use-after-free condition.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-31715</guid>
    </item>
  </channel>
</rss>
