5.5medium
smb: server: make use of smbdirect_socket.send_io.bcredits
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 5.15 before 6.18.11, from 6.19 before 6.19.1 | NVD |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: smb: servidor: hacer uso de smbdirect_socket.send_io.bcredits Resulta que nuestro código corromperá el flujo de mensajes de transferencia de datos reensamblados cuando activamos un envío inmediato (vacío). Para solucionar esto, tendremos un único crédito ’batch’ por conexión. Y el código que obtiene ese crédito es libre de usar tantos mensajes hasta que remaining_length llegue a 0, entonces el crédito batch es devuelto y el siguiente envío lógico puede ocurrir.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31537 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-31537 changed 2026-11-11 | Public domain |