CVE-2023-54200
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54200 is a use-after-free vulnerability in the Linux kernel's netfilter nf_tables subsystem, specifically in the handling of netdev hooks during network namespace (netns) teardown. The flaw was introduced by a prior commit that skipped netdev events generated during netns removal, which created a race condition when veth peer devices are released. It affects Linux kernel versions from 5.15 through at least 6.3.x, with fixes backported to stable releases including 5.15.113, 6.1.30, 6.3.4, and 6.4. The vulnerability was published on December 30, 2025, and carries an estimated CVSS severity of Medium (Feedly, EUVD).

Technical details

The root cause is a use-after-free (CWE-416) in the nf_hook_entry_head() function within the netfilter nf_tables netdev hook management code. When a veth device is deleted, veth_dellink() queues the peer network namespace device for removal. If the peer netns is also being torn down concurrently, the peer netns device memory may be freed before the nf_tables_pre_exit_net pre-exit hook runs, which then calls nft_netdev_unregister_hooks on already-freed memory. The fix reverts the earlier commit "netfilter: nf_tables: skip netdev events generated on netns removal" and ensures netdev hooks are always released from the notifier path, preventing the stale memory access. The KASAN report identifies the read of freed memory at nf_hook_entry_head+0x1b8/0x1d0 triggered by a kworker during cleanup_net (Feedly).

Impact

Successful exploitation of this vulnerability can cause a kernel crash (denial of service) due to the use-after-free condition triggered during concurrent netns and veth device teardown. In more severe scenarios, use-after-free bugs in the kernel can potentially be leveraged for local privilege escalation, though no such exploitation has been publicly demonstrated for this specific CVE. The vulnerability primarily affects systems using veth pairs and nf_tables netdev hooks in containerized or virtualized environments where multiple network namespaces are destroyed concurrently (Feedly).

Indicators of compromise

  • Logs: Kernel logs (dmesg or /var/log/kern.log) showing KASAN reports such as BUG: KASAN: slab-use-after-free in nf_hook_entry_head+0x1b8/0x1d0 with a call trace involving nft_netdev_unregister_hooks, __nft_release_hook, and nf_tables_pre_exit_net.
  • Process: Workqueue task kworker/u*:*/cleanup_net appearing in stack traces associated with kernel panics or KASAN splats during container or network namespace teardown.
  • System Behavior: Unexpected kernel crashes or system instability occurring specifically during concurrent destruction of veth-connected network namespaces with active nf_tables netdev hooks.

Mitigation and workarounds

The fix has been backported to multiple stable Linux kernel releases: 5.15.113, 6.1.30, 6.3.4, and 6.4. Administrators should update to these or later stable kernel versions. The patch reverts the commit "netfilter: nf_tables: skip netdev events generated on netns removal" (commit 68a3765c659f) and ensures netdev hooks are always released via the notifier. As a workaround where patching is not immediately possible, avoiding concurrent teardown of veth-connected network namespaces with active nf_tables netdev rules may reduce exposure (Feedly, Kernel Patch 5.15, Kernel Patch 6.1).

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