<?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 14:15:03 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-23233 — f2fs: fix to avoid mapping wrong physical block for swapfile</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-23233</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 to avoid mapping wrong physical block for swapfile&lt;/p&gt;
&lt;p&gt;Xiaolong Guo reported a f2fs bug in bugzilla [1]&lt;/p&gt;
&lt;p&gt;[1] https://bugzilla.kernel.org/show_bug.cgi?id=220951&lt;/p&gt;
&lt;p&gt;Quoted:&lt;/p&gt;
&lt;p&gt;&amp;#34;When using stress-ng&amp;#39;s swap stress test on F2FS filesystem with kernel 6.6+,
the system experiences data corruption leading to either:
1 dm-verity corruption errors and device reboot
2 F2FS node corruption errors and boot hangs&lt;/p&gt;
&lt;p&gt;The issue occurs specifically when:
1 Using F2FS filesystem (ext4 is unaffected)
2 Swapfile size is less than F2FS section size (2MB)
3 Swapfile has fragmented physical layout (multiple non-contiguous extents)
4 Kernel version is 6.6+ (6.1 is unaffected)&lt;/p&gt;
&lt;p&gt;The root cause is in check_swap_activate() function in fs/f2fs/data.c. When the
first extent of a small swapfile (&amp;lt; 2MB) is not aligned to section boundaries,
the function incorrectly treats it as the last extent, failing to map
subsequent extents. This results in incorrect swap_extent creation where only
the first extent is mapped, causing subsequent swap writes to overwrite wrong
physical locations (other files&amp;#39; data).&lt;/p&gt;
&lt;p&gt;Steps to Reproduce
1 Setup a device with F2FS-formatted userdata partition
2 Compile stress-ng from https://github.com/ColinIanKing/stress-ng
3 Run swap stress test: (Android devices)
adb shell &amp;#34;cd /data/stressng; ./stress-ng-64 --metrics-brief --timeout 60
--swap 0&amp;#34;&lt;/p&gt;
&lt;p&gt;Log:
1 Ftrace shows in kernel 6.6, only first extent is mapped during se…&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 to avoid mapping wrong physical block for swapfile&lt;/p&gt;
&lt;p&gt;Xiaolong Guo reported a f2fs bug in bugzilla [1]&lt;/p&gt;
&lt;p&gt;[1] https://bugzilla.kernel.org/show_bug.cgi?id=220951&lt;/p&gt;
&lt;p&gt;Quoted:&lt;/p&gt;
&lt;p&gt;&amp;#34;When using stress-ng&amp;#39;s swap stress test on F2FS filesystem with kernel 6.6+,
the system experiences data corruption leading to either:
1 dm-verity corruption errors and device reboot
2 F2FS node corruption errors and boot hangs&lt;/p&gt;
&lt;p&gt;The issue occurs specifically when:
1 Using F2FS filesystem (ext4 is unaffected)
2 Swapfile size is less than F2FS section size (2MB)
3 Swapfile has fragmented physical layout (multiple non-contiguous extents)
4 Kernel version is 6.6+ (6.1 is unaffected)&lt;/p&gt;
&lt;p&gt;The root cause is in check_swap_activate() function in fs/f2fs/data.c. When the
first extent of a small swapfile (&amp;lt; 2MB) is not aligned to section boundaries,
the function incorrectly treats it as the last extent, failing to map
subsequent extents. This results in incorrect swap_extent creation where only
the first extent is mapped, causing subsequent swap writes to overwrite wrong
physical locations (other files&amp;#39; data).&lt;/p&gt;
&lt;p&gt;Steps to Reproduce
1 Setup a device with F2FS-formatted userdata partition
2 Compile stress-ng from https://github.com/ColinIanKing/stress-ng
3 Run swap stress test: (Android devices)
adb shell &amp;#34;cd /data/stressng; ./stress-ng-64 --metrics-brief --timeout 60
--swap 0&amp;#34;&lt;/p&gt;
&lt;p&gt;Log:
1 Ftrace shows in kernel 6.6, only first extent is mapped during se…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-23233</guid>
    </item>
  </channel>
</rss>
