CVE-2026-89606: ecryptfs: reject too-small tag 70 packets
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ecryptfs: reject too-small tag 70 packets
ecryptfs_parse_tag_70_packet() subtracts fixed metadata fields from the parsed packet body size to derive the encrypted filename size. A malformed packet with a body smaller than those fixed fields can underflow that size calculation.
Reject tag 70 packets before the subtraction unless the body contains the signature, cipher code, and at least one byte of encrypted filename data.
The Linux kernel CVE team has assigned CVE-2026-89606 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.29 with commit 9c79f34f7ee71cd28272332b424ca64b2be006ab and fixed in 6.12.109 with commit 9d88391bbed76eb091cddd50b0af87b1c6f22589 Issue introduced in 2.6.29 with commit 9c79f34f7ee71cd28272332b424ca64b2be006ab and fixed in 6.18.50 with commit b31da1ecf13929a8d7f8d2727843d2fe35396b75 Issue introduced in 2.6.29 with commit 9c79f34f7ee71cd28272332b424ca64b2be006ab and fixed in 7.2.4 with commit d2869768eab5648e6edc05f47e0716e5328e6681 Issue introduced in 2.6.29 with commit 9c79f34f7ee71cd28272332b424ca64b2be006ab and fixed in 7.3-rc1 with commit e97bbe1b2bd82ec2ae37ad2e4965b4d3e78bbf7f
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-89606
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/ecryptfs/keystore.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/9d88391bbed76eb091cddd50b0af87b1c6f22589 https://git.kernel.org/stable/c/b31da1ecf13929a8d7f8d2727843d2fe35396b75 https://git.kernel.org/stable/c/d2869768eab5648e6edc05f47e0716e5328e6681 https://git.kernel.org/stable/c/e97bbe1b2bd82ec2ae37ad2e4965b4d3e78bbf7f