VDB

CVE-2026-64009

CVE-2026-64009 PUBLISHED CVSS 7.8 HIGH

xfrm: Check for underflow in xfrm_state_mtu

Reported by linux · Published July 19, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-modules-extraAmazon Linux1:6.1.176-220.358.amzn2023
kernelAmazon Linux1:6.1.176-220.358.amzn2023
kernel6.18-develAmazon Linux1:6.18.35-68.127.amzn2023
bpftool6.12Amazon Linux1:6.12.94-123.174.amzn2023
kernel6.18Amazon Linux1:6.18.35-68.127.amzn2023
kernel-tools-develAmazon Linux1:6.1.176-220.358.amzn2023
kernel6.18-headersAmazon Linux1:6.18.35-68.127.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.176-220.358.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.94-123.174.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.94-123.174.amzn2023
bpftool6.18Amazon Linux1:6.18.35-68.127.amzn2023
python3-perf6.12Amazon Linux1:6.12.94-123.174.amzn2023

3 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxc5c2523893747f88a83376abad310c8ad13f7197, c5c2523893747f88a83376abad310c8ad13f7197, c5c2523893747f88a83376abad310c8ad13f7197
LinuxLinux2.6.22, 0, 5.10.259
amazon:2023kernel-modules-extra0
amazon:2023kernel0
amazon:2023kernel6.18-devel0
amazon:2023bpftool6.120
amazon:2023kernel6.180
amazon:2023kernel-tools-devel0
amazon:2023kernel6.18-headers0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023python3-perf6.120
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-devel0
linuxlinux_kernel2.6.22, 2.6.22, 2.6.22
amazon:2023kernel-livepatch-6.12.94-123.1740
amazon:2023kernel-headers0

…and 18 more

Timeline

  • Jul 19, 2026 CVE Published
  • Jul 20, 2026 Coalition ESS Score
  • Jul 20, 2026 Security Advisory (31 in total, the first dated here)
  • Aug 7, 2026 EPSS Score (10 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch (30 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64009
vulnetix vdb fixes CVE-2026-64009

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64009/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›