<?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>Sun, 04 Oct 2026 04:51:36 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-63811 — f2fs: read COW data with the original inode during atomic write</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-63811</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: read COW data with the original inode during atomic write&lt;/p&gt;
&lt;p&gt;When updating an atomic-write file, f2fs_write_begin() may read the
previously written data back from the COW inode:
prepare_atomic_write_begin() locates the block in the COW inode and sets
use_cow, and the read bio is then built with the COW inode:&lt;/p&gt;
&lt;p&gt;f2fs_submit_page_read(use_cow ? F2FS_I(inode)-&amp;gt;cow_inode : inode,
			      ...);&lt;/p&gt;
&lt;p&gt;and f2fs_grab_read_bio() decides whether to schedule fs-layer decryption
(STEP_DECRYPT) for the bio based on that inode via
fscrypt_inode_uses_fs_layer_crypto().&lt;/p&gt;
&lt;p&gt;However, the folio being filled belongs to the original inode
(folio-&amp;gt;mapping-&amp;gt;host == inode), and the data stored in the COW block was
encrypted (or left as plaintext) using the original inode&amp;#39;s context, not
the COW inode&amp;#39;s -- see f2fs_encrypt_one_page(), which keys off
fio-&amp;gt;page-&amp;gt;mapping-&amp;gt;host.  fscrypt_decrypt_pagecache_blocks() likewise
operates on folio-&amp;gt;mapping-&amp;gt;host.&lt;/p&gt;
&lt;p&gt;The COW inode is created as a tmpfile in the parent directory and inherits
its encryption policy from there.  With test_dummy_encryption the newly
created COW inode gets the dummy policy and becomes encrypted, while a
pre-existing regular file -- created before the policy applied, e.g.
already present in the on-disk image -- stays unencrypted.  The read
path then sets STEP_DECRYPT based on the encrypted COW inode and calls
fscrypt_decrypt_pagecache_blocks() on a folio whose host (the u…&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: read COW data with the original inode during atomic write&lt;/p&gt;
&lt;p&gt;When updating an atomic-write file, f2fs_write_begin() may read the
previously written data back from the COW inode:
prepare_atomic_write_begin() locates the block in the COW inode and sets
use_cow, and the read bio is then built with the COW inode:&lt;/p&gt;
&lt;p&gt;f2fs_submit_page_read(use_cow ? F2FS_I(inode)-&amp;gt;cow_inode : inode,
			      ...);&lt;/p&gt;
&lt;p&gt;and f2fs_grab_read_bio() decides whether to schedule fs-layer decryption
(STEP_DECRYPT) for the bio based on that inode via
fscrypt_inode_uses_fs_layer_crypto().&lt;/p&gt;
&lt;p&gt;However, the folio being filled belongs to the original inode
(folio-&amp;gt;mapping-&amp;gt;host == inode), and the data stored in the COW block was
encrypted (or left as plaintext) using the original inode&amp;#39;s context, not
the COW inode&amp;#39;s -- see f2fs_encrypt_one_page(), which keys off
fio-&amp;gt;page-&amp;gt;mapping-&amp;gt;host.  fscrypt_decrypt_pagecache_blocks() likewise
operates on folio-&amp;gt;mapping-&amp;gt;host.&lt;/p&gt;
&lt;p&gt;The COW inode is created as a tmpfile in the parent directory and inherits
its encryption policy from there.  With test_dummy_encryption the newly
created COW inode gets the dummy policy and becomes encrypted, while a
pre-existing regular file -- created before the policy applied, e.g.
already present in the on-disk image -- stays unencrypted.  The read
path then sets STEP_DECRYPT based on the encrypted COW inode and calls
fscrypt_decrypt_pagecache_blocks() on a folio whose host (the u…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-63811</guid>
    </item>
  </channel>
</rss>
