Skip to main content

Linux EUVDEUVD-2026-15307

| CVE-2026-23340 HIGH
Use After Free (CWE-416)
2026-03-25 Linux GHSA-27rj-chmq-rh6r
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local authenticated shell
  2. Delivery
    Establish high-bandwidth network flow (iperf3/UDP flood)
  3. Exploit
    Repeatedly toggle NIC queue pairs (ethtool -L)
  4. Execution
    Trigger UAF race in qdisc_reset_all_tx_gt()
  5. Persist
    Corrupt freed skb structures during concurrent dequeue
  6. Impact
    Execute arbitrary kernel code

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires local authenticated access with CAP_NET_ADMIN capability to execute ethtool commands for modifying network interface queue pair configurations. Exploitation targets systems using lockless qdisc implementations (TCQ_F_NOLOCK flag set), confirmed on virtio-net multi-queue NICs but potentially affecting other lockless drivers. Attack requires concurrent network traffic during queue reconfiguration to create timing window for the race condition between qdisc_reset_all_tx_gt() and __qdisc_run() dequeue operations. Most effective when repeatedly changing queue counts (ethtool -L) under sustained high packet rate. Standard Linux systems limit CAP_NET_ADMIN to root or explicitly privileged processes, significantly restricting attack surface. However, many container runtimes and virtualization platforms grant this capability for network performance tuning, expanding exposure in cloud and multi-tenant environments. Default configurations of physical servers typically do not allow unprivileged queue reconfiguration, limiting exploitation to environments where network admin capabilities are delegated.

Impact

Real-world risk is moderate despite high CVSS 7.8 score. CVSS vector (AV:L/AC:L/PR:L/UI:N) indicates local authenticated access with low attack complexity, requiring legitimate system access but no user interaction. EPSS score of 0.02% (7th percentile) suggests extremely low likelihood of widespread exploitation. No CISA KEV listing confirms this is not being actively exploited. However, several factors increase concern: (1) a reliable reproducer exists using standard networking tools (iperf3, ethtool), lowering the skill barrier; (2) UAF primitives are high-value for privilege escalation chains; (3) virtio-net is widely deployed in cloud/virtualization environments where tenants may have ethtool access. SSVC assessment: exploitation status is none, automatable is no (requires authenticated access to run specific commands), technical impact is total (arbitrary code execution with kernel privileges). The contradiction between high CVSS and low EPSS reflects that while the vulnerability is severe when triggered, the prerequisite of local authenticated access to modify network interface settings significantly limits attack surface in production environments with proper access controls. Priority should increase in multi-tenant virtualized environments or containers where users have CAP_NET_ADMIN capabilities.

Exploit ScenarioDerived

An authenticated user with CAP_NET_ADMIN capability on a virtualized system using virtio-net initiates high-bandwidth UDP traffic using iperf3 to generate continuous packet flow through lockless qdiscs. Concurrently, they rapidly toggle network queue pairs using ethtool -L commands (e.g., alternating between 1 and 2 combined queues), creating repeated race conditions where qdisc_reset_all_tx_gt() frees socket buffers while __qdisc_run() still holds references. The attacker leverages the use-after-free to corrupt kernel memory structures, achieving arbitrary code execution with kernel privileges. In cloud environments where tenant VMs have ethtool access for performance tuning, this could enable container escape or privilege escalation.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Apr 18, 2026

Use-after-free in Linux kernel network traffic control subsystem allows local authenticated attackers to execute arbitrary code with high privileges when changing network queue pair configurations on lockless qdiscs (virtio-net confirmed affected). Race condition between qdisc_reset_all_tx_gt() and dequeue operations causes memory to be freed while still in use. Vendor-released patches available for stable kernel branches 6.1.167, 6.6.130, 6.12.77, 6.18.17, 6.19.7, and mainline 7.0-rc3. EPSS exploitation probability is low (0.02%, 7th percentile) and no active exploitation confirmed at time of analysis, though a reliable reproducer exists using iperf3 and ethtool queue manipulation.

Earlier versions of this analysis (1)
v1 Mar 25, 2026 - 10:45 CVSS 7.8

