CVE-2026-31535

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

No CVSS score yet EPSS 0.092%

Published 24 Apr 2026 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2026-31535

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31535 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Exploitation

EPSS 0.092%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 0.50% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 5fb9b459b3686e366640edd4e62805ef7b4de927, before f664e6e8a81103cb45c8802a9bc7499e0902c458
affected from 5fb9b459b3686e366640edd4e62805ef7b4de927, before be8845ad5d6558703d20567d8702155598325db8
affected from 5fb9b459b3686e366640edd4e62805ef7b4de927, before 9911b1ed187a770a43950bf51f340ad4b7beecba
Other versions: unaffected
Linux
affected 6.18
unaffected before 6.18
unaffected from 6.18.11 up to and including 6.18.*
unaffected from 6.19.1 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31535 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31535

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-31535
trivy image --scanners vuln IMAGE | grep CVE-2026-31535

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-31535 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.