CVE-2026-31539·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: smb: smbdirect: introduce 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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.19.1
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.33% — higher than 26% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-31539 scores 7.5 on CVSS, so a successful attack would be serious — but at 0.33%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 6.19.1
Fixed in: 6.19.1
How to fix this CVE
Update your Linux kernel to version 6.19.1 or later to resolve a race condition in the SMB Direct protocol's receive credit management. This vulnerability affects kernel versions 6.19 through 6.19.1 and can cause denial of service due to improper tracking of available receive buffers. Apply the kernel update promptly and reboot your system to ensure protection.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with 'uname -r' and verify if it matches 6.19.0 or 6.19.1
- Step 2: Confirm SMB Direct (RDMA over Converged Ethernet) is in use by checking 'grep -i rdma /proc/net/smb_direct_stats' or checking Samba/SMB configuration for RDMA settings
- Step 3: Search system logs for SMB Direct connection errors or credit exhaustion messages with 'journalctl -u smbd -n 1000 | grep -i credit'
- Step 4: After patching, verify the new kernel is running with 'uname -r' and confirm it is 6.19.2 or later
FAQ
What is CVE-2026-31539?
This vulnerability is a race condition in the Linux kernel's SMB Direct implementation where receive credits are incorrectly tracked due to a timing window between hardware packet receipt and software completion processing. An attacker could exhaust available credits, causing a denial of service for SMB Direct connections.
Is CVE-2026-31539 being actively exploited?
No, CVE-2026-31539 is not currently being actively exploited in the wild according to CISA's Known Exploited Vulnerabilities (KEV) catalog, and no public exploit code is available.
What versions of Kernel are affected by CVE-2026-31539?
Linux kernel versions 6.19.0 and 6.19.1 are affected. The vulnerability was fixed in kernel 6.19.2 and later versions.
How do I check if my server is vulnerable to CVE-2026-31539?
Run 'uname -r' to check your kernel version. If it returns 6.19.0 or 6.19.1, your server is vulnerable. Additionally, verify SMB Direct usage with 'cat /proc/net/smb_direct_stats' if the file exists.
Does Defensia detect CVE-2026-31539?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-31539 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31539. Free for 1 server.
Get started free