netfilter: nf_tables: release flowtable after rcu grace period on error (Linux Linux)

CVE-2026-23392
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: release flowtable after rcu grace period on error Call synchronize_rcu() after unregistering the hooks from error path, since a hook that already refers to this flowtable can be already registered, exposing this flowtable to packet path and nfnetlink_hook control plane. This error path is rare, it should only happen by reaching the maximum number hooks or by failing to set up to hardware offload, just call synchronize_rcu(). There is a check for already used device hooks by different flowtable that could result in EEXIST at this late stage. The hook parser can be updated to perform this check earlier to this error path really becomes rarely exercised. Uncovered by KASAN reported as use-after-free from nfnetlink_hook path when dumping hooks.

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 3b49e2e94e6ebb8b23d0955d9e898254455734f8 < d2632de96ccb066e0131ad1494241b9c281c60b8 ; affected 3b49e2e94e6ebb8b23d0955d9e898254455734f8 < adee3436ccd29f1e514c028899e400cbc6d84065 ; affected 3b49e2e94e6ebb8b23d0955d9e898254455734f8 < 7e3955b282eae20d61c75e499c75eade51c20060 ; affected 3b49e2e94e6ebb8b23d0955d9e898254455734f8 < c8092edb9a11f20f95ccceeb9422b7dd0df337bd ; affected 3b49e2e94e6ebb8b23d0955d9e898254455734f8 < e78a2dcc7cfb87b64a631441ca7681492b347ef6 ; affected 3b49e2e94e6ebb8b23d0955d9e898254455734f8 < d73f4b53aaaea4c95f245e491aa5eeb8a21874ce
Linux · Linuxaffected 4.16 ; unaffected 0 < 4.16 ; unaffected 6.1.167 ≤ 6.1.* ; unaffected 6.6.130 ≤ 6.6.* ; unaffected 6.12.78 ≤ 6.12.* ; unaffected 6.18.20 ≤ 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