{"id":5354,"date":"2026-09-04T18:47:46","date_gmt":"2026-09-04T10:47:46","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68148"},"modified":"2026-09-04T18:47:46","modified_gmt":"2026-09-04T10:47:46","slug":"cve-2026-68148","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68148","title":{"rendered":"CVE-2026-68148 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nfscrypt: Add missing"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>fscrypt: Add missing superblock check in find_or_insert_direct_key()<\/p>\n<p>The legacy &#8216;fscrypt_direct_keys&#8217; table caches master keys that are used<br \/>\nby v1 encryption policies that have FSCRYPT_POLICY_FLAG_DIRECT_KEY.<br \/>\nIt&#8217;s just a global table for all filesystems (since the keys can be<br \/>\nprovided by the legacy process-subscribed keyrings mechanism, which<br \/>\nmakes it difficult to reuse super_block::s_master_keys).<\/p>\n<p>The entries in it (&#8216;struct fscrypt_direct_key&#8217;) do contain a super_block<br \/>\npointer, though, for passing to fscrypt_destroy_inline_crypt_key() when<br \/>\nthe last inode that references the key is evicted.<\/p>\n<p>However, when finding the fscrypt_direct_key for an inode, we weren&#8217;t<br \/>\nactually comparing the super_block pointer.  As a result, inodes with<br \/>\ndifferent super_blocks could point to the same fscrypt_direct_key.  That<br \/>\ncould extend the lifetime of a fscrypt_direct_key beyond the<br \/>\nsuper_block it points to, causing a use-after-free later.<\/p>\n<p>Fix this by creating distinct fscrypt_direct_key structs for distinct<br \/>\nsuper_block structs.<\/p>\n<p>Note that this problem doesn&#8217;t exist in the v2 policy equivalent<br \/>\n(&#8220;per-mode keys&#8221;), since the data structures there are per super_block.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>fscrypt: Add missing superblock check in find_or_insert_direct_key()<\/p>\n<p>The legacy &#8216;fscrypt_direct_keys&#8217; table caches master keys tha<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-5354","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/5354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}