CVE-2026-99388
Description
In the Linux kernel, the following vulnerability has been resolved: smb: smbdirect: fix buffer length underflow in RDMA transfers When a remote buffer descriptor is larger than the remaining local buffer, smbdirect_connection_rdma_xmit() clamps its length and sets buf_len to zero. The common accounting code then subtracts the clamped length from buf_len, causing it to underflow. If another descriptor follows, the loop processes it with a wrapped remaining length and includes memory beyond the local buffer in the RDMA transfer. A client can trigger an out-of-bounds kernel write with an SMB WRITE request, or an out-of-bounds kernel read with an SMB READ request, by supplying multiple RDMA buffer descriptors with an oversized descriptor before the last one. Remove the premature assignment to buf_len. Subtracting the clamped length already consumes the remaining buffer, so the next iteration stops and only descriptors within the local buffer are used to build work requests.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Azure Linux Affected 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 3.0 | — | Affected | — |
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Fixed | 6.12.117-1 |
| sid | linux |
Fixed | 7.3.3-1 |
| forky | linux |
Fixed | 7.3.3-1 |
| bookworm | linux |
Affected | — |
| bookworm | linux-6.12 |
Fixed | 6.12.117-1~deb12u1 |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | {"startIncluding":"5.15.145","endExcluding":"5.16"} | 5.16 |
| linux | linux | {"startIncluding":"6.1.52","endExcluding":"6.2"} | 6.2 |
| linux | linux | {"startIncluding":"6.4.15","endExcluding":"6.5"} | 6.5 |
| linux | linux | {"startIncluding":"6.5.2","endExcluding":"6.6"} | 6.6 |
| linux | linux | 6.6 | |
| linux | linux | {"startIncluding":"5.15.145","endExcluding":"5.15.226"} | 5.15.226 |
| linux | linux | {"startIncluding":"6.1.52","endExcluding":"6.1.193"} | 6.1.193 |
References
- https://git.kernel.org/stable/c/1f5c774488fa2dabe6667cb26888aaea39c4ead6
- https://git.kernel.org/stable/c/5072f32330c71de91c1a844e7becaee48d743561
- https://git.kernel.org/stable/c/7193241a49c958782ba4b8df06da3734d1e317d2
- https://git.kernel.org/stable/c/956968544ae647aa9a9534b58735f47922c85d44
- https://security-tracker.debian.org/tracker/CVE-2026-99388
- https://www.suse.com/security/cve/CVE-2026-99388.html
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-99388
- https://git.kernel.org/stable/c/2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76
- https://git.kernel.org/stable/c/94b94000981c56aa01e9ca2b411dff15600c079c
- https://git.kernel.org/stable/c/a1a44af9fd0555755a81ca0c201f681572471d05
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.