CVE-2023-53188
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-53188 is a race condition vulnerability in the Linux kernel's Open vSwitch (OVS) net/openvswitch subsystem, specifically in the port output path. The flaw occurs when a network namespace is deleted concurrently with active packet transmission through an OVS bridge, causing real_num_tx_queues to be set to zero while packets are still being forwarded, resulting in an infinite loop in skb_tx_hash. Affected kernel versions include 4.3–5.4.293, 5.5–5.10.237, 5.11–5.15.181, 5.16–6.1.25, 6.2–6.2.12, and 6.3-rc1 through rc6. It was published on September 15, 2025, with a CVSS v3.1 base score of 4.7 (Medium) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is a race condition (CWE-362) in the OVS do_output function. During network namespace deletion, unregister_netdevice_many_notify sets NETREG_UNREGISTERING on veth interfaces and calls netdev_unregister_kobject, which sets real_num_tx_queues to 0. However, because OVS defers vport deletion to a background worker (requiring ovs_lock), a window exists where packets can still be forwarded to the unregistering device via dev_queue_xmit. In skb_tx_hash, if a packet has a recorded rx_queue and real_num_tx_queues is zero, the modulo operation enters an infinite while loop, stalling the CPU. The fix updates do_output to treat devices without carrier (i.e., in an unregistering state) the same as a missing device, and adds a warning in skb_tx_hash to detect the infinite loop condition (Red Hat Bugzilla).

Impact

Successful exploitation causes a denial of service (DoS) by locking a CPU core in an infinite loop, rendering it unresponsive. There is no confidentiality or integrity impact — the vulnerability is purely an availability issue affecting the host kernel. Systems running OVS-based networking (e.g., OpenStack, Kubernetes with OVS-CNI, or similar SDN deployments) with multi-queue veth interfaces are most at risk, as the condition requires specific network topology and concurrent namespace teardown (Red Hat Advisory).

Exploitability

No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation. The vulnerability requires local access with low privileges and high attack complexity, as triggering the race condition requires precise timing between high-volume parallel network requests (~3000 concurrent connections) and simultaneous network namespace deletion. The EPSS score is 0.024% (very low probability of exploitation). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (Red Hat Advisory).

Exploitation steps

  1. Setup prerequisite environment: On a Linux host with Open vSwitch, create an OVS bridge with two interfaces (server and client), each backed by a veth pair with 32 rx/tx queues, and move the veth ends into separate network namespaces with IP addresses in the same subnet.
  2. Start a network service: Launch an HTTP server inside the server network namespace.
  3. Generate high-volume traffic: From the client namespace (or externally), send approximately 3,000 parallel HTTP requests to the server (e.g., using curl in a loop or a tool like ab or wrk).
  4. Trigger concurrent namespace deletion: While the traffic flood is in progress, delete the network namespace (e.g., ip netns del server) without explicitly removing interfaces or stopping the server — this triggers unregister_netdevice_many_notify.
  5. Race condition fires: If timing aligns, real_num_tx_queues is set to 0 before the OVS vport background deletion completes, causing skb_tx_hash to enter an infinite loop on the processing CPU.
  6. Observe DoS: The affected CPU becomes stuck (visible via kernel CPU stuck messages or bpftrace on __dev_queue_xmit and skb_tx_hash), resulting in a denial of service condition (Red Hat Bugzilla).

Indicators of compromise

  • Logs: Kernel messages indicating a CPU stuck in a soft lockup or RCU stall, e.g., BUG: soft lockup - CPU#X stuck for Xs; kernel warnings from skb_tx_hash about real_num_tx_queues being zero.
  • Process/System Behavior: A CPU core pegged at 100% utilization with no apparent user-space process responsible; system responsiveness degradation on the affected host.
  • Network: Sudden spike in concurrent connections to a service running inside a network namespace, immediately followed by namespace deletion activity visible in audit logs or ip netns monitoring.

Mitigation and workarounds

The primary remediation is to update the Linux kernel to a patched version: 5.4.293+, 5.10.237+, 5.15.181+, 6.1.25+, or 6.2.12+. The fix modifies do_output in the OVS subsystem to treat unregistering devices (those without carrier) as absent, preventing packet forwarding to them. For systems that cannot be patched immediately, operators should avoid concurrent high-volume traffic and network namespace deletion, monitor OVS-based environments for unusual CPU utilization, and consider limiting the number of tx queues on veth interfaces used with OVS. Kernel patches are available via the stable kernel tree (Red Hat Advisory, Red Hat Bugzilla).

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-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74726NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 22, 2026
CVE-2026-74719NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 22, 2026
CVE-2026-74717NONEN/A
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesAug 22, 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