Skip to main content

Linux Kernel CVE-2026-31536

| EUVDEUVD-2026-25429 CRITICAL
2026-04-24 Linux GHSA-pgx3-cx3f-6g2v
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Scan for RDMA-enabled SMB services
  2. Delivery
    Establish SMB Direct connection
  3. Exploit
    Queue batched RDMA send operations
  4. Install
    Trigger connection disruption
  5. C2
    Induce premature memory free
  6. Execute
    Reallocate freed memory with payload
  7. Impact
    Execute arbitrary kernel code

Vulnerability Assessment

Exploitation Conditions

Requires ksmbd (Linux kernel SMB server) to be loaded and actively serving SMB shares with SMB Direct RDMA support explicitly enabled, which is a non-default configuration requiring RDMA-capable network hardware (InfiniBand or RoCE adapters) and corresponding ksmbd configuration directives. Standard Linux distributions ship ksmbd disabled by default, and even when enabled, SMB Direct requires additional rdma_enabled=yes configuration and functional RDMA network stack. Limits to exploitation: while the CVSS vector indicates AV:N/AC:L/PR:N (remote, low complexity, no authentication), the attack surface is constrained to environments with specialized high-performance networking deployments. Systems using standard Samba (userspace smbd) instead of kernel ksmbd are not vulnerable. Systems with ksmbd enabled but without RDMA hardware or configuration are not vulnerable. The vulnerability is also limited to architectures and kernel builds where ksmbd module is compiled and loaded, typically x86_64 and ARM64 server platforms in enterprise storage or HPC environments.

Impact

The CVSS vector AV:N/AC:L/PR:N/UI:N indicates a remotely exploitable vulnerability with low attack complexity requiring no authentication or user interaction, yielding the maximum base score of 9.8. However, real-world risk is significantly lower than this score suggests due to deployment-specific limiting factors. The EPSS score of 0.02% (4th percentile) indicates very low observed exploitation probability in the wild, likely because SMB Direct (RDMA) is a specialized feature primarily deployed in high-performance computing clusters and enterprise storage environments rather than general-purpose servers. The vulnerability requires the target system to have ksmbd (kernel SMB server) enabled with SMB Direct RDMA support configured, which is non-default in most Linux distributions. Standard Samba (userspace SMB server) deployments are not affected. While the CVSS score correctly reflects the theoretical severity of remote unauthenticated code execution, the practical attack surface is limited to organizations explicitly using Linux kernel SMB server with RDMA networking hardware. No KEV listing or public POC is identified, suggesting this remains a theoretical risk rather than an actively targeted vulnerability. Priority should be high for environments running ksmbd with RDMA, but lower for standard Linux server deployments. The availability of vendor patches for all affected stable kernel branches (6.18.11, 6.19.1, 7.0) enables straightforward remediation for at-risk systems.

Exploit ScenarioDerived

An unauthenticated remote attacker identifies a Linux server with ksmbd SMB Direct enabled by scanning for RDMA-capable SMB services on TCP port 445. The attacker establishes an SMB Direct connection and initiates a series of batched RDMA send operations, then deliberately triggers a connection disruption (such as sending malformed RDMA frames or abruptly closing the connection) while send operations are queued. This forces the kernel to signal completions for all pending requests including those without IB_SEND_SIGNALED flags. The premature freeing of request structures creates a use-after-free condition, which the attacker exploits by carefully timing subsequent SMB requests to reallocate the freed memory with attacker-controlled data. By manipulating the freed memory contents, the attacker achieves arbitrary code execution in kernel context, gaining full root-level control of the target system. No public POC exists for this specific vulnerability at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 27, 2026

Use-after-free in Linux kernel SMB server (ksmbd) RDMA handling allows remote unauthenticated attackers to execute arbitrary code, escalate privileges, or crash the system via crafted SMB Direct connections. The vulnerability arises when batched RDMA send operations without IB_SEND_SIGNALED flags are prematurely freed during connection failures, causing memory corruption. Vendor patches are available for kernel versions 6.18.11, 6.19.1, and 7.0. EPSS score of 0.02% suggests low observed exploitation probability, and no active exploitation or public POC is confirmed at time of analysis, though the critical CVSS score (9.8) reflects severe potential impact if the SMB Direct feature is enabled.

