CVE-2026-99388
Severity unknownNo known exploitationFix availablesmb: smbdirect: fix buffer length underflow in RDMA transfers
Record last updated
CVSS score
No score published yet
EPSS, chance of exploitation in 30 days
Higher than 13% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Patching and mitigation
- Patch status
- Fix available (source: CVE record (Linux))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 5.15.145 before 5.16 | 5.16 | CVE Program |
| Linux | Linux | from 6.1.52 before 6.2 | 6.2 | CVE Program |
| Linux | Linux | from 6.4.15 before 6.5 | 6.5 | CVE Program |
| Linux | Linux | from 6.5.2 before 6.6 | 6.6 | CVE Program |
| Linux | Linux | from e628bf939aafb61fbc56e9bdac8795cea5127e25 before 5072f32330c71de91c1a844e7becaee48d743561 | 5072f32330c71de91c1a844e7becaee48d743561 | CVE Program |
| Linux | Linux | from e628bf939aafb61fbc56e9bdac8795cea5127e25 before 1f5c774488fa2dabe6667cb26888aaea39c4ead6 | 1f5c774488fa2dabe6667cb26888aaea39c4ead6 | CVE Program |
| Linux | Linux | from e628bf939aafb61fbc56e9bdac8795cea5127e25 before 956968544ae647aa9a9534b58735f47922c85d44 | 956968544ae647aa9a9534b58735f47922c85d44 | CVE Program |
| Linux | Linux | from e628bf939aafb61fbc56e9bdac8795cea5127e25 before 7193241a49c958782ba4b8df06da3734d1e317d2 | 7193241a49c958782ba4b8df06da3734d1e317d2 | CVE Program |
| Linux | Linux | 1c660940f525279bb23b5d99a591535e7c359efe | Not documented | CVE Program |
| Linux | Linux | 6.6 | Not documented | CVE Program |
| Linux | Linux | c5aa74449a41d9c10900d82d2c2e62d5462ef932 | Not documented | CVE Program |
| Linux | Linux | cf859267e639cff1f525bd050f370ea752cc25f7 | Not documented | CVE Program |
| Linux | Linux | ebdb872897dbb2425b6c9f7b7e2f5d9a8042a76a | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.117 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.61 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.3.2 up to and including 7.3.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.4-rc1 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 6.6 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (Linux)
Vendor guidance and references
- https://git.kernel.org/stable/c/1f5c774488fa2dabe6667cb26888aaea39c4ead6 (opens in a new tab)
- https://git.kernel.org/stable/c/5072f32330c71de91c1a844e7becaee48d743561 (opens in a new tab)
- https://git.kernel.org/stable/c/7193241a49c958782ba4b8df06da3734d1e317d2 (opens in a new tab)
- https://git.kernel.org/stable/c/956968544ae647aa9a9534b58735f47922c85d44 (opens in a new tab)