{"id":21529,"date":"2026-09-12T04:31:18","date_gmt":"2026-09-11T20:31:18","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89607"},"modified":"2026-09-12T04:31:18","modified_gmt":"2026-09-11T20:31:18","slug":"cve-2026-89607","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89607","title":{"rendered":"CVE-2026-89607 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\necryptfs: reject over"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ecryptfs: reject oversized encrypted_key_size in parse_tag_3_packet<\/p>\n<p>parse_tag_3_packet() set encrypted_key_size from the Tag 3 packet body<br \/>\nwithout bounding it against ECRYPTFS_MAX_KEY_BYTES (64). When<br \/>\nencrypted_key_size &gt; 64, decrypt_passphrase_encrypted_session_key()<br \/>\nsets decrypted_key_size = encrypted_key_size and performs two<br \/>\nout-of-bounds writes:<\/p>\n<p>1. crypto_skcipher_decrypt() writes encrypted_key_size bytes into<br \/>\n   decrypted_key[64] via scatterlist, overflowing into the parent<br \/>\n   ecryptfs_auth_tok struct.<br \/>\n2. memcpy(crypt_stat-&gt;key, decrypted_key, decrypted_key_size) writes<br \/>\n   into crypt_stat-&gt;key[64], corrupting root_iv, keysig_list, and<br \/>\n   mutexes in ecryptfs_crypt_stat.<\/p>\n<p>Only AES-192 (cipher code 0x08) enables this because it sets<br \/>\ncrypt_stat-&gt;key_size = 24 independently of encrypted_key_size,<br \/>\nallowing crypto_skcipher_setkey() to succeed while encrypted_key_size<br \/>\nexceeds ECRYPTFS_MAX_KEY_BYTES.<\/p>\n<p>The PKI decryption path (parse_tag_65_packet) already validates<br \/>\ndecrypted_key_size &lt;= ECRYPTFS_MAX_KEY_BYTES; the passphrase path<br \/>\nomits this check.<\/p>\n<p>Bound encrypted_key_size against ECRYPTFS_MAX_KEY_BYTES (64) rather<br \/>\nthan ECRYPTFS_MAX_ENCRYPTED_KEY_BYTES (512). The 64-byte limit also<br \/>\nprotects the 512-byte encrypted_key[] buffer, so the former 512-byte<br \/>\ncheck is removed as redundant.<\/p>\n<p>[tyhicks: Adjust the code comment to refer to macros representing the<br \/>\n buffer sizes rather than mentioning the buffer size values since they<br \/>\n may change in the future]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ecryptfs: reject oversized encrypted_key_size in parse_tag_3_packet<\/p>\n<p>parse_tag_3_packet() set encrypted_key_size from the Tag 3 pac<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21529","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21529","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=21529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}