RemediationAI

Upgrade to patched Linux kernel versions 6.18.11, 6.19.1, or 7.0 or later as documented in the upstream Git commits referenced at https://git.kernel.org/stable/c/24082642654f3e5149913946e89c00a297a8868f, https://git.kernel.org/stable/c/9da82dc73cb03e85d716a2609364572367a5ff47, and https://git.kernel.org/stable/c/e38b415c024bc3b6321bf8650dbf3f4aab8e74b3. Organizations unable to immediately patch should disable the ksmbd module entirely via 'modprobe -r ksmbd' if not required for production workloads, or specifically disable SMB Direct RDMA support by removing RDMA-capable network interface configurations from ksmbd.conf and restarting the service. If ksmbd with RDMA must remain operational, implement network segmentation to restrict SMB Direct connections (TCP port 445 with RDMA) to trusted administrative networks only via firewall rules, though this significantly reduces the performance benefits of RDMA deployment. Note that disabling ksmbd does not affect standard Samba (smbd) deployments which use separate userspace implementations. For high-performance computing environments where ksmbd RDMA is mission-critical, prioritize emergency patching during the next available maintenance window, as the workarounds eliminate the primary value proposition of the technology.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <24082642654f3e5149913946e89c00a297a8868f
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9da82dc73cb03e85d716a2609364572367a5ff47
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e38b415c024bc3b6321bf8650dbf3f4aab8e74b3
Linux patch: 6.18.11
Linux patch: 6.19.1
Linux patch: 7.0

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

This vulnerability affects the Linux kernel's ksmbd module, specifically the SMB Direct (SMBDirect) implementation which uses RDMA (Remote Direct Memory Access) over InfiniBand for high-performance SMB file sharing. The issue occurs in the send_done completion handler when processing batched RDMA send requests. In RDMA operations, IB_SEND_SIGNALED is a flag that requests completion notifications for send operations. The ksmbd implementation batches multiple send operations where only the final request carries IB_SEND_SIGNALED for efficiency. However, when a connection breaks unexpectedly, the RDMA layer signals completions for all pending requests regardless of the IB_SEND_SIGNALED flag. The vulnerable code path fails to handle this scenario correctly, leading to premature destruction of request structures that were expected to be freed only with the final signaled completion. This creates a classic use-after-free condition where memory is accessed after being deallocated. The affected code paths are in the SMB server's RDMA transport layer, which is only active when SMB Direct is configured and enabled. The CPE strings indicate broad kernel version exposure from the initial Git commit 1da177e4c3f4 (kernel 2.6.12-rc2, 2005) through current versions, though SMBDirect support was added much later, making the practical exposure window narrower than CPE suggests.

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 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE CRITICAL

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
Patch released
Apr 28, 2026 - 19:10 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
9.8 (CRITICAL)
Patch available
Apr 24, 2026 - 16:01 EUVD
CVE Published
Apr 24, 2026 - 14:30 nvd
CRITICAL 9.8

DescriptionCVE.org

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

smb: server: let send_done handle a completion without IB_SEND_SIGNALED

With smbdirect_send_batch processing we likely have requests without IB_SEND_SIGNALED, which will be destroyed in the final request that has IB_SEND_SIGNALED set.

If the connection is broken all requests are signaled even without explicit IB_SEND_SIGNALED.

Executive ViewAI

Why It Matters

CVE-2026-31536 is a critical use-after-free vulnerability in the Linux kernel SMB server (ksmbd) that allows unauthenticated remote attackers to execute arbitrary code or crash systems through crafted SMB Direct connections. Organizations running vulnerable Linux kernel versions with SMB Direct/RDMA enabled face severe risk of unauthorized system compromise and service disruption, particularly affecting file servers and shared storage infrastructure.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If patching cannot be completed within 7 days, immediately disable SMB Direct/RDMA on affected ksmbd deployments; restrict SMB access via network segmentation to trusted subnets only; monitor system logs and kernel error messages for memory corruption indicators.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

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

Vendor StatusVendor

SUSE

Severity: Critical
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