PT-2026-40816 · Linux+4 · Linux Kernel+4
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A local privilege escalation issue exists in the Linux kernel networking stack, specifically within the XFRM ESP-in-TCP subsystem. The flaw originates in the
skb try coalesce() function and the skb segment() function, where the kernel fails to correctly preserve the SKBFL SHARED FRAG flag when moving paged fragments between socket buffers or constructing GSO segments. This failure breaks the invariant relied upon by in-place writers; specifically, the esp input() function may incorrectly skip the skb cow data() check. Consequently, a low-privileged local attacker can perform unsafe in-place cryptographic processing (such as AES-GCM decryption) directly over page-cache-backed memory. This allows the attacker to write arbitrary bytes into the page cache of read-only files, such as /usr/bin/su or /etc/passwd, enabling the overwriting of privileged binaries to gain root privileges. This issue is a deterministic logic error and does not require a race condition.Recommendations
- Update the Linux kernel to the latest patched version provided by the distribution.
- As a temporary mitigation, disable the
esp4,esp6, andrxrpcmodules by runningsudo modprobe -r esp4 esp6 rxrpcand blacklisting them. - Restrict unnecessary local shell access.
- Harden containerized workloads.
- Increase monitoring for abnormal privilege escalation activity.
Exploit
Fix
LPE
RCE
DoS
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linuxmint
Linux Kernel
Red Os
Rocky Linux
Ubuntu