# CVE-2026-31537: smb: server: make use of smbdirect_socket.send_io.bcredits

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-24T14:30:24.907Z
- Modified: 2026-11-11T23:10:00.263Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0626e6641f6b467447c81dd7678a69c66f7746cf before 5ef18a2e66f2f33fdac64437bddfb9fe6389fdc7; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 79242e7b6bc63efec28b7c235bc320806afce6c0; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 34abd408c8ba24d7c97bd02ba874d8c714f49db1; 5.15 (not affected: before 5.15; from 6.18.11 up to 6.18.*; from 6.19.1 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.15 before 6.18.11; from 6.19 before 6.19.1

## References

- <https://git.kernel.org/stable/c/5ef18a2e66f2f33fdac64437bddfb9fe6389fdc7> (patch)
- <https://git.kernel.org/stable/c/79242e7b6bc63efec28b7c235bc320806afce6c0> (patch)
- <https://git.kernel.org/stable/c/34abd408c8ba24d7c97bd02ba874d8c714f49db1> (patch)

## Sources

- CVE List: [CVE-2026-31537](https://www.cve.org/CVERecord?id=CVE-2026-31537), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-31537](https://nvd.nist.gov/vuln/detail/CVE-2026-31537), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31537 · Whole record: https://cve.day/CVE-2026-31537.json · Rebuilt by cve.day 2026-11-25T22:59:19.472Z
