Skip to main content

Linux Kernel CVE-2026-31608

| EUVDEUVD-2026-25501 CRITICAL
Double Free (CWE-415)
2026-04-24 Linux GHSA-qx6q-mqg9-4px7
9.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Connect to SMB Direct RDMA port
  2. Delivery
    Send crafted SMB negotiation
  3. Exploit
    Trigger batched message processing
  4. Execution
    Exploit double-free in sendmsg cleanup
  5. Persist
    Corrupt kernel heap metadata
  6. Impact
    Execute arbitrary code in kernel context

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Exploitation Conditions

Requires target system running the in-kernel SMB server implementation (ksmbd module loaded) with SMB Direct RDMA transport explicitly enabled in server configuration. SMB Direct requires RDMA-capable network infrastructure including RDMA NICs (InfiniBand, RoCE, or iWARP adapters) on both client and server, which eliminates standard TCP/Ethernet-only deployments from attack surface. Attacker needs network connectivity to the SMB Direct service port (default TCP 5445 for RDMA negotiation). Does NOT affect the vastly more common user-space Samba daemon deployments. Does NOT affect kernel SMB servers configured for TCP-only transport without RDMA. Non-default configuration limits real-world exposure significantly - most Linux SMB deployments use Samba in user-space, and even ksmbd deployments typically use standard TCP rather than RDMA transport due to specialized hardware requirements.

Impact

The CVSS 9.8 vector (AV:N/AC:L/PR:N/UI:N) indicates maximum severity with network-accessible exploitation requiring no authentication or user interaction, theoretically enabling remote kernel compromise. However, real-world risk requires significant nuance. The EPSS score of 0.02% (4th percentile) suggests security researchers and threat actors view actual exploitation likelihood as very low despite theoretical severity. No CISA KEV listing exists, no public POC identified, and SSVC framework would likely classify this as 'defer' priority due to low observed exploitation. Critical limiting factors: SMB Direct uses RDMA transport requiring specialized RDMA-capable networking hardware (InfiniBand, RoCE, iWARP) not present in typical deployments; the vulnerable code path only affects systems acting as SMB kernel servers with Direct/RDMA enabled; most production environments use user-space Samba instead of kernel ksmbd for SMB serving. The double-free may be difficult to weaponize reliably across kernel versions due to heap layout variations. This represents a high-CVSS-but-low-real-risk scenario where patch priority depends on specific deployment: critical for RDMA-enabled kernel SMB servers, low priority for standard Linux systems.

Exploit ScenarioDerived

An attacker identifies a Linux server running the in-kernel ksmbd SMB server with SMB Direct RDMA transport enabled, typically exposed on port 5445. The attacker sends specially crafted SMB Direct negotiation and message sequences over the RDMA connection that trigger the vulnerable code path in smb_direct_flush_send_list(). By manipulating message batching operations, they cause the kernel to call smb_direct_free_sendmsg() twice on the same memory allocation, corrupting kernel heap metadata. With precise heap manipulation techniques, this double-free condition could potentially be leveraged for arbitrary kernel memory writes, leading to privilege escalation or remote code execution within kernel context. Exploitation complexity is high due to RDMA protocol requirements and kernel heap ASLR protections, but no user interaction is required once network access to the SMB Direct service is obtained.

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

A double-free vulnerability in the Linux kernel's SMB Direct (RDMA transport) server implementation allows remote unauthenticated attackers to trigger memory corruption with high CVSS 9.8 severity. The flaw occurs when smb_direct_free_sendmsg() is called twice on the same memory region after smb_direct_flush_send_list() moves messages to a batch list. Vendor patches available across kernel versions 6.18.24, 6.19.14, and 7.0.1, with upstream commits confirmed in stable branches. Despite critical CVSS scoring, EPSS probability remains very low at 0.02% (4th percentile) and no active exploitation or public POC identified, suggesting limited real-world targeting of this SMB Direct RDMA feature.

RemediationAI

Apply vendor-released patches for your kernel stable branch: upgrade to Linux 6.18.24, 6.19.14, 7.0.1, or later versions that include upstream fixes from commits 6968c91fab05, 2ba03f46132b, 830de6eeb9db, or 84ff995ae826. Patches backported across stable branches and available through standard distribution security update channels. If immediate patching is not feasible for RDMA-enabled SMB servers, disable SMB Direct/RDMA transport in ksmbd configuration by removing rdma_transform_id from server settings and restricting to TCP transport only (trade-off: loss of RDMA performance benefits but eliminates attack surface). Alternative compensating control: migrate from in-kernel ksmbd to user-space Samba daemon which uses separate code path unaffected by this kernel vulnerability (trade-off: requires service migration and configuration changes). Network-level mitigation: restrict SMB Direct RDMA ports (typically TCP 5445) to trusted management networks only using host firewall rules, though this only reduces exposure rather than eliminating the vulnerability. For non-RDMA environments or systems not running ksmbd, this vulnerability presents no risk and standard patch cadence applies.

Affected VersionsENISA

Linux patch: 6.19.14
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6968c91fab05b8fc4d6700e0cf34472bb422df25
Linux patch: 7.0.1
Linux patch: 6.18.24
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2ba03f46132b0d1a7bafb86e1ef61951a2254023
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <830de6eeb9db4cb7e758201fb99328ef4ca4b032

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 implementation of SMB Direct, which provides RDMA (Remote Direct Memory Access) transport for SMB3 file sharing protocol. The affected code path involves the smb_direct_flush_send_list() function that manages batched message sending over RDMA connections. When messages are moved to the batch list during post_sendmsg() operations, the memory cleanup function smb_direct_free_sendmsg() gets called redundantly, creating a use-after-free condition where the same memory region is freed twice. This represents a classic double-free vulnerability pattern that can corrupt kernel heap structures. The CPE strings indicate broad kernel impact across Linux versions, though the EUVD data shows specific affected version ranges starting from early kernel commit 1da177e4c3f4 through multiple stable branches requiring patches in 6.18.24, 6.19.14, and 7.0.1 series.

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 (Linux) 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 Vendor (Linux).

CVSS VectorVendor: Linux

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 29, 2026 - 20:03 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
9.8 (CRITICAL)
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:42 nvd
CRITICAL 9.8

DescriptionCVE.org

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

smb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()

smb_direct_flush_send_list() already calls smb_direct_free_sendmsg(), so we should not call it again after post_sendmsg() moved it to the batch list.

Executive ViewAI

Why It Matters

CVE-2026-31608 is a critical double-free vulnerability in Linux kernel SMB Direct (RDMA) that allows unauthenticated remote attackers to trigger memory corruption with a 9.8 CVSS score. However, real-world exploitation probability is extremely low (0.02% EPSS), as the vulnerability requires specific SMB Direct RDMA configurations that are not widely deployed in typical enterprise environments. Organizations should prioritize patching based on actual SMB Direct RDMA usage rather than CVSS severity alone.

Business Impact: Low
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, disable SMB Direct RDMA transport on affected servers (configure Samba or kernel to use TCP transport only) until patches are deployed; this eliminates the attack surface while maintaining standard SMB functionality.

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 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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Low

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