netfilter: nf_tables: fix underflow in chain reference counter (Linux Linux)

CVE-2023-54035
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.14 % · centile 4 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fix underflow in chain reference counter Set element addition error path decrements reference counter on chains twice: once on element release and again via nft_data_release(). Then, d6b478666ffa ("netfilter: nf_tables: fix underflow in object reference counter") incorrectly fixed this by removing the stateful object reference count decrement. Restore the stateful object decrement as in b91d90368837 ("netfilter: nf_tables: fix leaking object reference count") and let nft_data_release() decrement the chain reference counter, so this is done only once.

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

Produits affectés

ProduitVersions
Linux · Linuxaffected 35651fde1a7bb54dde0a46d35cd0d7136869ae86 < b068314fd8ce751a7f906e55bb90f3551815f1a0 ; affected 628bd3e49cba1c066228e23d71a852c23e26da73 < 9c959671abc7d4ffdf34eed10c64492d43cb6a3c ; affected 628bd3e49cba1c066228e23d71a852c23e26da73 < b389139f12f287b8ed2e2628b72df89a081f0b59 ; affected bc9f791d2593f17e39f87c6e2b3a36549a3705b1 ; affected 3c7ec098e3b588434a8b07ea9b5b36f04cef1f50 ; affected a136b7942ad2a50de708f76ea299ccb45ac7a7f9
Linux · Linuxaffected 6.4 ; unaffected 0 < 6.4 ; unaffected 6.4.4 ≤ 6.4.* ; unaffected 6.5 ≤ *

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