CVE-2026-64009·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: xfrm: Check for underflow in xfrm_state_mtu Leo Lin reported OOB write issue in esp component: xfrm_state_mtu() returns u32 but performs its arithmetic in unsigned modulo-2^32 space using an attacker-influenced "header_len + authsize + net_adj" subtracted from a small "mtu" argument. A nobody user can install an IPv4 ESP tunnel SA with a large authentication key (XFRMA_ALG_AUTH_TRUNC, e.g. hmac(sha512), 64-byte key, 64-byte trunc), configure a small interface MTU (68 bytes), and set XFRMA_TFCPAD to a large value. When a single UDP datagram is then sent through the tunnel, xfrm_state_mtu() underflows to a near-2^32 value, and esp_output() consumes it as a signed int via: padto = min(x->tfcpad, xfrm_state_mtu(x, mtu_cached)) esp.tfclen = padto - skb->len (assigned to int) esp.tfclen ends up negative (e.g. -207). It is sign-extended to size_t when passed to memset() inside esp_output_fill_trailer(), producing a ~16 EB write of zeroes at skb_tail_pointer(skb). KASAN logs it as "Write of size 18446744073709551537 at addr ffff888...". Check for underflow and return 1. This causes the sendmsg attempt to fail with ENETUNREACH.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.12
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.14% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-64009 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.14%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.12
Fixed in: 7.0.12
How to fix this CVE
Update your Linux kernel to version 7.0.12 or later to patch an integer underflow vulnerability in the xfrm_state_mtu() function that could lead to out-of-bounds memory writes. Systems running kernel versions 6.19 through 7.0.11 should prioritize this update immediately. The vulnerability allows local users with unprivileged access to trigger a kernel crash or potential code execution through malformed ESP tunnel configurations.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version and confirm if it falls within 6.19 to 7.0.11
- Check if xfrm/ESP is in use: run 'ip xfrm state list' to enumerate active IPsec Security Associations
- Search kernel logs for KASAN warnings: 'sudo dmesg | grep -i "KASAN\|out-of-bounds\|write of size"' to identify exploitation attempts
- Verify the patch by checking the kernel version is 7.0.12 or higher and re-running 'uname -r' after reboot
FAQ
What is CVE-2026-64009?
An integer underflow vulnerability in the Linux kernel's xfrm_state_mtu() function that permits unprivileged local attackers to craft malicious ESP tunnel configurations, causing massive out-of-bounds memory writes when processing UDP datagrams through the tunnel.
Is CVE-2026-64009 being actively exploited?
No, there is no evidence of active exploitation in the wild or publicly available exploit code for this vulnerability, though it carries a high CVSS score (7.8) due to its local privilege implications.
What versions of Kernel are affected by CVE-2026-64009?
Linux kernel versions 6.19 through 7.0.11 are vulnerable; version 7.0.12 and later include the fix.
How do I check if my server is vulnerable to CVE-2026-64009?
Run 'uname -r' and compare the output against the fixed version 7.0.12; any version from 6.19 to 7.0.11 is affected.
Does Defensia detect CVE-2026-64009?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-64009 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1021d2877b689a648b27815c854557a917122e93
- https://git.kernel.org/stable/c/2a41b1b31c61c52b972278ce1732a1443f5e89ed
- https://git.kernel.org/stable/c/3db50ceeacb52806d8fe86fb1dfe944df0b9f789
- https://git.kernel.org/stable/c/742b04d0550b0ec89dcbc99537ec88653bd1ad90
- https://git.kernel.org/stable/c/8014f70c4e6e5ab101ae3860a614e65e988372e3
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64009. Free for 1 server.
Get started free