Skip to main content

Linux Kernel EUVDEUVD-2026-25428

| CVE-2026-31535 MEDIUM
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-04-24 Linux GHSA-4w64-3hfc-pgqc
4.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Local login to system with SMBDirect capability
  2. Delivery
    Initiate SMBDirect connection to target server
  3. Exploit
    Trigger rapid recv_io completion sequences
  4. Execution
    Exploit race between hardware credit consumption and kernel accounting
  5. Persist
    Cause credit counter inconsistency
  6. Impact
    Trigger denial of service in SMB client

Vulnerability Assessment

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

Exploitation requires the following specific conditions: (1) Local authenticated access to the system (login as any non-root user sufficient due to PR:L in CVSS); (2) SMB client functionality compiled and enabled in the kernel (CONFIG_CIFS=y); (3) An active SMBDirect (SMB3 over TCP or RDMA) connection to an SMB server; (4) Precise timing to trigger the race condition between hardware recv completion and kernel credit management, which necessitates multiple attempts and makes reliable exploitation difficult (AC:H factor); (5) Non-default SMB client configuration actively using SMBDirect protocol rather than traditional CIFS. Systems that do not use SMB client functionality or run kernels with SMB client disabled are not vulnerable. Systems using only traditional CIFS (non-SMBDirect) are also not affected as this bug is specific to SMBDirect credit handling.

Impact

This vulnerability presents a low-to-moderate real-world risk. The CVSS score of 4.7 reflects local attack vector, high complexity, low privilege requirement, and high availability impact (denial of service). However, the EPSS score of 0.02% (percentile 4%) indicates very low exploitation likelihood, suggesting this is primarily a kernel stability issue rather than an actively exploited security threat. The attack requires local authentication (PR:L), non-trivial timing conditions (AC:H), and knowledge of the SMBDirect protocol internals. KEV status is negative - this is not listed as actively exploited. The vulnerability is limited to availability impact (A:H) with no confidentiality or integrity compromise, meaning the worst outcome is a denial of service affecting SMB client functionality, not system compromise. The race condition's intermittent triggering (implied by AC:H) makes reliable exploitation difficult. This is appropriately classified as a stability bug with security implications rather than a critical exploitation vector.

Exploit ScenarioDerived

A local authenticated user on a system with the vulnerable kernel and SMB client enabled could craft a sequence of SMBDirect operations that exploit the race condition between hardware credit consumption and kernel credit accounting. By repeatedly triggering recv_io completions at precisely timed intervals relative to credit grants, an attacker could cause the credit counter to become inconsistent, resulting in either stalled SMB client connections (when credits underflow) or protocol violations (when credits overflow). This would trigger denial of service affecting any process using SMB file shares or remote file access.

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 – Apr 28, 2026

A race condition in the Linux kernel SMB client's recv_io credit management allows local authenticated users to cause a denial of service through timing-sensitive credit accounting between incoming data reception and completion processing. The vulnerability affects SMBDirect socket credit handling where credits may be granted to peers before corresponding recv buffers are actually posted, creating a window where credit accounting becomes inconsistent. Exploitation requires local access and moderate complexity but is not confirmed as actively exploited (not listed in CISA KEV).

RemediationAI

Vendor-released patch: Linux kernel versions 6.18.11, 6.19.1, 7.0 or later contain the fix. System administrators should upgrade to the patched kernel version appropriate for their distribution and kernel branch. For distributions on the 6.18 Long-Term Support branch, upgrade to 6.18.11 or later; for 6.19 branch systems, upgrade to 6.19.1 or later; for newer systems, upgrade to 7.0 or later. The fix is available in upstream stable kernel repositories at https://git.kernel.org/stable/ (commits f664e6e8a81103cb45c8802a9bc7499e0902c458, be8845ad5d6558703d20567d8702155598325db8, and 9911b1ed187a770a43950bf51f340ad4b7beecba). Until patching is completed, users not relying on SMB client functionality can disable the CIFS/SMB client module (CONFIG_CIFS=n), though this eliminates SMB mounting capability entirely. No other workarounds are available due to the race condition's location in core credit management logic.

Affected VersionsENISA

Linux 5fb9b459b3686e366640edd4e62805ef7b4de927 <be8845ad5d6558703d20567d8702155598325db8
Linux 5fb9b459b3686e366640edd4e62805ef7b4de927 <9911b1ed187a770a43950bf51f340ad4b7beecba
Linux 5fb9b459b3686e366640edd4e62805ef7b4de927 <f664e6e8a81103cb45c8802a9bc7499e0902c458
Linux patch: 7.0
Linux patch: 6.19.1
Linux patch: 6.18.11
Linux 6.18
Linux patch: 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 exists in the SMB client implementation of the Linux kernel, specifically in the SMBDirect (SMB over RDMA/TCP) socket credit management mechanism. SMB credit systems regulate data flow between client and server by limiting concurrent operations; the vulnerability (CWE-367, race condition) occurs in the logic that manages 'recv credits' - the number of recv buffers available to receive data. The code incorrectly tracks credits by counting posted recv_io operations and granted credits, creating a time-of-check-time-of-use (TOCTOU) window. Between when incoming data arrives at the hardware level and when the completion handler processes it, the kernel may grant credits to the peer that don't actually exist because the hardware has consumed them but the kernel hasn't updated its accounting. The fix introduces a dedicated 'smbdirect_socket.recv_io.credits.available' counter that increments only when new recv buffers are posted and decrements when credits are actually granted, eliminating the race condition.

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 4.7 MEDIUM
AV:L/AC:H/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
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Apr 28, 2026 - 19:22 NVD
4.7 (MEDIUM)
Patch released
Apr 28, 2026 - 19:14 nvd
Patch available
Patch available
Apr 24, 2026 - 16:01 EUVD
CVE Published
Apr 24, 2026 - 14:30 nvd
MEDIUM 4.7

DescriptionNVD

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

smb: client: 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.

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 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

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