Skip to main content

Linux Kernel CVE-2024-38542

HIGH
Improper Validation of Array Index (CWE-129)
2024-06-19 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
    Obtain low-privilege local shell on Azure MANA VM
  2. Delivery
    Access mana_ib RDMA driver interface
  3. Exploit
    Issue crafted CQ callback registration with out-of-bounds index
  4. Execution
    Trigger boundary-unchecked array write in kernel
  5. Persist
    Corrupt adjacent kernel memory
  6. Impact
    Escalate to root privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Exploitation requires local, low-privilege access to a Linux system with the mana_ib kernel module loaded and active - a condition that applies only to Azure VMs running on Microsoft MANA RDMA-capable hardware. The attacker must be able to interact with the RDMA subsystem via mana_ib driver interfaces, which are accessible to unprivileged users on systems where the driver is loaded. Limiting factors: the mana_ib driver is not loaded or present on the vast majority of Linux systems (on-premises, non-MANA cloud VMs, containers without RDMA pass-through); no remote exploitation path exists per AV:L CVSS metric; and no special protocol or network exposure is involved - access must be local to the machine.

Impact

CVSS 7.8 with AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H indicates local exploitation requiring only low-privilege access and no user interaction, with high impact across all three pillars. However, several signals significantly moderate real-world priority. EPSS at 0.25% (16th percentile) places this well below the exploitation likelihood of most actively targeted issues. There is no CISA KEV listing and no publicly available POC. Critically, the mana_ib driver is loaded exclusively on Azure VMs backed by MANA RDMA hardware - on-premises systems and most cloud environments outside Azure with MANA are unaffected. The high CVSS C/I/A reflects kernel memory corruption potential, but the attack surface is narrow. SSVC assessment: exploitation status is 'none', technical impact is 'total' (kernel-level), but the MANA-specific deployment scope constrains automatable mass exploitation. This is a genuine kernel safety fix warranting patching in affected Azure environments, but not an emergency escalation for general-purpose Linux fleets.

Exploit ScenarioDerived

A local attacker with a standard user account on an Azure VM backed by MANA RDMA hardware interacts with the mana_ib RDMA driver interface and triggers mana_ib_install_cq_cb with a crafted, out-of-bounds completion queue index. The missing boundary check allows the kernel to write to or read from memory beyond the intended array, corrupting kernel data structures that can be weaponized for local privilege escalation to root or to crash the system. No public exploit code exists at time of analysis, making opportunistic exploitation unlikely in the near term.

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

AnalysisAIv3 – Aug 04, 2026

Index overflow in the Linux kernel's RDMA mana_ib driver allows a local low-privileged user to corrupt kernel memory by triggering mana_ib_install_cq_cb without a boundary check on the completion queue callback array index. The flaw (CWE-129) affects systems running the mana_ib driver - specific to Microsoft Azure MANA network adapter hardware - and carries a CVSS 7.8 with full high C/I/A impact, though real-world risk is constrained by the local-only attack vector and narrow hardware applicability. No public exploit has been identified, and EPSS at 0.25% (16th percentile) confirms low exploitation probability at time of analysis.

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

Index overflow in the Linux kernel's RDMA/mana_ib driver (mana_ib_install_cq_cb) exposes systems using Microsoft Azure's MANA InfiniBand hardware to kernel memory corruption by a local low-privileged user. The missing boundary check (CWE-129) on the completion queue callback array index allows out-of-bounds writes in kernel space, with potential for privilege escalation or kernel panic. No active exploitation is confirmed (not in CISA KEV), EPSS is a very low 0.25% (16th percentile), and patches are available across multiple stable kernel branches.

v1 Aug 04, 2026 - 11:59 cvss changed CVSS 7.8

Index overflow in the Linux kernel's RDMA mana_ib driver allows a local low-privileged attacker to corrupt kernel memory via the unguarded mana_ib_install_cq_cb function. Exploitation is constrained to systems running the MANA RDMA driver - primarily Microsoft Azure VMs with RDMA-capable MANA NICs - substantially limiting the real-world attack surface despite the high CVSS score of 7.8. No public exploit has been identified, and EPSS places exploitation probability at 0.25% (16th percentile), consistent with no CISA KEV listing.

RemediationAI

Apply the upstream kernel stable patches available at https://git.kernel.org/stable/c/168f6fbde0eabd71d1f4133df7d001a950b96977, https://git.kernel.org/stable/c/f12afddfb142587d786df9e3cc4862190d3e2ec8, and https://git.kernel.org/stable/c/f79edef79b6a2161f4124112f9b0c46891bb0b74; these are upstream fix commits and a specific released patched version number is not independently confirmed from available data - consult your Linux distribution's security tracker (e.g., Ubuntu USN, Red Hat RHSA, SUSE CVE) for backported packages. For systems that do not use Microsoft Azure MANA RDMA hardware, the most effective compensating control is to blacklist the mana_ib module by adding 'blacklist mana_ib' to /etc/modprobe.d/blacklist.conf and running depmod; this carries no functional penalty on non-MANA systems. On Azure VMs where MANA RDMA is in active use, unloading the module will disable RDMA functionality, so patching via a kernel update is the preferred path.

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 vulnerability resides in the RDMA (Remote Direct Memory Access) subsystem of the Linux kernel, specifically in the mana_ib driver, which provides InfiniBand-compatible RDMA access over Microsoft Azure's MANA (Microsoft Azure Network Adapter) hardware. CWE-129 (Improper Validation of Array Index) describes the root cause: the function mana_ib_install_cq_cb fails to verify that an index falls within valid array bounds before using it to register a completion queue (CQ) callback. An unchecked index can point to memory outside the intended array, resulting in an out-of-bounds write that corrupts adjacent kernel memory structures. Affected products per CPE cpe:2.3:o:linux:linux_kernel:* span multiple Linux kernel stable branches with no pinned version floor indicated by NVD.

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 kernel driver flaw exploitable by low-privilege user with no interaction; full kernel memory corruption impact warrants H/H/H; scope unchanged as no cross-VM impact identified.

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

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

5
Analysis Updated
Aug 04, 2026 - 12:06 vuln.today
v3 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:00 vuln.today
v2 - CVSS changed
Analysis Updated
Aug 04, 2026 - 11:59 vuln.today
v1 - CVSS changed
CVSS changed
Aug 04, 2026 - 11:23 NVD
7.1 (HIGH) 7.8 (HIGH)
CVE Published
Jun 19, 2024 - 14:15 cve.org
HIGH 7.1

DescriptionCVE.org

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

RDMA/mana_ib: boundary check before installing cq callbacks

Add a boundary check inside mana_ib_install_cq_cb to prevent index overflow.

Executive ViewAI

Why It Matters

A kernel memory corruption flaw in Linux systems using Microsoft Azure MANA network adapters allows local users with limited system access to compromise kernel integrity and system stability. Organizations operating Linux workloads on Azure MANA-equipped instances face potential data corruption or unauthorized privilege escalation if a malicious insider or compromised application exploits this vulnerability. The risk remains manageable because exploitation requires existing local access and no public exploit identified at time of analysis.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
driver specific to Azure MANA RDMA hardware, niche deployment
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.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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

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