<?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>Thu, 01 Oct 2026 19:53:19 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-68148 — fscrypt: Add missing superblock check in find_or_insert_direct_key()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-68148</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;fscrypt: Add missing superblock check in find_or_insert_direct_key()&lt;/p&gt;
&lt;p&gt;The legacy &amp;#39;fscrypt_direct_keys&amp;#39; table caches master keys that are used
by v1 encryption policies that have FSCRYPT_POLICY_FLAG_DIRECT_KEY.
It&amp;#39;s just a global table for all filesystems (since the keys can be
provided by the legacy process-subscribed keyrings mechanism, which
makes it difficult to reuse super_block::s_master_keys).&lt;/p&gt;
&lt;p&gt;The entries in it (&amp;#39;struct fscrypt_direct_key&amp;#39;) do contain a super_block
pointer, though, for passing to fscrypt_destroy_inline_crypt_key() when
the last inode that references the key is evicted.&lt;/p&gt;
&lt;p&gt;However, when finding the fscrypt_direct_key for an inode, we weren&amp;#39;t
actually comparing the super_block pointer.  As a result, inodes with
different super_blocks could point to the same fscrypt_direct_key.  That
could extend the lifetime of a fscrypt_direct_key beyond the
super_block it points to, causing a use-after-free later.&lt;/p&gt;
&lt;p&gt;Fix this by creating distinct fscrypt_direct_key structs for distinct
super_block structs.&lt;/p&gt;
&lt;p&gt;Note that this problem doesn&amp;#39;t exist in the v2 policy equivalent
(&amp;#34;per-mode keys&amp;#34;), since the data structures there are per super_block.&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;fscrypt: Add missing superblock check in find_or_insert_direct_key()&lt;/p&gt;
&lt;p&gt;The legacy &amp;#39;fscrypt_direct_keys&amp;#39; table caches master keys that are used
by v1 encryption policies that have FSCRYPT_POLICY_FLAG_DIRECT_KEY.
It&amp;#39;s just a global table for all filesystems (since the keys can be
provided by the legacy process-subscribed keyrings mechanism, which
makes it difficult to reuse super_block::s_master_keys).&lt;/p&gt;
&lt;p&gt;The entries in it (&amp;#39;struct fscrypt_direct_key&amp;#39;) do contain a super_block
pointer, though, for passing to fscrypt_destroy_inline_crypt_key() when
the last inode that references the key is evicted.&lt;/p&gt;
&lt;p&gt;However, when finding the fscrypt_direct_key for an inode, we weren&amp;#39;t
actually comparing the super_block pointer.  As a result, inodes with
different super_blocks could point to the same fscrypt_direct_key.  That
could extend the lifetime of a fscrypt_direct_key beyond the
super_block it points to, causing a use-after-free later.&lt;/p&gt;
&lt;p&gt;Fix this by creating distinct fscrypt_direct_key structs for distinct
super_block structs.&lt;/p&gt;
&lt;p&gt;Note that this problem doesn&amp;#39;t exist in the v2 policy equivalent
(&amp;#34;per-mode keys&amp;#34;), since the data structures there are per super_block.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-68148</guid>
    </item>
  </channel>
</rss>
