CVE-2026-53218

netfilter: nft_exthdr: fix register tracking for F_PRESENT flag

MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_exthdr: fix register tracking for F_PRESENT flag nft_exthdr_init() passes user-controlled priv->len to nft_parse_register_store(), which marks that many bytes in the register bitmap as initialized. However, when NFT_EXTHDR_F_PRESENT is set, the eval paths write only 1 byte (nft_reg_store8) or 4 bytes (*dest = 0 on TCP/DCCP error path). When len > 4, registers beyond the first are never written, retaining uninitialized stack data from nft_regs. Bail out if userspace requests too much data when F_PRESENT is set.

Faiblesses (CWE)

  • CWE-908 — Utilisation d'une ressource non initialisée

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 < 8738b1b6d0e639ca1fc0f61516afd3557ac4ecc6 ; affected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 < 19748967d59c31d24d21d40b728570788310b237 ; affected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 < 46fc15a044e9938e7ea77786fb37edd2cd74f031 ; affected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 < cd513e43b4b2bd1de39e2367bc4261c699a8652f ; affected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 < 67b27434c43b68a97becda98c9f0c8cf6cba2134 ; affected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 < 78069a6d8bc86c9e036eb82c2af4a19cc1871a53
Linux · Linuxaffected 4.11 ; unaffected 0 < 4.11 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD