cve.bz

CVE-2023-54200 linux linux

7.8 highEPSS 0.1%Fix available

High (7.8) in linux linux. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: always release netdev hooks from notifier This reverts "netfilter: nf_tables: skip netdev events generated on netns removal". The problem is that when a veth device is released, the veth release callback will also queue the peer netns device for removal. Its possible that the peer netns is also slated for removal. In this case, the device memory is already released before the pre_exit hook of the peer netns runs: BUG: KASAN: slab-use-after-free in nf_hook_entry_head+0x1b8/0x1d0 Read of size 8 at addr ffff88812c0124f0 by task kworker/u8:1/45 Workqueue: netns cleanup_net Call Trace: nf_hook_entry_head+0x1b8/0x1d0 __nf_unregister_net_hook+0x76/0x510 nft_netdev_unregister_hooks+0xa0/0x220 __nft_release_hook+0x184/0x490 nf_tables_pre_exit_net+0x12f/0x1b0 .. Order is: 1. First netns is released, veth_dellink() queues peer netns device for removal 2. peer netns is queued for removal 3. peer netns device is released, unreg event is triggered 4. unreg event is ignored because netns is going down 5. pre_exit hook calls nft_netdev_unregister_hooks but device memory might be free'd already.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 4th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Linux Linux: fixed in 5.15.113
  • Linux Linux: fixed in 6.1.30
  • Linux Linux: fixed in 6.3.4
  • Linux Linux: fixed in 6.4
  • Debian, Ubuntu, Red Hat, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2023-54200 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-54200?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-54200?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-54200 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-54200

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-54200](https://cve.bz/cve/badge/CVE-2023-54200.svg)](https://cve.bz/cve/CVE-2023-54200)

HTML:

<a href="https://cve.bz/cve/CVE-2023-54200"><img src="https://cve.bz/cve/badge/CVE-2023-54200.svg" alt="CVE-2023-54200"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 5.14.15 before 5.15
Linux5.15 and later

Fixed in

ProductRelease lineFixed in
Linux5.155.15.113
Linux6.16.1.30
Linux6.36.3.4
Linuxlater releases6.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.37-1DEBIAN-CVE-2023-54200
Debian13, 14linux6.3.7-1DEBIAN-CVE-2023-54200
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-54200
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-54200
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1044.49~20.04.1UBUNTU-CVE-2023-54200
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1046.53~20.04.1UBUNTU-CVE-2023-54200
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1041.49~20.04.1UBUNTU-CVE-2023-54200
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2023-54200
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-83.92~20.04.1UBUNTU-CVE-2023-54200
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1037.40~20.04.1UBUNTU-CVE-2023-54200
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1040.46~20.04.1UBUNTU-CVE-2023-54200
Ubuntu20.04:LTSlinux-nvidia-tegra-5.155.15.0-1017.17~20.04.1UBUNTU-CVE-2023-54200
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1042.48~20.04.1UBUNTU-CVE-2023-54200
Ubuntu20.04:LTSlinux-riscv-5.155.15.0-1040.44~20.04.3UBUNTU-CVE-2023-54200
20 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 24 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 41 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 12 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Alpaquitastreamlinux-lts6.6.58-r0BELL-CVE-2023-54200

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A moderate use-after-free flaw was found in the Linux kernel's netfilter/nf_tables subsystem in Red Hat Enterprise Linux 8 (kernel and kernel-rt, across its update streams) and the Red Hat Enterprise Linux 9.0 and 9.2 update streams. When a virtual Ethernet (veth) device is released, the veth release callback also queues the peer network namespace's device for removal; if that peer network namespace is itself being torn down, the device memory can already be freed when the nf_tables pre_exit hook later unregisters the netdev hooks, resulting in a slab use-after-free during network namespace cleanup. A local attacker with the high privileges needed to configure network namespaces, veth devices, and nftables netdev hooks could exploit this flaw during namespace teardown to crash the kernel, resulting in a denial of service. Red Hat rates this flaw Moderate rather than the upstream CVEORG Important severity because exploitation requires a highly privileged local attacker, the attack complexity is high, and the practical consequence is limited to system availability. The fix for the affected Red Hat Enterprise Linux 8 and 9 streams is currently deferred to a future maintenance update, so the residual risk remains a local, privilege-gated denial of service triggered during network namespace teardown. Red Hat Enterprise Linux 6 and 7, the later Red Hat Enterprise Linux 9 update streams (9.4 onward), Red Hat Enterprise Linux 10, and Red Hat In-Vehicle OS are not affected because the vulnerable code is not present in those kernels.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelFix deferred
Red Hat Enterprise Linux 8kernel-rtFix deferred
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-54200.

References

Check your stackJSON