Skip to main content

Linux Kernel CVE-2025-39979

HIGH
2025-10-15 416baaa9-dc9f-4396-8d5f-8c081fb06d67
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 local access with RDMA verbs permissions
  2. Delivery
    Create flow rule bound to local flow counter
  3. Exploit
    Destroy flow via ib_uverbs ioctl
  4. Execution
    Trigger UAF in HWS action release
  5. Persist
    Corrupt kernel memory
  6. Impact
    Escalate privileges or crash kernel

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local access to a system running the mlx5_core/mlx5_ib driver on NVIDIA/Mellanox ConnectX hardware with the Hardware Steering (HWS) flow-counter code path in use, plus the ability to issue RDMA/InfiniBand verbs ioctls through ib_uverbs (i.e., access to /dev/infiniband/uverbs* and the privileges to create and then destroy a flow rule associated with a local flow counter). The CVSS vector (AV:L, PR:L) confirms local, authenticated-but-low-privilege access with no user interaction. Limiting factors: hosts without ConnectX/mlx5 hardware or without the mlx5_ib module loaded are not exploitable, and environments that do not grant users access to the RDMA verbs interface remove the trigger path; the bug is confined to the HWS local-flow-counter release logic, so kernels/configurations not exercising that path are not affected.

Impact

The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8 High) indicates a locally-exploitable, low-complexity, low-privilege memory-corruption bug with full CIA impact - consistent with a kernel UAF that can lead to privilege escalation or denial of service. Signals largely agree that this is a real but not urgent issue: EPSS is low (0.17%, 7th percentile), there is no KEV listing and no public exploit, so mass exploitation is unlikely. The 'PR:L' rating reflects that reaching the vulnerable path requires local access and the ability to create/destroy RDMA flow rules (typically CAP_NET_RAW / RDMA device access rather than full root), which limits the exposed population to hosts where unprivileged or semi-privileged users can drive the mlx5 verbs interface. Note a tag mismatch to flag: the input tags this as 'Information Disclosure', but a UAF with I:H/A:H is more accurately a memory-corruption/privilege-escalation and DoS issue - verify impact framing against the kernel commit rather than the tag. Overall this is a standard-priority kernel patch for fleets running mlx5/ConnectX hardware with RDMA exposure, not a drop-everything emergency.

Exploit ScenarioDerived

A local user with access to the RDMA verbs interface on a host using a ConnectX NIC creates a flow rule bound to a local flow counter, then destroys it via an ib_uverbs ioctl (DESTROY_FLOW), triggering release of an HWS action whose refcount/mutex are uninitialized while the counter struct is already freed. The resulting use-after-free corrupts kernel memory, which a skilled attacker could shape into privilege escalation, or more simply into a kernel crash (DoS). No public proof-of-concept is available at time of analysis, and low attack complexity (AC:L) means reliable triggering does not depend on winning a difficult race.

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 – Jul 30, 2026

Local privilege escalation and memory corruption in the Linux kernel's Mellanox/NVIDIA mlx5 networking driver arises from a use-after-free in the hardware-steering (HWS) flow-counter release path. When a flow rule tied to a local flow counter is deleted via the RDMA/InfiniBand verbs interface, mlx5_cmd_hws_delete_fte() releases an HWS action whose refcount and mutex were never initialized, and the counter struct may already be freed - allowing a local attacker with the ability to create and destroy flow rules to corrupt kernel memory. No public exploit has been identified at time of analysis; EPSS probability is low (0.17%, 7th percentile), and the issue is not in CISA KEV.

RemediationAI