A use-after-free (UAF) vulnerability exists in the Linux kernel's network queue discipline (qdisc) subsystem when shrinking the number of transmit queues on network interfaces. The vulnerability occurs because qdisc_reset_all_tx_gt() can reset and free skb buffers concurrently with the lockless dequeue path (qdisc_run_begin/end), allowing freed memory to be accessed during packet dequeuing. All Linux kernels with lockless qdisc support are affected, and the vulnerability has been demonstrated via a practical reproduction case involving virtio-net devices under heavy traffic while changing queue pair counts. Multiple stable kernel patches are available addressing the issue.

RemediationAI

Upgrade to patched kernel versions: 6.1.167+ for 6.1.x branch, 6.6.130+ for 6.6.x, 6.12.77+ for 6.12.x, 6.18.17+ for 6.18.x, 6.19.7+ for 6.19.x, or 7.0-rc3+ for mainline kernels. Patches available via git.kernel.org stable tree commits 7594467c49bf (mainline), dbd58b0730aa, 5bc4e69306ed, 8314944cc3bd, c69df4e0524f, and 7f083faf59d1 for respective branches. For systems where immediate patching is not feasible, restrict access to network interface configuration capabilities by removing CAP_NET_ADMIN from untrusted users and containers, though this breaks legitimate use cases requiring dynamic queue reconfiguration. Avoid frequently changing ethtool queue pair settings under heavy network load as this triggers the race condition. Consider switching to traditional (non-lockless) qdiscs by rebuilding network drivers without lockless optimizations, though this significantly impacts performance on multi-queue NICs. Monitor for unusual ethtool invocations combined with high network traffic as potential exploitation attempts. No effective runtime workaround exists that preserves full functionality; kernel upgrade is the primary remediation path.

Affected VersionsENISA

Linux patch: 6.1.167
Linux patch: 6.6.130
Linux patch: 6.12.77
Linux patch: 6.18.17
Linux 6b3ba9146fe64b9bebb6346c9dcfe3b4851de2d7 <c69df4e0524f8de8e176ba389acd83e85f5f49d0
Linux patch: 0
Linux 6b3ba9146fe64b9bebb6346c9dcfe3b4851de2d7 <8314944cc3bdeaa5a73e6f8a8cf0d94822e625cb
Linux patch: 7.0-rc3
Linux 6b3ba9146fe64b9bebb6346c9dcfe3b4851de2d7 <7f083faf59d14c04e01ec05a7507f036c965acf8
Linux 6b3ba9146fe64b9bebb6346c9dcfe3b4851de2d7 <dbd58b0730aa06ab6ad26079cf9a5b6b58e7e750
Linux 6b3ba9146fe64b9bebb6346c9dcfe3b4851de2d7 <5bc4e69306ed7ae02232eb4c0b23ed621a26d504
Linux 4.16
Linux patch: 6.19.7
Linux 6b3ba9146fe64b9bebb6346c9dcfe3b4851de2d7 <7594467c49bfc2f4644dee0415ac2290db11fa0d

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability affects the Linux kernel's network traffic control (qdisc) subsystem, specifically the interaction between queue discipline reset operations and packet dequeue paths for lockless qdiscs introduced in kernel 4.16. Traditional qdiscs use qdisc_lock() for serialization, but lockless qdiscs (optimized for multi-queue network devices like virtio-net) use qdisc->seqlock with qdisc_run_begin/end() primitives. When netif_set_real_num_tx_queues() reduces active transmit queues, it calls qdisc_reset_all_tx_gt() to flush queues that will no longer be used. The reset function acquired only qdisc_lock(), assuming this would prevent concurrent access. However, lockless qdiscs serialize their dequeue path (__qdisc_run()) via seqlock instead, creating a window where qdisc_reset() can free socket buffers while __qdisc_run() still references them. The fix serializes reset operations against lockless dequeue by acquiring qdisc->seqlock for TCQ_F_NOLOCK qdiscs and clearing QDISC_STATE_NON_EMPTY after reset, matching the serialization model in dev_reset_queue(). This represents a classic TOCTOU race in concurrent systems where different code paths use incompatible locking primitives.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE 6.4 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 18, 2026 - 09:36 vuln.today
v2 - CVSS changed
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 25, 2026 - 10:27 nvd
HIGH 7.8

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

