CVE-2026-64009

xfrm: Check for underflow in xfrm_state_mtu

7.8 high EPSS 0.20%

Published 19 Jul 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-64009

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64009 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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 (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.65% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-191 Integer Underflow (Wrap or Wraparound)

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c5c2523893747f88a83376abad310c8ad13f7197, before 8014f70c4e6e5ab101ae3860a614e65e988372e3
affected from c5c2523893747f88a83376abad310c8ad13f7197, before 1021d2877b689a648b27815c854557a917122e93
affected from c5c2523893747f88a83376abad310c8ad13f7197, before 2a41b1b31c61c52b972278ce1732a1443f5e89ed
affected from c5c2523893747f88a83376abad310c8ad13f7197, before fccd685b32df5aaf6bad4381eeda216468e283f0
affected from c5c2523893747f88a83376abad310c8ad13f7197, before 820e501be8aee4b365d218d83227b314309c5fda
affected from c5c2523893747f88a83376abad310c8ad13f7197, before 82ac903e0b519849647657b8c48d21237ada06a2
affected from c5c2523893747f88a83376abad310c8ad13f7197, before 3db50ceeacb52806d8fe86fb1dfe944df0b9f789
affected from c5c2523893747f88a83376abad310c8ad13f7197, before 742b04d0550b0ec89dcbc99537ec88653bd1ad90
Other versions: unaffected
Linux
affected 2.6.22
unaffected before 2.6.22
unaffected from 5.10.259 up to and including 5.10.*
unaffected from 5.15.210 up to and including 5.15.*
unaffected from 6.1.176 up to and including 6.1.*
unaffected from 6.6.143 up to and including 6.6.*
unaffected from 6.12.93 up to and including 6.12.*
unaffected from 6.18.35 up to and including 6.18.*
unaffected from 7.0.12 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64009 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64009

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-64009
trivy image --scanners vuln IMAGE | grep CVE-2026-64009

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-64009 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.