Skip to main content

Linux Kernel CVE-2024-35835

HIGH
Double Free (CWE-415)
2024-05-17 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 low-privilege local shell on mlx5-equipped host
  2. Delivery
    Trigger ARFS flow table initialization via interface configuration
  3. Exploit
    Engineer kvzalloc failure inside arfs_create_groups
  4. Execution
    Double-free of ft->g corrupts kernel slab metadata
  5. Persist
    Heap-spray to control freed object
  6. Impact
    Overwrite kernel credentials and escalate to root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the target system must be physically or virtually equipped with a Mellanox/NVIDIA MLX5-family NIC (ConnectX series), as the vulnerability is isolated to the mlx5e kernel driver and does not affect other NIC drivers or virtualized environments where the guest lacks direct mlx5 hardware access; (2) the ARFS feature must be active or undergoing initialization on that interface - ARFS is enabled by default when the hardware supports it but can be disabled; (3) the attacker must be able to cause the kvzalloc allocation inside arfs_create_groups to fail, which requires either memory pressure sufficient to exhaust kernel slab memory or control over driver initialization sequencing. Local, low-privilege shell access is the authentication baseline per CVSS PR:L. Exploitation is limited to: systems with mlx5 hardware, kernels where ARFS has not been disabled via ethtool ntuple offload configuration, and cloud tenant environments where the hypervisor exposes direct NIC hardware - SR-IOV or bare-metal deployments increase exposure compared to fully paravirtualized guests.

Impact

NVD's CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) scores this 7.8 High, reflecting low-privilege local exploitation with no user interaction and full CIA impact if the kernel heap is successfully corrupted. EPSS at 0.86% (54th percentile) signals moderate relative ranking but low absolute exploitation probability - consistent with the absence of public PoC and KEV status. The NVD-assigned AC:L warrants scrutiny: reliable triggering requires both the presence of mlx5 hardware and engineering a kvzalloc failure during ARFS initialization, which in practice demands either deliberate memory pressure manipulation or access to relevant netlink/ioctl paths - conditions better captured by AC:H. For organizations operating Mellanox/NVIDIA NICs in enterprise, HPC, or cloud-provider infrastructure, this is a meaningful local-to-root escalation path that should be patched promptly. The combination of low EPSS, no KEV listing, and a hardware prerequisite indicates this is not currently being mass-exploited, reducing urgency for environments without mlx5 hardware while leaving affected environments at genuine risk.

Exploit ScenarioDerived

A local unprivileged user with shell access on a server equipped with a Mellanox ConnectX NIC induces memory pressure or leverages available netlink operations to trigger ARFS flow table initialization while causing the intermediate kvzalloc call inside arfs_create_groups to fail, producing a double-free of the ft->g kernel heap object. The resulting heap metadata corruption is then leveraged via kernel heap-spray techniques - such as targeting the msg_msg or pipe_buffer structures - to construct an arbitrary write primitive and overwrite kernel credentials, achieving root privileges. No public proof-of-concept has been identified at time of analysis, making this scenario currently theoretical but technically plausible given the well-understood kernel double-free exploitation class.

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

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

Alert me

AnalysisAIv3 – Aug 04, 2026

Double-free memory corruption in the Linux kernel's mlx5e Ethernet driver exposes systems running Mellanox/NVIDIA MLX5-family NICs to local privilege escalation. The flaw resides in the ARFS (Accelerated Receive Flow Steering) subsystem: when kvzalloc fails inside arfs_create_groups, that function frees ft->g as part of its own cleanup, but its sole caller arfs_create_table subsequently invokes mlx5e_destroy_flow_table on the same error return, freeing ft->g a second time and corrupting the kernel heap. Eight upstream patch commits across multiple stable kernel branches confirm vendor acknowledgment; no public exploit code and no CISA KEV listing have been identified at time of analysis.

Earlier versions of this analysis (2)
v2 Aug 04, 2026 - 12:42 cvss changed CVSS 7.8

Double-free memory corruption in the Linux kernel's mlx5e Accelerated Receive Flow Steering (ARFS) subsystem allows a local low-privileged attacker to corrupt kernel heap memory, potentially achieving privilege escalation to root. The flaw exists in arfs_create_groups, where an allocation failure triggers premature freeing of ft->g; the caller arfs_create_table then frees the same pointer again via mlx5e_destroy_flow_table. No public exploit has been identified and the vulnerability is not listed in CISA KEV, though EPSS places it at the 54th percentile. Eight upstream stable-branch patches have been released to address the issue.

v1 Aug 04, 2026 - 12:42 cvss changed CVSS 7.8

