Linux Kernel
CVE-2024-38542
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege local shell on Azure MANA VM
-
DeliveryAccess mana_ib RDMA driver interface
-
ExploitIssue crafted CQ callback registration with out-of-bounds index
-
ExecutionTrigger boundary-unchecked array write in kernel
-
PersistCorrupt adjacent kernel memory
-
ImpactEscalate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – 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)
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.
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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
5DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB