netfilter: nf_tables: fix underflow in chain reference counter
Summary
| CVE | CVE-2023-54035 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-12-24 11:15:56 UTC |
| Updated | 2026-08-04 10:19:25 UTC |
| 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. |
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)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.