Double-free memory corruption in the Linux kernel's mlx5e Mellanox Ethernet driver allows a local low-privileged user to potentially escalate privileges or crash the system. The flaw exists in the ARFS (Accelerated Receive Flow Steering) subsystem: when a memory allocation via kvzalloc fails inside arfs_create_groups, that function frees ft->g before returning an error, but its sole caller arfs_create_table then calls mlx5e_destroy_flow_table which frees ft->g a second time. No public exploit code and no CISA KEV listing are present, though the CVSS 7.8 High rating and full C/I/A impact reflect the severity of kernel-level double-free exploitation. Eight stable kernel patch commits are available.

RemediationAI

Apply the upstream kernel patches confirmed via eight stable-branch commits on git.kernel.org: 2501afe6c4c9, 3c6d5189246f, 42876db001bb, 66cc521a739c, b21db3f1ab79, c57ca114eb00, cf116d9c3c2a, and e3d3ed8c1529 (full URLs in references). Distribution maintainers should be tracked for backported packages - Debian users should apply updates via the standard linux security update channel. Exact fixed kernel version numbers per stable series are not independently confirmed in available data and should be verified against the respective stable branch changelogs at git.kernel.org/stable. As an immediate compensating control for environments that do not require hardware-offloaded flow steering, disable ARFS on the affected interface with ethtool -K <interface> ntuple off; this prevents the vulnerable arfs_create_table code path from being invoked without affecting basic connectivity, but eliminates NIC-level receive-side packet distribution and may increase CPU load for high-throughput workloads.

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 vulnerable code resides in the net/mlx5e driver, which implements support for NVIDIA/Mellanox ConnectX-series network interface cards. ARFS (Accelerated Receive Flow Steering) is a Linux kernel feature that offloads packet-to-CPU-queue steering decisions to NIC hardware via flow tables; arfs_create_table and arfs_create_groups build those flow table group descriptors at initialization time. CWE-415 (Double Free) arises from an error-path ownership assumption mismatch: arfs_create_groups frees ft->g upon kvzalloc failure before returning an error code, but arfs_create_table - the only caller - unconditionally calls mlx5e_destroy_flow_table on any error return, which also frees ft->g. In the kernel allocator, double-freeing a slab object corrupts the allocator's free-list metadata, a primitive that kernel exploit techniques such as heap spraying can leverage to achieve arbitrary write access and privilege escalation. The CPE data confirms affected targets are cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* across multiple version ranges, including the 6.8-rc1 development cycle, plus cpe:2.3:o:debian:debian_linux:10.0.

Know when Debian Linux gets its next vulnerability

  • 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

Requires both mlx5 NIC hardware presence and engineering a specific kvzalloc failure path, justifying AC:H over NVD's AC:L; all other metrics align with the NVD assessment.

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

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

6
Analysis Updated
Aug 04, 2026 - 12:44 vuln.today
v3 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:42 vuln.today
v2 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:42 vuln.today
v1 - CVSS changed
Severity Changed
Aug 04, 2026 - 11:23 NVD
MEDIUM HIGH
CVSS changed
Aug 04, 2026 - 11:23 NVD
5.3 (MEDIUM) 7.8 (HIGH)
CVE Published
May 17, 2024 - 14:15 cve.org
MEDIUM 5.3

DescriptionCVE.org

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

net/mlx5e: fix a double-free in arfs_create_groups

When in allocated by kvzalloc fails, arfs_create_groups will free ft->g and return an error. However, arfs_create_table, the only caller of arfs_create_groups, will hold this error and call to mlx5e_destroy_flow_table, in which the ft->g will be freed again.

Executive ViewAI

Why It Matters

The Linux kernel's Mellanox/NVIDIA network driver contains a privilege escalation vulnerability that allows local users to gain administrative access, creating risk of complete system compromise. While no public exploit has been identified at time of analysis, organizations running these network adapters-common in data centers and enterprise servers-should prioritize patching. Vendor patches are available and should be deployed immediately to all affected systems.

Business Impact: High
Compensating Controls

Apply vendor patch. For systems unable to patch within 7 days: disable the mlx5e driver if MLX5-family network cards are not in use; restrict local user shell access; monitor system audit logs for exploitation indicators.

Threat Intelligence Overview

EPSS Score
0.9%
Top 46% exploitable
Prevalence
High
Mellanox/NVIDIA mlx5 NICs are standard hardware in enterprise data centers, HPC clusters, and cloud provider infrastructure
Data Quality
3 sources
Confidence: Low

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.9%
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

40
Low Medium High Critical
KEV: 0
EPSS: +1
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.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
CVE-2021-44228 CRITICAL POC
10.0 Dec 10

Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c

CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2017-7494 CRITICAL POC
9.8 May 30

Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2022-30333 HIGH POC
7.5 May 09

RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2017-12617 HIGH POC
8.1 Oct 04

When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT

CVE-2020-1938 CRITICAL POC
9.8 Feb 24

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate

CVE-2018-7602 CRITICAL POC
9.8 Jul 19

A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (

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