Skip to main content

Linux Kernel CVE-2026-72072

| EUVDEUVD-2026-59030 HIGH
Use After Free (CWE-416)
2026-08-15 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-5679-rjmw-gc7q
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Gain low-privileged local access
  2. Delivery
    Confirm mlx5e NIC with MACsec offload active
  3. Exploit
    Sustain or await concurrent RX traffic on target SC
  4. Execution
    Trigger RX SC deletion
  5. Persist
    Race datapath reader to freed metadata_dst
  6. Impact
    Exploit kernel UAF for privilege escalation or denial of service

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

Exploitation requires all of the following: (1) the target host must be equipped with a Mellanox/NVIDIA mlx5-based NIC (e.g., ConnectX-4 or later) - systems without such hardware are entirely unaffected; (2) MACsec hardware offload must be explicitly configured and active on that NIC, which is a deliberate administrator action and non-default in most deployments; (3) the attacker must hold a low-privileged local account (CVSS PR:L confirmed) with sufficient access to trigger RX SC deletion, either directly or by inducing an administrative action; (4) concurrent RX traffic must be flowing on the targeted SC during the deletion to open the race window. The race window is narrow, requiring timing between the delete path's metadata_dst_free() call and the datapath's dst_hold(). Remote unauthenticated exploitation is ruled out by AV:L and PR:L. Environments without mlx5e NICs or without active MACsec offload configuration are not at risk.

Impact

The vendor-assigned CVSS 7.8 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) captures the local exploitation path and high-impact triad accurately, though AC:L may be slightly optimistic given the race-condition timing requirement. The EPSS score of 0.21% at the 12th percentile correctly reflects the low probability of broad automated exploitation - this vulnerability demands highly specific prerequisites (mlx5e NIC, active MACsec offload, local access, race window) that are absent from most environments. There is no CISA KEV listing and no public exploit code, further confirming this as a low-immediacy but technically serious kernel UAF. Despite these mitigating factors, even a mid-sized municipal IT team in tczew operating data-center infrastructure with Mellanox/NVIDIA NICs and MACsec offload enabled should treat patching as urgent, since kernel UAF vulnerabilities with C:H/I:H/A:H impact have historically been weaponized for local privilege escalation once the race timing is understood. The gap between CVSS 7.8 and the low EPSS is consistent with a niche driver vulnerability: high theoretical impact, low real-world exposure. No conflicting data detected; CVSS vector and description are mutually consistent.

Exploit ScenarioDerived

A local low-privileged user on a server with a Mellanox/NVIDIA ConnectX NIC running MACsec hardware offload initiates or waits for high-rate RX traffic on an active MACsec SC, then triggers deletion of that SC (e.g., via a MACsec management interface accessible to their account). If the RX datapath's rcu_read_lock() critical section in mlx5e_macsec_offload_handle_rx_skb() races the deletion, it accesses the freed metadata_dst object, enabling a use-after-free that - depending on kernel heap layout - could be leveraged for local privilege escalation or a kernel panic. No public exploit code exists at time of analysis, making this scenario currently theoretical but technically consistent with established kernel UAF exploitation techniques.

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 – Aug 17, 2026

Use-after-free and initialization-order race conditions in the Linux kernel's mlx5e MACsec hardware offload driver allow a local low-privileged user to corrupt kernel memory during RX Security Channel deletion. The delete path in macsec_del_rxsc_ctx() called metadata_dst_free() unconditionally, bypassing reference counting, while concurrent RX datapath readers operating under rcu_read_lock() could still hold and dereference the freed dst object. A secondary race in the add path published the SC's xarray entry before md_dst was fully initialized, allowing readers to observe NULL or partially-constructed pointers. Patches are available across multiple stable branches (6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2-rc2); no public exploit has been identified at time of analysis.

RemediationAI

The primary remediation is to upgrade to a patched kernel version: 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, or 7.2-rc2, depending on the deployed stable branch. Fix commits are available at git.kernel.org/stable/c/ for each branch (see references: 218cc15a, 4a5073b7, b1a4d0c5, de74d8fd, ed3cc421, 088873af). For systems where immediate kernel upgrade is not feasible, a targeted compensating control is to disable MACsec hardware offload on the affected NIC using 'ip link set <macsec-dev> type macsec offload off', which forces MACsec processing into software and removes the vulnerable mlx5e offload code path entirely; the trade-off is increased CPU overhead for MACsec packet processing. Restricting local user access on systems with mlx5e MACsec offload active (minimizing accounts with shell access) reduces the attack surface until patching is complete. Note that the description explicitly flags a separate pre-existing issue - kfree of rx_sc->sc_xarray_element without an RCU grace period - as unresolved in these patches; monitor for a follow-up fix.

Affected VersionsENISA

