ecryptfs: pass packet set buffer size to parser
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e7573b0e3058c6bbdfe81673f22c09900fde9e65, Kernel 2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2, Kernel 329de8b9e988b152b938f09224670d97bada0b96 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=237fead619984cc48818fe12ee0ceada3f55b012 <e7573b0e3058c6bbdfe81673f22c09900fde9e65, >=237fead619984cc48818fe12ee0ceada3f55b012 <2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2, >=237fead619984cc48818fe12ee0ceada3f55b012 <329de8b9e988b152b938f09224670d97bada0b96, >=237fead619984cc48818fe12ee0ceada3f55b012 <3bd9bb3e167a7c14a50423f6ff03ee0fb007199d, >=237fead619984cc48818fe12ee0ceada3f55b012 <66a87559ecb26afe80ad512faf728a158e2b81da, >=237fead619984cc48818fe12ee0ceada3f55b012 <747fd45be396a6aea3420ab657a0ab4e60185b05, >=237fead619984cc48818fe12ee0ceada3f55b012 <749fa08d8f1b318bd8f4669a14a8a4a8c1bbdaac, >=237fead619984cc48818fe12ee0ceada3f55b012 <e5d254e654f2311a3c4b9c791d7f216554bcd17a, =2.6.19 | e7573b0e3058c6bbdfe81673f22c09900fde9e65, 2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2, 329de8b9e988b152b938f09224670d97bada0b96, 3bd9bb3e167a7c14a50423f6ff03ee0fb007199d, 66a87559ecb26afe80ad512faf728a158e2b81da, 747fd45be396a6aea3420ab657a0ab4e60185b05, 749fa08d8f1b318bd8f4669a14a8a4a8c1bbdaac, e5d254e654f2311a3c4b9c791d7f216554bcd17a |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.50, >=6.19.0 <7.2.4, >=6.2.0 <6.6.157, >=6.7.0 <6.12.109, >=2.6.19 <5.10.270 | 5.15.221, 6.1.188, 6.18.50, 7.2.4, 6.6.157, 6.12.109, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket