
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-23340 is a use-after-free (UAF) vulnerability in the Linux kernel's network traffic scheduler (qdisc) subsystem, caused by a race condition between qdisc_reset_all_tx_gt() and the lockless dequeue path. When the number of real transmit queues is reduced, qdisc_reset() can execute concurrently with __qdisc_run() for lockless qdiscs, freeing socket buffers (skbs) while they are still being dequeued. Affected Linux kernel versions include 4.16.1 through 5.15.202, 5.16 through 6.1.166, 6.2 through 6.6.129, 6.7 through 6.12.76, and 6.13 through 6.18.16, as well as Microsoft Azure Linux 3 kernel 6.6.126.1-1. The vulnerability was disclosed on March 25, 2026, and carries a CVSS v3.1 base score of 7.8 (High) (Red Hat Bugzilla, Microsoft MSRC).
The root cause is a race condition (CWE-364) leading to a use-after-free (CWE-416) in the Linux kernel's net/sched subsystem. When netif_set_real_num_tx_queues() shrinks the number of TX queues, it calls qdisc_reset_all_tx_gt(), which serializes qdisc_reset() using qdisc_lock(). However, lockless qdiscs (those with the TCQ_F_NOLOCK flag) use qdisc->seqlock via qdisc_run_begin/end() for their dequeue path — not qdisc_lock() — meaning qdisc_reset() can race with __qdisc_run() and free skbs that are still actively being dequeued. The fix serializes qdisc_reset_all_tx_gt() against the lockless dequeue path by acquiring qdisc->seqlock for TCQ_F_NOLOCK qdiscs, mirroring the approach already used by dev_reset_queue(). The vulnerability is reproducible on virtio-net by combining heavy UDP traffic with rapid ethtool -L queue pair changes, triggering KASAN slab-use-after-free reports in __qdisc_run() (Red Hat Bugzilla).
Successful exploitation allows a local attacker with low privileges to trigger kernel crashes (denial of service) via use-after-free conditions in the network scheduler. Beyond crashes, the vulnerability has high confidentiality, integrity, and availability impact, with potential for arbitrary code execution at kernel privilege level on the local system. Affected assets include any Linux system using lockless qdiscs on network interfaces that support dynamic queue reconfiguration (e.g., virtio-net), which is common in virtualized and cloud environments (Red Hat Bugzilla, Feedly).
iperf3 to saturate the network interface and keep the qdisc dequeue path (__qdisc_run) continuously active: iperf3 -ub0 -c <peer> -t 0 ðtool, triggering netif_set_real_num_tx_queues() → qdisc_reset_all_tx_gt() in a tight loop:while :; do
ethtool -L eth0 combined 1
ethtool -L eth0 combined 2
doneqdisc_reset() (via queue shrink) and __qdisc_run() (via active dequeue) on a lockless qdisc causes skbs to be freed while still in use, resulting in a use-after-free.dmesg / /var/log/kern.log) containing BUG: KASAN: slab-use-after-free in __qdisc_run with call traces through __dev_queue_xmit, ip_finish_output2, udp_sendmsg; entries showing pfifo_fast_reset and qdisc_reset in the freed-by trace.ethtool -L <iface> combined <N> by a low-privileged user, particularly in a tight loop; concurrent high-bandwidth UDP traffic generation (e.g., iperf3) from the same user or process group.net/sched or qdisc subsystems.Apply kernel updates that include the fix for the qdisc_reset_all_tx_gt() race condition. Patched versions are available across stable kernel series: 5.15.203 (5.15.x), 6.1.167 (6.1.x), 6.6.130 (6.2–6.6.x), 6.12.77 (6.7–6.12.x), 6.18.17 (6.13–6.18.x), and 6.19.7 (6.19.x). Distribution-specific patches have been released by Red Hat, Microsoft (Azure Linux 3), Debian (DSA-6238, DSA-6243, DLA-4561), Amazon Linux 2023, SUSE, and openSUSE. As a temporary workaround where patching is not immediately possible, avoid dynamically changing the number of TX queue pairs on lockless-qdisc interfaces under heavy traffic load (Red Hat Bugzilla, Feedly).
The vulnerability was reported via the upstream Linux kernel CVE announcement list (linux-cve-announce) and tracked by Red Hat's OSIDB system. Multiple major Linux distributions — including Debian, Amazon Linux, SUSE, and openSUSE — have issued security advisories and patched packages. Microsoft acknowledged the issue for Azure Linux 3 via the MSRC advisory portal. No notable independent researcher commentary or significant social media discussion has been identified beyond standard distribution advisory channels (Red Hat Bugzilla, Microsoft MSRC).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."