CVE-2023-54035
kernel: netfilter: nf_tables: fix underflow in chain reference counter
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 24, 2025
Updated · August 21, 2026
Description
A flaw was found in the Linux kernel's netfilter nf_tables component. During set element addition, an error path incorrectly decrements the chain reference counter twice. This reference count underflow could potentially lead to a use-after-free condition when the chain is subsequently freed while still in use.
Statement
Exploiting this vulnerability requires CAP_NET_ADMIN capability to manipulate nf_tables rules and trigger the specific error path during set element addition. The bug occurs in error handling, meaning normal successful operations are unaffected. The complexity of reliably triggering the use-after-free limits practical exploitability.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-911 · Improper Update of Reference Count