CVE-2026-89608

Summary

In the Linux kernel, the following vulnerability has been resolved:

ecryptfs: pass packet set buffer size to parser

ecryptfs_parse_packet_set() receives a pointer into the file header, but it calculates the remaining packet buffer size from PAGE_SIZE - 8. For version 1 headers the packet set starts later in the header, so this can overstate the available buffer.

Pass the actual packet set buffer length from the caller and calculate per-packet limits from the remaining bytes in that buffer. Recompute the remaining length after consuming a tag 3 packet before parsing the following tag 11 packet.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux237fead619984cc48818fe12ee0ceada3f55b012 < 329de8b9e988b152b938f09224670d97bada0b96affected
LinuxLinux237fead619984cc48818fe12ee0ceada3f55b012 < e5d254e654f2311a3c4b9c791d7f216554bcd17aaffected
LinuxLinux237fead619984cc48818fe12ee0ceada3f55b012 < 747fd45be396a6aea3420ab657a0ab4e60185b05affected
LinuxLinux237fead619984cc48818fe12ee0ceada3f55b012 < 2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2affected
LinuxLinux2.6.19affected
LinuxLinux0 < 2.6.19unaffected
LinuxLinux6.12.109 <= 6.12.*unaffected
LinuxLinux6.18.50 <= 6.18.*unaffected
LinuxLinux7.2.4 <= 7.2.*unaffected
LinuxLinux7.3-rc1 <= *unaffected

Weaknesses

References