ecryptfs: pass packet set buffer size to parser
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- 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
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- 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
- stable/c/e7573b0e3058c6bbdfe81673f22c09900fde9e65
- stable/c/66a87559ecb26afe80ad512faf728a158e2b81da
- stable/c/3bd9bb3e167a7c14a50423f6ff03ee0fb007199d
- stable/c/749fa08d8f1b318bd8f4669a14a8a4a8c1bbdaac
- stable/c/329de8b9e988b152b938f09224670d97bada0b96
- stable/c/e5d254e654f2311a3c4b9c791d7f216554bcd17a
- stable/c/747fd45be396a6aea3420ab657a0ab4e60185b05
- stable/c/2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2