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.
https://git.kernel.org/stable/c/e5d254e654f2311a3c4b9c791d7f216554bcd17a
https://git.kernel.org/stable/c/747fd45be396a6aea3420ab657a0ab4e60185b05
https://git.kernel.org/stable/c/329de8b9e988b152b938f09224670d97bada0b96
https://git.kernel.org/stable/c/2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2