<?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, 06 Oct 2026 20:44:42 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-80806 — ext4: don't enable DAX on new encrypted files</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-80806</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;ext4: don&amp;#39;t enable DAX on new encrypted files&lt;/p&gt;
&lt;p&gt;Currently, when a new encrypted regular file is created, the call to
ext4_set_inode_flags(inode, init=true) in __ext4_new_inode() is made
before EXT4_INODE_ENCRYPT is set.  As a result, it can set S_DAX if the
filesystem is mounted with &amp;#34;-o dax=always&amp;#34;.&lt;/p&gt;
&lt;p&gt;EXT4_INODE_ENCRYPT then actually gets set a bit later in
__ext4_new_inode(), when it calls fscrypt_set_context() which calls
ext4_set_context().  ext4_set_context() sets EXT4_INODE_ENCRYPT and
calls ext4_set_inode_flags(inode, init=false) to set S_ENCRYPTED too.&lt;/p&gt;
&lt;p&gt;This was intended to clear S_DAX as well.  However, this was broken by
commit 043546e46dc7 (&amp;#34;fs/ext4: Only change S_DAX on inode load&amp;#34;).  This
causes data written to the file to bypass encryption, also causing
xfstests failures such as generic/548 (when &amp;#34;-o dax=always&amp;#34; is used).&lt;/p&gt;
&lt;p&gt;Fix this by simplifying the flow by making __ext4_new_inode() set
EXT4_INODE_ENCRYPT earlier.  This makes it take effect in
ext4_set_inode_flags(inode, init=true), making S_DAX never be set.&lt;/p&gt;
&lt;p&gt;Similarly, make EXT4_STATE_MAY_INLINE_DATA never be set in the first
place on new encrypted inodes.  Then it doesn&amp;#39;t need to be cleared.&lt;/p&gt;
&lt;p&gt;As a result of these simplifications, ext4_set_context() no longer needs
to change inode flags or state when &amp;#39;handle != NULL&amp;#39;.  Remove that too.&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;ext4: don&amp;#39;t enable DAX on new encrypted files&lt;/p&gt;
&lt;p&gt;Currently, when a new encrypted regular file is created, the call to
ext4_set_inode_flags(inode, init=true) in __ext4_new_inode() is made
before EXT4_INODE_ENCRYPT is set.  As a result, it can set S_DAX if the
filesystem is mounted with &amp;#34;-o dax=always&amp;#34;.&lt;/p&gt;
&lt;p&gt;EXT4_INODE_ENCRYPT then actually gets set a bit later in
__ext4_new_inode(), when it calls fscrypt_set_context() which calls
ext4_set_context().  ext4_set_context() sets EXT4_INODE_ENCRYPT and
calls ext4_set_inode_flags(inode, init=false) to set S_ENCRYPTED too.&lt;/p&gt;
&lt;p&gt;This was intended to clear S_DAX as well.  However, this was broken by
commit 043546e46dc7 (&amp;#34;fs/ext4: Only change S_DAX on inode load&amp;#34;).  This
causes data written to the file to bypass encryption, also causing
xfstests failures such as generic/548 (when &amp;#34;-o dax=always&amp;#34; is used).&lt;/p&gt;
&lt;p&gt;Fix this by simplifying the flow by making __ext4_new_inode() set
EXT4_INODE_ENCRYPT earlier.  This makes it take effect in
ext4_set_inode_flags(inode, init=true), making S_DAX never be set.&lt;/p&gt;
&lt;p&gt;Similarly, make EXT4_STATE_MAY_INLINE_DATA never be set in the first
place on new encrypted inodes.  Then it doesn&amp;#39;t need to be cleared.&lt;/p&gt;
&lt;p&gt;As a result of these simplifications, ext4_set_context() no longer needs
to change inode flags or state when &amp;#39;handle != NULL&amp;#39;.  Remove that too.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-80806</guid>
    </item>
  </channel>
</rss>