net: sched: avoid qdisc_reset_all_tx_gt() vs dequeue race for lockless qdiscs

When shrinking the number of real tx queues, netif_set_real_num_tx_queues() calls qdisc_reset_all_tx_gt() to flush qdiscs for queues which will no longer be used.

qdisc_reset_all_tx_gt() currently serializes qdisc_reset() with qdisc_lock(). However, for lockless qdiscs, the dequeue path is serialized by qdisc_run_begin/end() using qdisc->seqlock instead, so qdisc_reset() can run concurrently with __qdisc_run() and free skbs while they are still being dequeued, leading to UAF.

This can easily be reproduced on e.g. virtio-net by imposing heavy traffic while frequently changing the number of queue pairs:

iperf3 -ub0 -c $peer -t 0 & while :; do ethtool -L eth0 combined 1 ethtool -L eth0 combined 2 done

With KASAN enabled, this leads to reports like:

BUG: KASAN: slab-use-after-free in __qdisc_run+0x133f/0x1760 ... Call Trace: <TASK> ... __qdisc_run+0x133f/0x1760 __dev_queue_xmit+0x248f/0x3550 ip_finish_output2+0xa42/0x2110 ip_output+0x1a7/0x410 ip_send_skb+0x2e6/0x480 udp_send_skb+0xb0a/0x1590 udp_sendmsg+0x13c9/0x1fc0 ... </TASK>

Allocated by task 1270 on cpu 5 at 44.558414s: ... alloc_skb_with_frags+0x84/0x7c0 sock_alloc_send_pskb+0x69a/0x830 __ip_append_data+0x1b86/0x48c0 ip_make_skb+0x1e8/0x2b0 udp_sendmsg+0x13a6/0x1fc0 ...

Freed by task 1306 on cpu 3 at 44.558445s: ... kmem_cache_free+0x117/0x5e0 pfifo_fast_reset+0x14d/0x580 qdisc_reset+0x9e/0x5f0 netif_set_real_num_tx_queues+0x303/0x840 virtnet_set_channels+0x1bf/0x260 [virtio_net] ethnl_set_channels+0x684/0xae0 ethnl_default_set_doit+0x31a/0x890 ...

Serialize qdisc_reset_all_tx_gt() against the lockless dequeue path by taking qdisc->seqlock for TCQ_F_NOLOCK qdiscs, matching the serialization model already used by dev_reset_queue().

Additionally clear QDISC_STATE_NON_EMPTY after reset so the qdisc state reflects an empty queue, avoiding needless re-scheduling.

Executive ViewAI

Why It Matters

A use-after-free vulnerability in the Linux kernel's network traffic control subsystem (CVE-2026-23340) allows authenticated local users to execute arbitrary code with elevated privileges, affecting systems running vulnerable kernel versions with lockless queue disciplines such as virtio-net. Organizations operating Linux infrastructure must prioritize patching to prevent privilege escalation attacks from authenticated users with network access.

Business Impact: High
Compensating Controls

Apply vendor patch. If patching cannot be immediately deployed: restrict network queue pair reconfiguration via ethtool to trusted administrators only, disable lockless qdisc configurations where operationally feasible, and implement kernel module signing and execution restrictions to limit local code execution impact.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
3
1 source
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

Debian

linux
Release Status Fixed Version Urgency
bullseye vulnerable 5.10.223-1 -
bullseye (security) vulnerable 5.10.251-1 -
bookworm vulnerable 6.1.159-1 -
bookworm (security) vulnerable 6.1.164-1 -
trixie vulnerable 6.12.73-1 -
trixie (security) vulnerable 6.12.74-2 -
forky, sid fixed 6.19.8-1 -
(unstable) fixed 6.19.8-1 -

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

Threat IntelligenceMISP

Sources: CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy