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

CVE-2026-46321

tun: free page on short-frame rejection in tun_xdp_one()

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

Faible 29/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: tun: free page on short-frame rejection in tun_xdp_one() tun_xdp_one() returns -EINVAL on a frame shorter than ETH_HLEN without freeing the page that vhost_net_build_xdp() allocated for it. tun_sendmsg() discards that -EINVAL and still returns total_len, so vhost_tx_batch() takes the success path and never frees the page; each short frame in a batch leaks one page-frag chunk. A local process that can open /dev/net/tun and /dev/vhost-net can hit this path: it attaches a tun/tap device as the vhost-net backend and feeds TX descriptors whose length minus the virtio-net header is below ETH_HLEN. Each kick leaks the page-frag chunks for that batch, and a tight submission loop exhausts host memory and triggers an OOM panic. Free the page before returning -EINVAL, matching the XDP-program error path in the same function.

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

Produits et versions affectés

Linux (18 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 5.10.223 (inclus) à 5.10.259 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.15.164 (inclus) à 5.15.210 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.1.102 (inclus) à 6.1.176 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.6.43 (inclus) à 6.6.143 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.4.281 (inclus) à 5.5 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.9.12 (inclus) à 6.10 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.10.2 (inclus) à 6.11 (exclu) — CNA (éditeur ou attributeur)
Linux 6.11 — CNA (éditeur ou attributeur)
Linux kernel de 5.4.281 (inclus) à 5.5 (exclu) — NVD
Linux kernel de 5.10.223 (inclus) à 5.10.259 (exclu) — NVD
Linux kernel de 5.15.164 (inclus) à 5.15.210 (exclu) — NVD
Linux kernel de 6.1.102 (inclus) à 6.1.176 (exclu) — NVD
Linux kernel de 6.6.43 (inclus) à 6.6.143 (exclu) — NVD
Linux kernel de 6.9.12 (inclus) à 6.10 (exclu) — NVD
Linux kernel de 6.10.2 (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-1298)
  4. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1333)
  5. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  6. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1469)
  7. — 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:N/UI:N/S:C/C:N/I:N/A:H (CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)
Faiblesse
NVD-CWE-noinfo · Non classé

Comment sont obtenues et calculées ces données