CVE-2026-31537

Source
https://cve.org/CVERecord?id=CVE-2026-31537
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31537.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-31537
Downstream
Published
2026-04-24T14:30:24Z
Modified
2026-08-12T03:51:13Z
Summary
smb: server: make use of smbdirect_socket.send_io.bcredits
Details

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

smb: server: make use of smbdirect_socket.send_io.bcredits

It turns out that our code will corrupt the stream of reassabled data transfer messages when we trigger an immendiate (empty) send.

In order to fix this we'll have a single 'batch' credit per connection. And code getting that credit is free to use as much messages until remaining_length reaches 0, then the batch credit it given back and the next logical send can happen.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31537.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0626e6641f6b467447c81dd7678a69c66f7746cf
Fixed
5ef18a2e66f2f33fdac64437bddfb9fe6389fdc7
Fixed
79242e7b6bc63efec28b7c235bc320806afce6c0
Fixed
34abd408c8ba24d7c97bd02ba874d8c714f49db1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31537.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
6.18.11
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31537.json"