CVE-2026-99388
In the Linux kernel, the following vulnerability has been resolved: smb: smbdirect: fix buffer length underflow in RDMA transfers When a remote buffer descript…
Auswirkung
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.
Betroffene Produkte · Linux
| Produkt | Betroffene Versionen |
|---|---|
| Linux | ab e628bf939aafb61fbc56e9bdac8795cea5127e25 vor 5072f32330c71de91c1a844e7becaee48d743561 ab e628bf939aafb61fbc56e9bdac8795cea5127e25 vor 1f5c774488fa2dabe6667cb26888aaea39c4ead6 ab e628bf939aafb61fbc56e9bdac8795cea5127e25 vor 956968544ae647aa9a9534b58735f47922c85d44 ab e628bf939aafb61fbc56e9bdac8795cea5127e25 vor 7193241a49c958782ba4b8df06da3734d1e317d2 Versionen c5aa74449a41d9c10900d82d2c2e62d5462ef932, cf859267e639cff1f525bd050f370ea752cc25f7 |
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://git.kernel.org/stable/c/5072f32330c71de91c1a844e7becaee48d743561
- https://git.kernel.org/stable/c/1f5c774488fa2dabe6667cb26888aaea39c4ead6
- https://git.kernel.org/stable/c/956968544ae647aa9a9534b58735f47922c85d44
- https://git.kernel.org/stable/c/7193241a49c958782ba4b8df06da3734d1e317d2
- https://github.com/advisories/GHSA-9g85-p863-gg44
- https://nvd.nist.gov/vuln/detail/CVE-2026-99388