Skip to main content

Linux Kernel CVE-2026-31425

| EUVDEUVD-2026-21950 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-04-13 Linux GHSA-242h-4qqp-hpg2
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local low-privilege shell
  2. Delivery
    Load or confirm rds_ib module present
  3. Exploit
    Create RDS socket and fresh outgoing connection
  4. Execution
    Immediately call sendmsg() with RDS_CMSG_RDMA_MAP before connection worker runs
  5. Persist
    Trigger NULL ic->i_cm_id dereference in rds_ib_post_reg_frmr()
  6. Impact
    Kernel panic (system DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) Local access with at least low-privilege credentials (PR:L per CVSS) - remote exploitation is not possible (AV:L). (2) The target kernel must have the RDS-over-InfiniBand subsystem present, either compiled in or loaded as a kernel module (rds_ib, rds_rdma). (3) A physical or virtual InfiniBand adapter must be present and accessible to the OS. (4) The attacker must be able to create RDS sockets (typically requires CAP_NET_RAW or specific network namespace permissions, depending on distro configuration - verify local policy). (5) The race condition is not a tight timing race; it is a structural state check bypass: the attacker simply calls sendmsg() with RDS_CMSG_RDMA_MAP on a connection object before the connection worker runs, which is the default state of any freshly created outgoing connection. Exploitation is therefore reliably reproducible, not timing-dependent. Limiting factors: no network exposure (strictly local), InfiniBand hardware requirement eliminates the vast majority of general-purpose Linux deployments, and no privilege escalation is possible - the only impact is kernel crash (DoS).

Impact

CVSS 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) accurately reflects the real-world risk profile: exploitation is local only (AV:L), requires low privileges (PR:L), has low attack complexity (AC:L), and the impact is limited to availability (kernel crash/DoS). There is no confidentiality or integrity impact, and scope is unchanged. EPSS at 0.02% (7th percentile) is consistent with the niche deployment requirement - InfiniBand hardware is uncommon outside HPC, financial trading, and high-performance storage environments. This CVE is NOT in CISA KEV, and no public exploit code has been identified, further supporting low exploitation urgency. The practical attack surface is significantly constrained: an attacker must already have local shell access on a machine with an active InfiniBand adapter and the RDS/IB kernel module loaded. For the typical Linux server or desktop without InfiniBand, this vulnerability is not exploitable. The primary risk is to HPC clusters, RDMA-capable storage appliances, or InfiniBand-interconnected data center environments where multiple users may share compute nodes. Overall priority: LOW-MEDIUM for most deployments; MEDIUM for InfiniBand-dependent infrastructure where untrusted local users exist.

Exploit ScenarioDerived

An attacker with a low-privileged local shell account on an HPC compute node equipped with an InfiniBand adapter creates an RDS socket and initiates an outgoing connection to a peer. Before the connection worker has time to call rds_ib_conn_path_connect() and initialize the RDMA CM ID, the attacker immediately calls sendmsg() with an RDS_CMSG_RDMA_MAP control message to register an RDMA memory region. The kernel dereferences the NULL i_cm_id pointer at offset 0x10 inside rds_ib_post_reg_frmr(), producing a KASAN null-ptr-deref and crashing the kernel, which takes down the entire compute node. No public exploit code has been identified at time of analysis, but the call path is fully detailed in the CVE description, lowering the barrier to reproducing the crash.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – May 20, 2026

Null pointer dereference in the Linux kernel's RDS-over-InfiniBand (RDS/IB) subsystem allows a local low-privileged user to crash the kernel by sending an RDS_CMSG_RDMA_MAP control message before an IB connection is fully established. The impact is a complete denial of service (kernel panic) with no confidentiality or integrity exposure, scoring CVSS 5.5. No public exploit code has been identified at time of analysis, and EPSS exploitation probability is extremely low at 0.02%, consistent with the specialized InfiniBand hardware prerequisite.

RemediationAI

The primary fix is to upgrade the Linux kernel to a patched stable release: 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12, or 7.0. Upstream patch commits are available on kernel.org stable trees at the referenced git.kernel.org URLs. Distribution maintainers (Red Hat, Debian, Ubuntu, SUSE, etc.) should be monitored for stable update packages incorporating these commits. As a compensating control where immediate patching is not possible and InfiniBand is not required, administrators can prevent the kernel module from loading by blacklisting the rds_rdma and rds_ib modules (echo 'blacklist rds_rdma' >> /etc/modprobe.d/rds-disable.conf && echo 'blacklist rds_ib' >> /etc/modprobe.d/rds-disable.conf); note this will break any application relying on RDS-over-InfiniBand. If RDS/IB is required, restricting socket creation via seccomp or network namespace isolation to prevent untrusted local users from creating RDS sockets is an alternative mitigation, though implementation complexity is high. No side-channel or privilege escalation risk accompanies the fix.

Affected VersionsENISA

