CVE-2026-31535
MediumIn 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.
CVSS 3.1 score
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-367CVE-2026-31535 is classified as CWE-367
See CWE-367 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
6.18
and later are affected. Fixed in
6.18.11,
6.19.1,
7.0
and their respective stable series.
References
The following references provide additional information about CVE-2026-31535 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9911b1ed187a770a43950bf51f340ad4b7beecba
-
PatchKernel patch commithttps://git.kernel.org/stable/c/be8845ad5d6558703d20567d8702155598325db8
-
PatchKernel patch commithttps://git.kernel.org/stable/c/f664e6e8a81103cb45c8802a9bc7499e0902c458
Frequently asked questions
-
What is CVE-2026-31535?
CVE-2026-31535 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 . It affects Linux kernel versions from 6.18 onward and has been patched in 6.18.11, 6.19.1 and 7.0. CVE-2026-31535 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-31535?
CVE-2026-31535 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2026-31535?
Yes — CVE-2026-31535 has been patched. Fixed versions include 6.18.11, 6.19.1 and 7.0. If you are running Linux kernel 6.18 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-31535 actively exploited?
No — CVE-2026-31535 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.