Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
ecryptfs: pass packet set buffer size to parser
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.
References
Affected products
Linux
- <329de8b9e988b152b938f09224670d97bada0b96
- =<7.2.*
- <747fd45be396a6aea3420ab657a0ab4e60185b05
- <2.6.19
- =<6.12.*
- ==2.6.19
- =<6.18.*
- <2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2
- <e5d254e654f2311a3c4b9c791d7f216554bcd17a
- =<*