Skip to main content

Linux Kernel mlx5e CVE-2026-64210

| EUVDEUVD-2026-48618 HIGH
Race Condition (CWE-362)
2026-07-24 Linux GHSA-p5xx-69g5-8564
7.5
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    IRQ affinity change triggers NAPI CPU migration
  2. Delivery
    Old CPU exits napi_complete_done() while new CPU starts mlx5e_xsk_alloc_rx_mpwqe()
  3. Exploit
    Old CPU calls mlx5e_trigger_irq() on ICOSQ without locking
  4. Install
    Both CPUs concurrently advance sq->pc and write wqe_info[]
  5. C2
    Malformed NOP WQE posted to hardware ICOSQ
  6. Execute
    ConnectX NIC returns bad CQE opcode 0xd
  7. Impact
    Kernel WARNING and ICOSQ availability disruption

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

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

Exploitation Conditions

All three of the following conditions must be simultaneously satisfied: (1) Linux kernel with mlx5_core/mlx5e loaded on a system with a Mellanox/NVIDIA ConnectX NIC - this is hardware-gated and non-default for most general-purpose Linux deployments; (2) AF_XDP (XSK) sockets actively in use on an mlx5e interface - this requires explicit application-level setup (e.g., a BPF/XDP program with XSK queue binding) and typically CAP_NET_RAW or CAP_SYS_ADMIN; (3) a CPU IRQ affinity change occurring during an active NAPI poll cycle on that interface, as triggered by irqbalance, manual smp_affinity writes, or NUMA rebalancing. The race window is narrow (timing between napi_complete_done() and the subsequent trigger_irq call), limiting reliable triggering. No remote attacker-controlled input drives the race - it is entirely an internal kernel scheduling artifact. Remote network traffic alone cannot trigger this without the above local configuration prerequisites.

Impact

The NVD-assigned CVSS vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5) substantially overstates real-world risk for this kernel-internal race condition. The actual attack vector is local (AV:L): the race is triggered by the kernel's own IRQ affinity management, not by an external network packet crafted by a remote attacker. Complexity is genuinely high (AC:H) because the race window requires concurrent NAPI execution across two CPUs during an affinity transition while AF_XDP traffic is active. Privileges required are at minimum low (PR:L), since AF_XDP socket creation typically requires CAP_NET_RAW or equivalent. There is no confidentiality or integrity impact - only availability. The EPSS score of 0.15% at the 5th percentile corroborates the extremely low exploitation probability; no KEV listing and no public exploit code exist. Operationally, even a mid-sized network operator in gliwice running a compact fleet of Mellanox-equipped servers with AF_XDP workloads would encounter this only as a transient kernel warning under irqbalance or NUMA rebalancing events, not as a remotely triggerable crash. The 'Information Disclosure' source tag is a mislabel - the actual impact class is Denial of Service.

Exploit ScenarioDerived

A Linux server with a Mellanox/NVIDIA ConnectX NIC runs a high-performance AF_XDP application (such as a DPDK-alternative packet forwarder). During normal operation, irqbalance or a NUMA rebalancing event shifts the mlx5e NAPI IRQ affinity to a different CPU while an XSK allocation is in progress. The old CPU exits napi_complete_done() and calls mlx5e_trigger_irq() on the ICOSQ without a lock, simultaneously with the new CPU advancing sq->pc by 10 inside mlx5e_xsk_alloc_rx_mpwqe(). The conflicting writes produce a malformed NOP WQE that the ConnectX hardware rejects with a 'Bad OP in ICOSQ CQE: 0xd' error, generating a kernel WARNING and disrupting the ICOSQ processing pipeline. No public exploit code exists; this manifests as an operationally-triggered availability event.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 16, 2026

Unlocked concurrent writes to the mlx5e ICOSQ (Internal Completion Queue Send Queue) in the Linux kernel's AF_XDP path allow a race condition during CPU affinity changes to corrupt work-queue state, producing bad CQEs and kernel warnings observed in production on Mellanox/NVIDIA ConnectX interfaces. Two distinct races exist: mlx5e_trigger_irq() racing with mlx5e_xsk_alloc_rx_mpwqe() across CPUs after NAPI completion, and mlx5e_trigger_irq() racing with mlx5e_trigger_napi_icosq() on the same path. The vulnerability manifests as an availability impact - corrupt ICOSQ entries trigger hardware-level error CQEs - with no public exploit code and EPSS at 0.15% (5th percentile), reflecting its operational rather than adversarial trigger.

RemediationAI

Update to a patched Linux kernel version (7.0.11, 7.1, or the appropriate stable-branch backport). Ubuntu users should apply the packages listed in USN-8618-1 at https://ubuntu.com/security/notices/USN-8618-1. For other distributions, apply the upstream stable patch commits referenced at https://git.kernel.org/stable/c/0c8f331485656d5937d56a488016b944a038fe2f and related commits. As a compensating control, disabling AF_XDP/XSK on mlx5e interfaces (avoiding AF_XDP socket creation on mlx5 devices) eliminates the vulnerable code path at the cost of zero-copy XDP processing performance. Alternatively, pinning NAPI/IRQ affinity to fixed CPUs via /proc/irq/N/smp_affinity and disabling irqbalance for mlx5 IRQs reduces the affinity-change trigger frequency, but does not close the race window entirely. Monitoring kernel logs for 'Bad OP in ICOSQ CQE' warnings provides operational detection of active triggering.

Affected VersionsENISA

