In the Linux kernel, the following vulnerability has been resolved: ecryptfs: reject oversized encrypted_key_size in parse_tag_3_packet… (CVE-2026-89607)
A vulnerability in the Linux kernel's eCryptfs implementation allowed oversized encrypted_key_size values in the parse_tag_3_packet function, leading to out-of-bounds writes. This flaw affected the AES-192 cipher path where encrypted_key_size could exceed the maximum allowed size without proper bounds checking. The issue was resolved by enforcing a 64-byte limit on encrypted_key_size, preventing memory corruption.
AI Analysis
Technical Summary
The Linux kernel's eCryptfs module had a vulnerability where parse_tag_3_packet() set encrypted_key_size from the Tag 3 packet body without bounding it against ECRYPTFS_MAX_KEY_BYTES (64). When encrypted_key_size exceeded 64, decrypt_passphrase_encrypted_session_key() performed two out-of-bounds writes: one during crypto_skcipher_decrypt() and another via memcpy() into crypt_stat->key, corrupting adjacent memory structures. This was possible only for AES-192 cipher code 0x08, which allowed crypto_skcipher_setkey() to succeed with an oversized encrypted_key_size. The fix enforces bounding encrypted_key_size to 64 bytes, removing a redundant 512-byte check and preventing memory corruption.
Potential Impact
The vulnerability could lead to memory corruption in kernel space due to out-of-bounds writes, potentially destabilizing the system or enabling privilege escalation. However, exploitation requires use of the AES-192 cipher path in eCryptfs with crafted oversized encrypted_key_size values. There are no known exploits in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to bound encrypted_key_size against ECRYPTFS_MAX_KEY_BYTES (64). Users should update to a kernel version that includes this patch. No additional mitigations are specified or required beyond applying the official fix.
In the Linux kernel, the following vulnerability has been resolved: ecryptfs: reject oversized encrypted_key_size in parse_tag_3_packet… (CVE-2026-89607)
Description
A vulnerability in the Linux kernel's eCryptfs implementation allowed oversized encrypted_key_size values in the parse_tag_3_packet function, leading to out-of-bounds writes. This flaw affected the AES-192 cipher path where encrypted_key_size could exceed the maximum allowed size without proper bounds checking. The issue was resolved by enforcing a 64-byte limit on encrypted_key_size, preventing memory corruption.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's eCryptfs module had a vulnerability where parse_tag_3_packet() set encrypted_key_size from the Tag 3 packet body without bounding it against ECRYPTFS_MAX_KEY_BYTES (64). When encrypted_key_size exceeded 64, decrypt_passphrase_encrypted_session_key() performed two out-of-bounds writes: one during crypto_skcipher_decrypt() and another via memcpy() into crypt_stat->key, corrupting adjacent memory structures. This was possible only for AES-192 cipher code 0x08, which allowed crypto_skcipher_setkey() to succeed with an oversized encrypted_key_size. The fix enforces bounding encrypted_key_size to 64 bytes, removing a redundant 512-byte check and preventing memory corruption.
Potential Impact
The vulnerability could lead to memory corruption in kernel space due to out-of-bounds writes, potentially destabilizing the system or enabling privilege escalation. However, exploitation requires use of the AES-192 cipher path in eCryptfs with crafted oversized encrypted_key_size values. There are no known exploits in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to bound encrypted_key_size against ECRYPTFS_MAX_KEY_BYTES (64). Users should update to a kernel version that includes this patch. No additional mitigations are specified or required beyond applying the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-97r7-5j8w-q49j
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89607"]
Threat ID: 6aa4a00d55bf5e2cf5a86686
Added to database: 09/12/2026, 00:42:53 UTC
Last enriched: 09/12/2026, 01:03:52 UTC
Last updated: 09/12/2026, 01:03:52 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.