Skip to main content
← All vulnerabilities
CVE-2026-89608

ecryptfs: pass packet set buffer size to parser

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, and 2 more
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 237fead619984cc48818fe12ee0ceada3f55b012 · fixed in e7573b0e3058c6bbdfe81673f22c09900fde9e65; From 237fead619984cc48818fe12ee0ceada3f55b012 · fixed in 66a87559ecb26afe80ad512faf728a158e2b81da; From 237fead619984cc48818fe12ee0ceada3f55b012 · fixed in 3bd9bb3e167a7c14a50423f6ff03ee0fb007199d; From 237fead619984cc48818fe12ee0ceada3f55b012 · fixed in 749fa08d8f1b318bd8f4669a14a8a4a8c1bbdaac; From 237fead619984cc48818fe12ee0ceada3f55b012 · fixed in 329de8b9e988b152b938f09224670d97bada0b96; From 237fead619984cc48818fe12ee0ceada3f55b012 · fixed in e5d254e654f2311a3c4b9c791d7f216554bcd17a; From 237fead619984cc48818fe12ee0ceada3f55b012 · fixed in 747fd45be396a6aea3420ab657a0ab4e60185b05; From 237fead619984cc48818fe12ee0ceada3f55b012 · fixed in 2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2

  • Linux Linux

    2.6.19

  • KernelLinux

    From 2.6.19 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4

References 8

git.kernel.org