netfilter: nf_tables: unconditionally bump set->nelems before insertion (Linux Linux)

CVE-2026-23272
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 6 ()
É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: nf_tables: unconditionally bump set->nelems before insertion In case that the set is full, a new element gets published then removed without waiting for the RCU grace period, while RCU reader can be walking over it already. To address this issue, add the element transaction even if set is full, but toggle the set_full flag to report -ENFILE so the abort path safely unwinds the set to its previous state. As for element updates, decrement set->nelems to restore it. A simpler fix is to call synchronize_rcu() in the error path. However, with a large batch adding elements to already maxed-out set, this could cause noticeable slowdown of such batches.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

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

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 35d0ac9070ef619e3bf44324375878a1c540387b < 25841e8d4241c6c3763e70ae95050f8108707b46 ; affected 35d0ac9070ef619e3bf44324375878a1c540387b < 022effa9c54903858e443b1225370e6c758d03f6 ; affected 35d0ac9070ef619e3bf44324375878a1c540387b < 25fcaef7948912652905e96922f36583a84fffed ; affected 35d0ac9070ef619e3bf44324375878a1c540387b < e3ccb11fc8249759d23326038c8db987ddaabc77 ; affected 35d0ac9070ef619e3bf44324375878a1c540387b < 86bc4b1a0f672d47ac19f9022432cb6a2e01cb33 ; affected 35d0ac9070ef619e3bf44324375878a1c540387b < 6826131c7674329335ca25df2550163eb8a1fd0c
Linux · Linuxaffected 4.10 ; unaffected 0 < 4.10 ; unaffected 5.10.273 ≤ 5.10.* ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.177 ≤ 6.1.* ; unaffected 6.6.141 ≤ 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