CVE-2026-31535
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-31535 is a race condition vulnerability in the Linux kernel's SMB client component, specifically in the smbdirect_socket receive credit management logic. The flaw was disclosed on April 24, 2026, and affects Linux kernel versions 6.18.0–6.18.10 and 6.19.0. It carries a CVSS v3.1 base score of 4.7 (Medium), reflecting a local, high-complexity attack requiring low privileges (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The vulnerability is classified as CWE-367 (Time-of-Check Time-of-Use / TOCTOU Race Condition). The SMB client's logic for managing receive (recv) credits counts posted recv_io buffers and granted credits, but a timing window exists between when incoming data is received at the hardware level and when the recv_done completion handler processes it. During this window, the kernel may grant credits to the peer that do not actually exist, because the peer may have already consumed a credit before the completion is processed. The fix introduces a dedicated smbdirect_socket.recv_io.credits.available counter that is incremented when new recv buffers are posted and decremented when credits are granted to the peer, eliminating the race (Red Hat Bugzilla).

Impact

Successful exploitation of this vulnerability allows a local, low-privileged attacker to trigger kernel crashes through the race condition in SMB Direct (RDMA-based SMB) credit management, resulting in a denial of service. The impact is limited to availability — there is no confidentiality or integrity impact. Affected systems using SMB Direct connectivity may experience loss of SMB functionality and potential kernel panics (Red Hat Advisory).

Exploitability

There is no known public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of this report. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.017%, reflecting very low probability of exploitation in the near term. Exploitation requires local access, low privileges, and high attack complexity, significantly limiting the practical attack surface (Red Hat Advisory).

Mitigation and workarounds

Update the Linux kernel to a patched version: 6.18.11 or later for the 6.18.x branch, 6.19.1 or later for the 6.19.x branch, or kernel 7.0 and later. Patch commits are available at git.kernel.org (commits 9911b1ed187a, be8845ad5d65, and f664e6e8a811). Given the medium severity and low exploitation likelihood, this can be addressed during regular patching cycles. Monitor kernel logs and SMB client connectivity for unexpected crashes on affected systems (Red Hat Advisory, Red Hat Bugzilla).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Fixed

sid

linux: 6.18.12-1

Fixed

trixie

linux

Fixed

Ubuntu

Unknown

bionic

linux

Not Affected

bionic (esm-infra)

linux

Not Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux

Not Affected

focal (esm-infra)

linux

Not Affected

focal (fips-updates)

linux-fips

Not Affected

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-89654CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-extra
NoYesSep 11, 2026
CVE-2026-89711HIGH8.2
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesSep 11, 2026
CVE-2026-89682HIGH8.1
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 11, 2026
CVE-2026-89648HIGH7.5
  • Linux Kernel logoLinux Kernel
  • linux-azure-7.0
NoYesSep 11, 2026
CVE-2026-89693HIGH7
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesSep 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management