Skip to main content

Linux Kernel CVE-2026-31538

| EUVDEUVD-2026-25431 HIGH
2026-04-24 Linux GHSA-f5hg-hrh7-wfrr
7.5
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Connect to SMBDirect service
  2. Delivery
    Send SMB negotiate with RDMA
  3. Exploit
    Trigger credit race condition
  4. Execution
    Exhaust receive buffers
  5. Impact
    Service denial of SMB access

Vulnerability Assessment

Exploitation Conditions

Requires ksmbd kernel module enabled and loaded (non-default configuration on most distributions - administrator must explicitly enable). SMBDirect transport must be configured with RDMA-capable network hardware (InfiniBand, RoCE, or iWARP adapters) and corresponding kernel drivers loaded. Target SMB service must be network-accessible on port 445/tcp or 5445/tcp. The vulnerability is in server-side code, so exploitation does not require authentication or user interaction (PR:N/UI:N), but does require the specific ksmbd+RDMA deployment configuration. Standard Linux systems using Samba userspace server, systems without RDMA hardware, or systems with ksmbd disabled are not vulnerable. Attack complexity is low (AC:L) once prerequisites are met - no exploit timing precision beyond general race condition triggering is needed.

Impact

CVSS 7.5 (High) reflects network-reachable denial of service with low attack complexity and no authentication requirement (AV:N/AC:L/PR:N/UI:N). However, real-world risk is significantly lower than the raw score suggests. EPSS probability of 0.02% (4th percentile) indicates minimal observed exploitation interest. The vulnerability requires specific deployment conditions: ksmbd must be enabled (non-default on most distributions), SMBDirect/RDMA transport must be configured (enterprise NAS/HPC environments only), and the server must be network-accessible. Most Linux systems use Samba userspace server or don't expose SMB services. The impact is limited to availability degradation of the SMB service only - not system-wide crash or data compromise (C:N/I:N/A:H). Not listed in CISA KEV and no public exploit identified at time of analysis. Vendor patches available within standard kernel release cycle (6.18.11, 6.19.1, 7.0) suggest routine severity rather than emergency response. Primary risk is for organizations running ksmbd in production with RDMA-enabled storage infrastructure. Typical enterprise SMB deployments using Windows Server or Samba are unaffected. Assessment: Medium priority for affected niche deployments, low priority for general Linux fleet management.

Exploit ScenarioDerived

An external attacker sends a rapid sequence of SMB connection requests with SMBDirect negotiation to a Linux file server running ksmbd with RDMA enabled. By carefully timing requests to exploit the race window between RDMA hardware receive and software completion processing, the attacker causes the server to grant more credits than actual available receive buffers. Repeated exploitation exhausts server-side resources, causing the ksmbd process to become unresponsive or crash, denying legitimate SMB file access to authorized users until service restart.

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 27, 2026

Denial of service in Linux kernel SMB server (ksmbd) affects versions 6.18 through 7.0-rc via race condition in SMBDirect receive credit management. Remote unauthenticated attackers can trigger resource exhaustion through crafted SMB packets exploiting the window between hardware reception and completion processing. Vendor patches released for stable branches 6.18.11, 6.19.1, and mainline 7.0. Low EPSS score (0.02%) indicates limited exploitation interest despite network attack vector and no authentication requirement.

RemediationAI

Upgrade to patched kernel versions: 6.18.11 or later for the 6.18 stable branch, 6.19.1 or later for 6.19 stable, or 7.0 final release for mainline. Patch commits available at https://git.kernel.org/stable/c/809cbd31aa4f87a1b889532244c9cf30eb022385 (6.18), https://git.kernel.org/stable/c/66c082e3d4651e8629a393a9e182b01eb50fb0a3 (6.19), and https://git.kernel.org/stable/c/26ad87a2cfb8c1384620d1693a166ed87303046e (7.0). If immediate patching is not feasible, disable ksmbd module (modprobe -r ksmbd) and use Samba userspace server instead - this eliminates the vulnerability but requires service migration and may impact RDMA performance optimizations. Alternatively, restrict network access to SMB ports (445/tcp, 5445/tcp) using firewall rules to trusted management networks only, reducing exposure but not eliminating risk from internal threats. For RDMA-specific mitigation, disable SMBDirect transport in ksmbd configuration and fall back to TCP transport - this preserves ksmbd functionality but loses RDMA performance benefits. Monitor for abnormal SMB connection patterns or resource exhaustion in ksmbd process as potential exploitation indicators.

Affected VersionsENISA

Linux patch: 0
Linux 6.18
Linux 89b021a72663c4d96d8a8b85272bb42d991a1c6f <26ad87a2cfb8c1384620d1693a166ed87303046e
Linux patch: 6.18.11
Linux patch: 6.19.1
Linux 89b021a72663c4d96d8a8b85272bb42d991a1c6f <66c082e3d4651e8629a393a9e182b01eb50fb0a3
Linux 89b021a72663c4d96d8a8b85272bb42d991a1c6f <809cbd31aa4f87a1b889532244c9cf30eb022385
Linux patch: 7.0

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

This vulnerability resides in the Linux kernel's ksmbd module, specifically in the SMBDirect (SMB over RDMA) implementation. SMBDirect uses Remote Direct Memory Access to provide high-performance SMB file sharing. The flaw is a classic time-of-check-time-of-use (TOCTOU) race condition in credit management logic. Credits in SMBDirect control flow between client and server by limiting outstanding requests. The vulnerable code counts posted receive I/O operations and granted credits separately, creating a window between when the RDMA hardware receives data and when the recv_done handler processes the completion event. During this window, the server may grant credits that don't correspond to actual available receive buffers, leading to resource accounting errors. The fix introduces a dedicated atomic counter (smbdirect_socket.recv_io.credits.available) that increments when buffers are posted and decrements atomically when credits are granted, eliminating the race. This affects the kernel's file server functionality rather than client operations, and specifically impacts deployments using SMB over RDMA rather than traditional TCP transport.

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

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
Patch released
Apr 28, 2026 - 18:59 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
7.5 (HIGH)
Patch available
Apr 24, 2026 - 16:01 EUVD
CVE Published
Apr 24, 2026 - 14:30 nvd
HIGH 7.5

DescriptionCVE.org

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

smb: server: make use of smbdirect_socket.recv_io.credits.available

The logic off managing recv credits by counting posted recv_io and granted credits is racy.

That's because the peer might already consumed a credit, but between receiving the incoming recv at the hardware and processing the completion in the 'recv_done' functions we likely have a window where we grant credits, which don't really exist.

So we better have a decicated counter for the available credits, which will be incremented when we posted new recv buffers and drained when we grant the credits to the peer.

This fixes regression Namjae reported with the 6.18 release.

Executive ViewAI

Why It Matters

CVE-2026-31538 is a denial-of-service vulnerability in Linux kernel SMB server (ksmbd) affecting versions 6.18 through 7.0-rc that allows unauthenticated remote attackers to exhaust system resources via crafted SMB packets. Organizations operating affected Linux kernel versions face potential service disruption and availability impact, particularly for systems exposing SMB services to untrusted networks. The low EPSS score (0.0%) suggests limited current exploitation, but the unauthenticated network attack vector warrants prioritized remediation for externally-facing infrastructure.

Business Impact: High
Compensating Controls

Apply vendor patch. If patching cannot be completed within 7 days, implement firewall rules to restrict inbound SMB traffic (TCP/UDP ports 139, 445) to authorized clients and networks only, and disable ksmbd kernel module if SMB server functionality is not required.

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
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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