All reports
Medium

kernel: ecryptfs: pass packet set buffer size to parser

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-89608

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-19

Description

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.

A flaw was found in the ecryptfs component of the Linux kernel. The ecryptfs_parse_packet_set() function incorrectly calculates the available buffer size when processing version 1 headers, leading to an overstatement of the buffer's actual capacity. This miscalculation could allow an attacker to cause a denial of service or potentially lead to information disclosure due to out-of-bounds memory access.