netfilter: nft_lookup: fix catchall element handling with inverted lookups (Linux Linux)

CVE-2026-72320
CRITICAL 9.1

En bref

Source
NVD
EPSS
EPSS 0.57 % · centile 47 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_lookup: fix catchall element handling with inverted lookups nft_lookup_eval() decides whether a lookup matched (`found`) from the direct set lookup and priv->invert before falling back to the catchall element used by interval sets (e.g. nft_set_rbtree) for the open-ended default range. Since `found` is never recomputed after `ext` is replaced by the catchall lookup, inverted lookups (NFT_LOOKUP_F_INV, "!= @set") can wrongly match or wrongly skip the catchall element, producing the wrong verdict. Fold the catchall lookup into `ext` before computing `found`, matching the order already used by nft_objref_map_eval().

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NLinux
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected aaa31047a6d25da0fa101da1ed544e1247949b40 < 87ff022a58788ff4a25cf2c609b9abae418c9323 ; affected aaa31047a6d25da0fa101da1ed544e1247949b40 < 65d35cb555f40529a9edc6bf4beaa3bee917f015 ; affected aaa31047a6d25da0fa101da1ed544e1247949b40 < 0ab8880865f9678eb6174e72c1fc4712e44c745c ; affected aaa31047a6d25da0fa101da1ed544e1247949b40 < 238c612357b5a25f03eacf356f95034f8551f218 ; affected aaa31047a6d25da0fa101da1ed544e1247949b40 < ef0c7d4b04a0e6ad175323c24bc84e11470dd79d ; affected aaa31047a6d25da0fa101da1ed544e1247949b40 < e6107a4c74b54cb33e3bce162a63048ae5a6b198
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.97 ≤ 6.12.* ; unaffected 6.18.40 ≤ 6.18.*

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