Linux b7c9400cbc48c3713190b3bce4e0c87e924e4104 <218cc15a4c907659ad4b0e68c535c61594311205
Linux patch: 6.1.178
Linux b7c9400cbc48c3713190b3bce4e0c87e924e4104 <4a5073b7b30243658f58b2d2d35a823da7fd34d9
Linux patch: 6.12.97
Linux patch: 7.2-rc2
Linux 6.1
Linux b7c9400cbc48c3713190b3bce4e0c87e924e4104 <b1a4d0c568bbb52c7c04f4fce3c097dae89ed6cb
Linux patch: 6.6.145
Linux patch: 7.1.5
Linux b7c9400cbc48c3713190b3bce4e0c87e924e4104 <de74d8fd10291763d97b218f09adcc7513c975e4
Linux patch: 6.18.40
Linux b7c9400cbc48c3713190b3bce4e0c87e924e4104 <088873af13590ebde10de2ade847f57a05ec61c6
Linux patch: 0
Linux b7c9400cbc48c3713190b3bce4e0c87e924e4104 <ed3cc4218070d6b98bf5fb456dccae424fd38c4f

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 resides in net/mlx5e, the driver for Mellanox/NVIDIA ConnectX-series NICs, specifically its MACsec (IEEE 802.1AE) hardware offload subsystem. MACsec provides authenticated link-layer encryption; the mlx5e driver accelerates this in NIC firmware via RX Security Channels (SCs) tracked in an XArray. Two interrelated races exist: (1) macsec_del_rxsc_ctx() called metadata_dst_free() - which unconditionally kfrees the dst object - while mlx5e_macsec_offload_handle_rx_skb() concurrently looked up the same SC via xa_load() under rcu_read_lock(), called dst_hold(), and attached it to an skb via skb_dst_set(), creating a classic use-after-free (CWE-416) window; (2) macsec_add_rxsc() called xa_alloc() to publish the SC in the xarray before rx_sc->md_dst was allocated and initialized, so a concurrent datapath reader could observe a NULL md_dst or, on weakly-ordered architectures, a non-NULL pointer whose backing memory was not yet visible. The fixes replace metadata_dst_free() with dst_release() (reference-counted), convert the datapath to dst_hold_safe() to fail gracefully on a zero-refcount dst, add NULL-checks on both xa_load() and md_dst in the datapath, and reorder xa_alloc() in the add path so publication occurs only after full md_dst initialization, establishing a proper RCU publish-subscribe pairing.

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 (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Race condition requires precise timing between SC deletion and concurrent RX datapath reader, justifying AC:H over the vendor-assigned AC:L; all other metrics align with description and CVSS PR:L.

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

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

Lifecycle Timeline

4
CVSS changed
Aug 17, 2026 - 06:22 NVD
7.8 (HIGH)
Patch available
Aug 15, 2026 - 07:20 EUVD
CVE Published
Aug 15, 2026 - 06:21 cve.org
HIGH 7.8
CVE Published
Aug 15, 2026 - 06:21 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

net/mlx5e: macsec: fix use-after-free of metadata_dst on RX SC delete

When an offloaded MACsec RX SC is deleted, macsec_del_rxsc_ctx() freed the per-SC metadata_dst with metadata_dst_free(), which kfree()s the object unconditionally and ignores the dst reference count. The RX datapath in mlx5e_macsec_offload_handle_rx_skb() looks up the SC under rcu_read_lock() via xa_load(), takes a reference with dst_hold() and attaches the dst to the skb with skb_dst_set(). A reader that already obtained the rx_sc pointer can race with the delete path and operate on freed memory.

Fix the owner side by dropping the reference with dst_release() instead of freeing unconditionally, and convert the RX datapath to dst_hold_safe() so a reader racing the SC delete cannot attach a dst whose last reference was just dropped; only attach it when a reference was actually taken.

mlx5e_macsec_add_rxsc() also published sc_xarray_element via xa_alloc() before rx_sc->md_dst was allocated and initialised, so a datapath reader that looked the SC up by fs_id could observe rx_sc with md_dst still NULL or, on weakly-ordered architectures, a non-NULL md_dst pointer whose contents were not yet visible. NULL-check the xa_load() result and md_dst on the datapath, and reorder add_rxsc() so the xa_alloc() publish happens only after md_dst is fully initialised; the xarray RCU publish then pairs with the rcu_read_lock()/xa_load() in the datapath.

Note: macsec_del_rxsc_ctx() also kfree()s rx_sc->sc_xarray_element without an RCU grace period while the same datapath reads it under rcu_read_lock(); that is a separate pre-existing issue left to a follow-up patch.

Found by 0sec automated security-research tooling (https://0sec.ai).

Executive ViewAI

Why It Matters

The Linux kernel's mlx5e MACsec hardware offload driver contains a use-after-free vulnerability (CVE-2026-72072, CVSS 7.8) that allows local low-privileged users to corrupt kernel memory and escalate privileges. Organizations operating Mellanox-based network infrastructure on affected kernel versions require urgent patching to eliminate local privilege escalation attacks from compromised accounts or processes.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
Mellanox/NVIDIA NICs common in HPC and cloud data centers, MACsec offload niche
Data Quality
5 sources
Confidence: Medium

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
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
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

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 Not-Affected

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