Linux db05815b36cbd486c86fd002dfa81c9af6245e25 <8d3b91e7d81000d295cd914d4d9d6f860252e2bf
Linux 5.3
Linux patch: 7.0.11
Linux db05815b36cbd486c86fd002dfa81c9af6245e25 <c326f9c68921e2f14dfcecb2f6b4216313d50248
Linux patch: 0
Linux patch: 7.1

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 mlx5e driver supports AF_XDP zero-copy packet processing via XSK (eXpress Socket Kit). The ICOSQ is a shared hardware send queue used to post UMR (User Memory Region) work requests for XSK buffer registration. Access to this queue requires holding an associated lock to prevent concurrent sq->pc (producer counter) and wqe_info[] updates. During NAPI poll, napi_complete_done() clears the NAPI_STATE_SCHED bit, allowing the NAPI context to immediately migrate to a new CPU via napi_schedule_prep(). The old CPU then calls mlx5e_trigger_irq() on the ICOSQ post-migration without locking, racing with the new CPU already executing mlx5e_xsk_alloc_rx_mpwqe(), which posts 640-byte UMR bodies and advances sq->pc by 10. The overlapping writes produce malformed NOP WQEs that the hardware rejects with opcode error 0xd (syndrome 0x2/0x5). The CWE is listed as N/A but the root cause is CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization). The fix redirects triggering to the async ICOSQ, which is always protected. CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

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.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.7 MEDIUM

Local kernel race requiring AF_XDP-capable privilege (PR:L), specific hardware and concurrent affinity-change timing (AC:H); availability-only impact, no remote vector.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 5.5 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Jul 27, 2026 - 05:22 NVD
7.5 (HIGH)
Patch available
Jul 24, 2026 - 17:48 EUVD
CVE Published
Jul 24, 2026 - 15:23 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 24, 2026 - 15:23 cve.org
HIGH 7.5

DescriptionCVE.org

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

net/mlx5e: xsk: Fix unlocked writing to ICOSQ

During napi poll, when the affinity changes and there's still XSK work to be done, we trigger an ICOSQ interrupt on the new CPU. However, this triggering on the ICOSQ is done unprotected.

There are 2 such races:

A) mlx5e_trigger_irq() is called while mlx5e_xsk_alloc_rx_mpwqe() is running from a different CPU due to affinity change. This can happen because IRQ triggering is done after napi_complete_done(). At this point the NAPI can be scheduled on a different CPU. Like this:

CPU A (old affinity, NAPI tail) CPU B (new affinity, fresh NAPI) ------------------------------- -------------------------------- napi_complete_done() clears SCHED mlx5e_cq_arm(...) napi_schedule_prep() sets SCHED mlx5e_napi_poll() mlx5e_xsk_alloc_rx_mpwqe() mlx5e_icosq_sync_lock() // noop memcpy 640 B UMR body advance sq->pc by 10 mlx5e_trigger_irq(&c->icosq) wqe_info[pi] = {NOP, 1} mlx5e_post_nop() advances sq->pc

B) mlx5e_trigger_irq() is called on the ICOSQ when mlx5e_trigger_napi_icosq() is running.

The obvious fix would be to lock the ICOSQ. But ICOSQ has an optimized locking scheme that doesn't work for this scenario. Kick the async ICOSQ instead which is always locked.

This issue was noticed in the wild with the following splat:

netdevice: ge-0-0-1: Bad OP in ICOSQ CQE: 0xd WARNING: drivers/net/ethernet/mellanox/mlx5/core/en_rx.c:826 [...] [...] Call Trace: <IRQ> mlx5e_napi_poll+0x11d/0x7f0 [mlx5_core] __napi_poll+0x30/0x200 ? skb_defer_free_flush+0x9c/0xc0 net_rx_action+0x2fe/0x3f0 handle_softirqs+0xd8/0x340 __irq_exit_rcu+0xbc/0xe0 common_interrupt+0x85/0xa0 </IRQ> <TASK> asm_common_interrupt+0x26/0x40 [...] ---[ end trace 0000000000000000 ]--- mlx5_core 0000:08:00.0 ge-0-0-1: Error cqe on cqn 0x548, ci 0x2022, qn 0x8f4, opcode 0xd, syndrome 0x2, vendor syndrome 0x68 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000030: 00 00 00 00 01 00 68 02 01 00 08 f4 de 14 59 d2 WQE DUMP: WQ size 16384 WQ cur size 0, WQE index 0x1e14, len: 64 00000000: 00 00 00 01 d9 ed 80 02 00 00 00 01 d9 ed 90 02 00000010: 00 00 00 01 d9 ed a0 02 00 00 00 01 d9 ed b0 02 00000020: 00 00 00 01 d9 ed c0 02 00 00 00 01 d9 ed d0 02 00000030: 00 00 00 01 d9 ed e0 02 00 00 00 01 d9 ed f0 02 mlx5_core 0000:08:00.0 ge-0-0-1: Error cqe on cqn 0x548, ci 0x2023, qn 0x8f4, opcode 0xd, syndrome 0x5, vendor syndrome 0xf9 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000030: 00 00 00 00 01 00 f9 05 01 00 08 f4 de 15 cf d2

Executive ViewAI

Why It Matters

The Linux kernel mlx5e driver on Mellanox/NVIDIA ConnectX network interfaces contains a race condition in the AF_XDP network path that corrupts work-queue state during CPU affinity changes, causing kernel warnings and network service degradation. Organizations running high-performance networking workloads on these adapters face availability risks requiring prompt patching. The vulnerability is triggered by operational conditions rather than deliberate attack, with no known public exploits.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
Mellanox/NVIDIA ConnectX NICs common in data center and HPC Linux deployments
Data Quality
6 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.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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