1. Accueil
  2. Vulnérabilités
  3. CVE-2026-64009

CVE-2026-64009

xfrm: Check for underflow in xfrm_state_mtu

Publiée le 19 juil. 2026 · modifiée le 19 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 32/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (9 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 2.6.22 — CNA (éditeur ou attributeur)
Linux kernel de 2.6.22 (inclus) à 5.10.259 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.210 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.176 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.143 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.93 (exclu) — NVD
Linux kernel de 6.13 (inclus) à 6.18.35 (exclu) — NVD
Linux kernel de 6.19 (inclus) à 7.0.12 (exclu) — NVD
Linux kernel 7.1 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1286)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1333)
  4. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1335)
  5. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1372)
  6. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  7. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1469)
  8. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1537)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)
Faiblesse
CWE-787 · Corruption mémoire

Comment sont obtenues et calculées ces données