Linux patch: 6.6.134
Linux patch: 6.19.12
Linux 1659185fb4d0025835eb2058a141f0746c5cab00 <23e07c340c445f0ebff7757ba15434cb447eb662
Linux 1659185fb4d0025835eb2058a141f0746c5cab00 <a54ecccfae62c5c85259ae5ea5d9c20009519049
Linux patch: 7.0
Linux 4.6
Linux patch: 0
Linux 1659185fb4d0025835eb2058a141f0746c5cab00 <a5bfd14c9a299e6db4add4440430ee5e010b03ad
Linux 1659185fb4d0025835eb2058a141f0746c5cab00 <450ec93c0f172374acbf236f1f5f02d53650aa2d
Linux 1659185fb4d0025835eb2058a141f0746c5cab00 <6b0a8de67ac0c74e1a7df92b73c862cb36780dfc
Linux patch: 6.18.22
Linux patch: 6.12.81
Linux 1659185fb4d0025835eb2058a141f0746c5cab00 <47de5b73db3b88f45c107393f26aeba26e9e8fae
Linux patch: 6.1.168

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 Reliable Datagram Sockets (RDS) subsystem's InfiniBand transport layer, specifically in rds_ib_get_mr() (net/rds/ib_rdma.c:615) and the downstream rds_ib_post_reg_frmr() (net/rds/ib_frmr.c:167). On a fresh outgoing RDS/IB connection, the rds_ib_connection struct (ic) is allocated by rds_ib_conn_alloc() with i_cm_id = NULL, because the RDMA CM ID is only created later by the connection worker in rds_ib_conn_path_connect(). The existing guard in rds_ib_reg_frmr() only checks for a NULL ic pointer (added in commit 9e630bcb7701), but ic is always non-NULL once the connection object exists - it is ic->i_cm_id that is NULL. When sendmsg() is called with the RDS_CMSG_RDMA_MAP control message type before connection establishment, the FRMR (Fast Registration Memory Region) registration path proceeds through rds_ib_map_frmr() → rds_ib_post_reg_frmr(), where it dereferences ic->i_cm_id->qp at offset 0x10-0x17 of a NULL pointer, triggering a KASAN-detected null-ptr-deref and crashing the kernel. CWE-476 (NULL Pointer Dereference) accurately classifies the root cause. CPE data identifies the affected product as cpe:2.3:a:linux:linux:* introduced at commit 1659185fb4d0025835eb2058a141f0746c5cab00, corresponding to Linux 4.6.

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 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
May 20, 2026 - 18:07 NVD
5.5 (MEDIUM)
Patch released
Apr 18, 2026 - 09:16 nvd
Patch available
Patch available
Apr 16, 2026 - 05:29 EUVD
23e07c340c445f0ebff7757ba15434cb447eb662,450ec93c0f172374acbf236f1f5f02d53650aa2d,6b0a8de67ac0c74e1a7df92b73c862cb36780dfc
CVE Published
Apr 13, 2026 - 13:40 nvd
N/A

DescriptionCVE.org

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

rds: ib: reject FRMR registration before IB connection is established

rds_ib_get_mr() extracts the rds_ib_connection from conn->c_transport_data and passes it to rds_ib_reg_frmr() for FRWR memory registration. On a fresh outgoing connection, ic is allocated in rds_ib_conn_alloc() with i_cm_id = NULL because the connection worker has not yet called rds_ib_conn_path_connect() to create the rdma_cm_id. When sendmsg() with RDS_CMSG_RDMA_MAP is called on such a connection, the sendmsg path parses the control message before any connection establishment, allowing rds_ib_post_reg_frmr() to dereference ic->i_cm_id->qp and crash the kernel.

The existing guard in rds_ib_reg_frmr() only checks for !ic (added in commit 9e630bcb7701), which does not catch this case since ic is allocated early and is always non-NULL once the connection object exists.

KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] RIP: 0010:rds_ib_post_reg_frmr+0x50e/0x920 Call Trace: rds_ib_post_reg_frmr (net/rds/ib_frmr.c:167) rds_ib_map_frmr (net/rds/ib_frmr.c:252) rds_ib_reg_frmr (net/rds/ib_frmr.c:430) rds_ib_get_mr (net/rds/ib_rdma.c:615) __rds_rdma_map (net/rds/rdma.c:295) rds_cmsg_rdma_map (net/rds/rdma.c:860) rds_sendmsg (net/rds/send.c:1363) ____sys_sendmsg do_syscall_64

Add a check in rds_ib_get_mr() that verifies ic, i_cm_id, and qp are all non-NULL before proceeding with FRMR registration, mirroring the guard already present in rds_ib_post_inv(). Return -ENODEV when the connection is not ready, which the existing error handling in rds_cmsg_send() converts to -EAGAIN for userspace retry and triggers rds_conn_connect_if_down() to start the connection worker.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
5 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Server 12 SP5-LTSS Affected
SUSE Linux Enterprise Server 12 SP5-LTSS Affected
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 Affected
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed

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