CVE-2023-54035
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54035 is a reference counter underflow vulnerability in the Linux kernel's netfilter nf_tables subsystem. The flaw exists in the set element addition error path, where the chain reference counter is decremented twice — once during element release and again via nft_data_release(). The vulnerability was disclosed on December 24, 2025, and affects Linux kernel versions in the range introduced by commit 628bd3e49cba up to the fixes applied in stable branches. No official CVSS score has been assigned by NVD at this time; Feedly estimates the severity as Medium (Feedly, ENISA EUVD).

Technical details

The root cause is an incorrect fix introduced by commit d6b478666ffa ("netfilter: nf_tables: fix underflow in object reference counter"), which removed the stateful object reference count decrement in an attempt to address a prior double-decrement bug, but inadvertently introduced a reference counter underflow for chains (CWE classification not yet formally assigned by NVD). In the set element addition error path, nft_data_release() is responsible for decrementing the chain reference counter, but the prior incorrect fix caused the stateful object decrement to be skipped entirely. The correct fix, applied in three stable kernel commits (9c959671abc7, b068314fd8ce, b389139f12f2), restores the stateful object decrement (as originally done in b91d90368837) while allowing nft_data_release() to handle the chain reference counter decrement exactly once (Feedly, kernel.org patch 1).

Impact

A reference counter underflow in the kernel's netfilter chain management can lead to use-after-free conditions or kernel memory corruption, potentially allowing a local attacker with sufficient privileges to cause a denial of service (kernel panic/crash) or, in more severe scenarios, escalate privileges on the affected system. The impact is confined to the local system, as exploitation requires the ability to interact with nf_tables (typically requiring CAP_NET_ADMIN or equivalent). There is no known direct path to remote exploitation (Feedly).

Mitigation and workarounds

Apply the upstream Linux kernel patches that correct the double-decrement logic in the nf_tables set element addition error path. The fixes are available in three stable kernel commits: 9c959671abc7d4ffdf34eed10c64492d43cb6a3c, b068314fd8ce751a7f906e55bb90f3551815f1a0, and b389139f12f287b8ed2e2628b72df89a081f0b59. Distributions such as SUSE have begun incorporating these fixes into their kernel packages (e.g., SUSE advisory SUSE-2026-0281-1). As a workaround where patching is not immediately possible, restricting access to CAP_NET_ADMIN capabilities (e.g., via user namespaces or seccomp policies) can reduce the attack surface (Feedly, Linux Security SUSE Advisory).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management