Update to a kernel build that includes the upstream mlx5 fix; the corrective change is available as stable-tree commits (https://git.kernel.org/stable/c/3c77f6d244188c3fb11f6aec40bbfe884f1803b5 and https://git.kernel.org/stable/c/6043819e707cefb1c9e59d6e431dcfa735c4f975), so apply the vendor/distribution kernel that backports these commits - a specific released patched version is not independently confirmed from the provided data, so consult your distro's advisory for the exact package version. Because exploitation requires driving the mlx5 RDMA/verbs flow-rule interface, an effective compensating control where patching is delayed is to restrict access to RDMA/InfiniBand devices - remove or tighten permissions on /dev/infiniband/* and limit CAP_NET_RAW so untrusted local users cannot create/destroy flow rules (trade-off: this breaks legitimate RDMA and user-space verbs workloads such as RoCE/NVMe-oF applications). On systems that do not need RDMA, unloading or blacklisting the mlx5_ib module eliminates the reachable path entirely (trade-off: disables InfiniBand/RoCE functionality on ConnectX adapters).

Affected ProductsAI

The affected product is the Linux kernel, specifically the mlx5_core driver (net/mlx5 flow-steering subsystem) used by NVIDIA/Mellanox ConnectX NICs, in kernel versions that include the Hardware Steering (HWS) flow-counter code prior to this fix. Exact affected version ranges are not enumerated in the provided data; they must be derived from the stable-tree commits at https://git.kernel.org/stable/c/3c77f6d244188c3fb11f6aec40bbfe884f1803b5 and https://git.kernel.org/stable/c/6043819e707cefb1c9e59d6e431dcfa735c4f975, which identify the fixed stable branches. No CPE strings were supplied in the input, so precise version boundaries should be confirmed against your distribution's kernel changelog.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The flaw lives in the mlx5_core driver that operates NVIDIA/Mellanox ConnectX-series NICs, specifically in the newer Hardware Steering (HWS) flow-management path used to program flow tables (FTEs) on the device. The root cause is a use-after-free (CWE-416): a local flow counter's HWS action structure is torn down in mlx5_fc_put_hws_action()/mlx5_fs_put_hws_action() during mlx5_fs_destroy_fs_actions(), but the action's refcount and protecting mutex were left uninitialized and the underlying counter struct could be freed before the delete completes. The trigger path runs through the ib_uverbs layer (mlx5_ib_destroy_flow → uverbs_free_flow), meaning the vulnerable code is reachable from userspace RDMA verbs ioctls. The upstream fix adds the missing refcount/mutex initialization and introduces a reference count on the local flow-counter struct so it is not freed while still in use.

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.8 HIGH

Local trigger via RDMA verbs (AV:L) needs low-privilege device access (PR:L), no user interaction, and a kernel UAF yields full memory-corruption impact (C:H/I:H/A:H) with AC:L given no hard race.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.6 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

DescriptionCVE.org

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

net/mlx5: fs, fix UAF in flow counter release

Fix a kernel trace [1] caused by releasing an HWS action of a local flow counter in mlx5_cmd_hws_delete_fte(), where the HWS action refcount and mutex were not initialized and the counter struct could already be freed when deleting the rule.

Fix it by adding the missing initializations and adding refcount for the local flow counter struct.

[1] Kernel log: Call Trace: <TASK> dump_stack_lvl+0x34/0x48 mlx5_fs_put_hws_action.part.0.cold+0x21/0x94 [mlx5_core] mlx5_fc_put_hws_action+0x96/0xad [mlx5_core] mlx5_fs_destroy_fs_actions+0x8b/0x152 [mlx5_core] mlx5_cmd_hws_delete_fte+0x5a/0xa0 [mlx5_core] del_hw_fte+0x1ce/0x260 [mlx5_core] mlx5_del_flow_rules+0x12d/0x240 [mlx5_core] ? ttwu_queue_wakelist+0xf4/0x110 mlx5_ib_destroy_flow+0x103/0x1b0 [mlx5_ib] uverbs_free_flow+0x20/0x50 [ib_uverbs] destroy_hw_idr_uobject+0x1b/0x50 [ib_uverbs] uverbs_destroy_uobject+0x34/0x1a0 [ib_uverbs] uobj_destroy+0x3c/0x80 [ib_uverbs] ib_uverbs_run_method+0x23e/0x360 [ib_uverbs] ? uverbs_finalize_object+0x60/0x60 [ib_uverbs] ib_uverbs_cmd_verbs+0x14f/0x2c0 [ib_uverbs] ? do_tty_write+0x1a9/0x270 ? file_tty_write.constprop.0+0x98/0xc0 ? new_sync_write+0xfc/0x190 ib_uverbs_ioctl+0xd7/0x160 [ib_uverbs] __x64_sys_ioctl+0x87/0xc0 do_syscall_64+0x59/0x90

Executive ViewAI

Why It Matters

Systems using NVIDIA/Mellanox networking hardware are vulnerable to a local privilege escalation in the Linux kernel's mlx5 driver, allowing attackers with local access to gain administrative-level control and corrupt memory. This threatens system integrity and availability, particularly in multi-tenant or shared computing environments. Immediate assessment and access controls are required.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement immediate compensating controls: restrict local user access to systems running the mlx5 driver; disable RDMA/InfiniBand interfaces where operationally feasible; deploy mandatory access control policies (SELinux or AppArmor) to restrict unprivileged user interactions with RDMA verbs interfaces; establish enhanced monitoring for suspicious flow rule creation and deletion activities.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel; mlx5/ConnectX NICs common in datacenters and cloud
Data Quality
4 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

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
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest Container suse/sl-micro/6.0/toolbox:latest Affected
Container suse/sl-micro/6.0/base-os-container:latest Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Affected
Image SL-Micro-Default Image SL-Micro-Default-SelfInstall Image SL-Micro-Default-encrypted Image SL-Micro-Default-qcow Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd Affected
Image SLES-Azure-3P Image SLES-Azure-Basic Image SLES-Azure-Standard Image SLES-BYOS-Azure Image SLES-BYOS-EC2 Image SLES-BYOS-GCE Image SLES-CHOST-BYOS-Aliyun Image SLES-CHOST-BYOS-Azure Image SLES-CHOST-BYOS-EC2 Image SLES-CHOST-BYOS-GCE Image SLES-CHOST-BYOS-GDC Image SLES-CHOST-BYOS-SAP-CCloud Image SLES-EC2 Image SLES-EC2-ECS Image SLES-GCE Image SLES-GCE-3P Image SLES-Hardened-BYOS-Azure Image SLES-Hardened-BYOS-EC2 Image SLES-Hardened-BYOS-GCE Image SLES-SAPCAL-Azure Image SLES-SAPCAL-EC2 Image SLES-SAPCAL-GCE Affected
Image SLES-SAP-Azure Image SLES-SAP-Azure-3P Image SLES-SAP-BYOS-Azure Image SLES-SAP-BYOS-EC2 Image SLES-SAP-BYOS-GCE Image SLES-SAP-EC2 Image SLES-SAP-GCE Image SLES-SAP-GCE-3P Affected

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