nf_tables: nft_dynset: fix possible stateful expression memleak in error path (Linux Linux)

CVE-2026-23399
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: nf_tables: nft_dynset: fix possible stateful expression memleak in error path If cloning the second stateful expression in the element via GFP_ATOMIC fails, then the first stateful expression remains in place without being released.   unreferenced object (percpu) 0x607b97e9cab8 (size 16):     comm "softirq", pid 0, jiffies 4294931867     hex dump (first 16 bytes on cpu 3):       00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00     backtrace (crc 0):       pcpu_alloc_noprof+0x453/0xd80       nft_counter_clone+0x9c/0x190 [nf_tables]       nft_expr_clone+0x8f/0x1b0 [nf_tables]       nft_dynset_new+0x2cb/0x5f0 [nf_tables]       nft_rhash_update+0x236/0x11c0 [nf_tables]       nft_dynset_eval+0x11f/0x670 [nf_tables]       nft_do_chain+0x253/0x1700 [nf_tables]       nft_do_chain_ipv4+0x18d/0x270 [nf_tables]       nf_hook_slow+0xaa/0x1e0       ip_local_deliver+0x209/0x330

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

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 563125a73ac30d7036ae69ca35c40500562c1de4 < eb7bf413e59945df03d4567b73ce464eebe2f4ea ; affected 563125a73ac30d7036ae69ca35c40500562c1de4 < 4357dbb1d9c35ca0b4443d71c98a48e6666f7689 ; affected 563125a73ac30d7036ae69ca35c40500562c1de4 < e6661add2d9c6913e1dad97336595e23a2bed195 ; affected 563125a73ac30d7036ae69ca35c40500562c1de4 < d1354873cbe3b344899c4311ac05897fd83e3f21 ; affected 563125a73ac30d7036ae69ca35c40500562c1de4 < 31641c682db73353e4647e40735c7f2a75ff58ef ; affected 563125a73ac30d7036ae69ca35c40500562c1de4 < c88a9fd26cee365bec932196f76175772a941cca
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.136 ≤ 6.6.* ; unaffected 6.12.78 ≤ 6.12.*

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