netfilter: nf_tables: fix underflow in chain reference counter

Summary

CVECVE-2023-54035
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-12-24 11:15:56 UTC
Updated2026-08-04 10:19:25 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.001240000 probability, percentile 0.024840000 (date 2026-08-06)


VersionSourceTypeScoreSeverityVector
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 35651fde1a7bb54dde0a46d35cd0d7136869ae86 b068314fd8ce751a7f906e55bb90f3551815f1a0 git Not specified
CNA Linux Linux affected 628bd3e49cba1c066228e23d71a852c23e26da73 9c959671abc7d4ffdf34eed10c64492d43cb6a3c git Not specified
CNA Linux Linux affected 628bd3e49cba1c066228e23d71a852c23e26da73 b389139f12f287b8ed2e2628b72df89a081f0b59 git Not specified
CNA Linux Linux affected bc9f791d2593f17e39f87c6e2b3a36549a3705b1 git Not specified
CNA Linux Linux affected 3c7ec098e3b588434a8b07ea9b5b36f04cef1f50 git Not specified
CNA Linux Linux affected a136b7942ad2a50de708f76ea299ccb45ac7a7f9 git Not specified
CNA Linux Linux affected 25aa2ad37c2162be1c0bc4fe6397f7e4c13f00f8 git Not specified
CNA Linux Linux affected d60be2da67d172aecf866302c91ea11533eca4d9 git Not specified
CNA Linux Linux affected dc7cdf8cbcbf8b13de1df93f356ec04cdeef5c41 git Not specified
CNA Linux Linux affected 4.19.316 4.20 semver Not specified
CNA Linux Linux affected 5.4.262 5.5 semver Not specified
CNA Linux Linux affected 5.10.188 5.11 semver Not specified
CNA Linux Linux affected 5.15.121 5.16 semver Not specified
CNA Linux Linux affected 6.3.10 6.4 semver Not specified
CNA Linux Linux affected 6.4 Not specified
CNA Linux Linux unaffected 6.4 semver Not specified
CNA Linux Linux unaffected 6.4.4 6.4.* semver Not specified
CNA Linux Linux unaffected 6.5 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/b068314fd8ce751a7f906e55bb90f3551815f1a0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b389139f12f287b8ed2e2628b72df89a081f0b59 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9c959671abc7d4ffdf34eed10c64492d43cb6a3c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report