Skip to main content

Linux Kernel RDMA/EFA CVE-2026-31493

| EUVDEUVD-2026-24863 HIGH
Use After Free (CWE-416)
2026-04-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-fx4x-f93f-2jqv
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local authenticated access
  2. Delivery
    Submit malformed RDMA admin command
  3. Exploit
    Trigger error in completion handling
  4. Execution
    Race freed context with heap spray
  5. Persist
    Corrupt kernel memory structures
  6. Impact
    Escalate to root privileges

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 authenticated local access with low privileges (PR:L) to a Linux system running kernel versions 5.12 through 7.0-rc7 with the RDMA Elastic Fabric Adapter driver loaded and active. The vulnerability is specific to systems with EFA hardware support-primarily AWS EC2 instances configured with Elastic Network Adapters in EFA mode for high-performance RDMA networking. Standard Linux installations without EFA driver compilation or AWS EFA-enabled instance types are not affected. The attacker must be able to interact with the RDMA subsystem to submit admin commands, typically requiring membership in system groups with RDMA device access permissions. Limiting exploitation are the need for sophisticated heap manipulation techniques to reliably control freed memory contents and convert the use-after-free into code execution, the local-only attack vector, and the relatively narrow deployment base of EFA-enabled systems compared to general Linux populations.

Impact

Despite the high CVSS base score of 7.8, real-world risk is substantially mitigated by multiple factors. The AV:L (local access) vector requires the attacker to already have authenticated shell access to the system, and PR:L indicates low-privilege requirements but not completely unprivileged exploitation. The EPSS score of 0.02% (4th percentile) suggests minimal observed exploitation activity, likely because successful exploitation requires both local access and specific RDMA/EFA hardware or cloud configurations (AWS Elastic Fabric Adapter). No CISA KEV listing indicates no confirmed active exploitation campaigns. The AC:L (low attack complexity) is somewhat misleading-while the technical use-after-free trigger may be straightforward, achieving reliable code execution through heap manipulation requires sophisticated exploitation techniques. Priority should be moderate for systems running RDMA workloads on AWS EFA-enabled instances, but low for general Linux deployments without this hardware. The primary risk is to HPC, machine learning, and high-performance networking environments using AWS infrastructure. Patches are available across all affected stable branches, making this primarily a patch management exercise rather than an emergency response scenario.

Exploit ScenarioDerived

An attacker with low-privilege local shell access on an AWS EC2 instance using Elastic Fabric Adapter triggers the vulnerability by submitting a malformed RDMA admin command that causes an error condition during completion handling. The EFA driver's interrupt handler frees the completion context structure prematurely, then error-handling code attempts to print diagnostic data from the freed memory. The attacker simultaneously performs heap spraying to control the contents of the freed memory slot, replacing it with crafted data structures. When the error handler dereferences the freed context, it instead processes attacker-controlled pointers, leading to arbitrary kernel memory read/write primitives. The attacker leverages this to overwrite kernel function pointers or credential structures, escalating to root privileges and achieving full system compromise.

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

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

Alert me

AnalysisAIv1 – Apr 28, 2026

Use-after-free in Linux kernel RDMA/EFA driver allows local authenticated users with low privileges to execute arbitrary code with high confidentiality, integrity, and availability impact. The vulnerability affects the admin queue completion handling where completion context data is accessed after being freed, creating a window for memory corruption exploitation. Affects kernel versions from 5.12 through 7.0-rc7, with vendor patches available for stable branches 6.18.21, 6.19.11, and 7.0. EPSS score of 0.02% (4th percentile) indicates low observed exploitation probability, and no public exploit code or CISA KEV listing identified at time of analysis.

RemediationAI

Apply vendor-released kernel patches immediately for systems using RDMA/EFA functionality. Upstream fixes are available in commits ef3b06742c8a (mainline), 1cf95fe5dc54 (stable branch), and 0dd98aea1c0c (LTS branch) accessible at git.kernel.org/stable. For production deployments, upgrade to patched stable kernel versions 6.18.21, 6.19.11, or 7.0 final release and later as documented in EUVD-2026-24863. The patches restructure the admin command submission flow to make completion context allocation and deallocation symmetric, ensuring deallocation occurs only after all potential uses complete. For systems that cannot immediately patch, the primary compensating control is to unload or blacklist the efa kernel module if RDMA/EFA functionality is not required-add 'blacklist efa' to /etc/modprobe.d/blacklist.conf and rebuild initramfs. Note this breaks RDMA networking for AWS EFA workloads and should only be used as temporary mitigation. Restricting local user access provides defense-in-depth but does not eliminate risk from compromised low-privilege accounts. No effective workaround exists for systems requiring active EFA functionality-patching is mandatory.

Affected VersionsENISA

Linux 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a <ef3b06742c8a201d0e83edc9a33a89a4fe3009f8
Linux patch: 0
Linux 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a <1cf95fe5dc5471efea947b4c6f8913da6bc7976e
Linux 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a <0dd98aea1c0c45987fa2dd92f988b0eb1a72c125
Linux patch: 7.0
Linux 5.12
Linux patch: 6.18.21
Linux patch: 6.19.11

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 the Linux kernel's RDMA (Remote Direct Memory Access) subsystem, specifically in the EFA (Elastic Fabric Adapter) driver used for AWS cloud network acceleration. The CWE-416 use-after-free condition occurs in the admin command submission flow where the completion context structure is deallocated in the polling/interrupt handler before error-path code attempts to print diagnostic data from that same context. This asymmetric allocation/deallocation pattern creates a classic temporal memory safety violation where freed memory is dereferenced, potentially containing attacker-controlled data if the heap slot has been reallocated. The RDMA layer operates in kernel space with elevated privileges, making memory corruption here particularly dangerous. The CPE data confirms impact across kernel versions 5.12 through 7.0 release candidates, indicating the vulnerable code was introduced in commit 68fb9f3e312a and persisted through multiple stable releases.

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

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 5.3 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

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
Apr 28, 2026 - 14:52 NVD
7.8 (HIGH)
Patch released
Apr 28, 2026 - 14:45 nvd
Patch available
Patch available
Apr 22, 2026 - 16:33 EUVD
CVE Published
Apr 22, 2026 - 14:16 nvd
HIGH 7.8

DescriptionNVD

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

RDMA/efa: Fix use of completion ctx after free

On admin queue completion handling, if the admin command completed with error we print data from the completion context. The issue is that we already freed the completion context in polling/interrupts handler which means we print data from context in an unknown state (it might be already used again). Change the admin submission flow so alloc/dealloc of the context will be symmetric and dealloc will be called after any potential use of the context.

Executive ViewAI

Why It Matters

CVE-2026-31493 is a use-after-free vulnerability in the Linux kernel RDMA/EFA driver that allows local authenticated users to execute arbitrary code with full system compromise potential. This affects organizations running Linux kernel versions 5.12 through 7.0-rc7 on systems with EFA hardware; while exploitation requires local access and low privileges, successful exploitation grants complete system control, making this a critical infrastructure risk for cloud deployments and HPC environments.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigations if patching is delayed: restrict local user access through account and container isolation policies; disable EFA driver on systems without legitimate use; monitor privileged process execution and memory corruption indicators (kernel panics, unexpected process termination) for exploitation detection.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
6 sources
Confidence: High

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.0%
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: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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