# CVE-2026-99388: smb: smbdirect: fix buffer length underflow in RDMA transfers

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.66% (percentile 47, 2026-11-28)
- **Published:** 2026-11-19T14:23:27.698Z
- **Modified:** 2026-11-23T08:17:43.523Z

## Who should check

- Anyone running Linux \>= c5aa74449a41d9c10900d82d2c2e62d5462ef932, \< 94b94000981c56aa01e9ca2b411dff15600c079c; \>= cf859267e639cff1f525bd050f370ea752cc25f7, \< 2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< a1a44af9fd0555755a81ca0c201f681572471d05; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< 5072f32330c71de91c1a844e7becaee48d743561; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< 1f5c774488fa2dabe6667cb26888aaea39c4ead6; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< 956968544ae647aa9a9534b58735f47922c85d44; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< 7193241a49c958782ba4b8df06da3734d1e317d2; 1c660940f525279bb23b5d99a591535e7c359efe; ebdb872897dbb2425b6c9f7b7e2f5d9a8042a76a; \>= 5.15.145, \< 5.15.226; …
- Anyone running Linux 6.6

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

## Affected and fixed versions

- Linux: \>= c5aa74449a41d9c10900d82d2c2e62d5462ef932, \< 94b94000981c56aa01e9ca2b411dff15600c079c; \>= cf859267e639cff1f525bd050f370ea752cc25f7, \< 2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< a1a44af9fd0555755a81ca0c201f681572471d05; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< 5072f32330c71de91c1a844e7becaee48d743561; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< 1f5c774488fa2dabe6667cb26888aaea39c4ead6; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< 956968544ae647aa9a9534b58735f47922c85d44; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< 7193241a49c958782ba4b8df06da3734d1e317d2; 1c660940f525279bb23b5d99a591535e7c359efe; ebdb872897dbb2425b6c9f7b7e2f5d9a8042a76a; \>= 5.15.145, \< 5.15.226; … (cvelist)
- Linux: 6.6 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99388. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99388.md
Affected: Linux >= c5aa74449a41d9c10900d82d2c2e62d5462ef932, < 94b94000981c56aa01e9ca2b411dff15600c079c; >= cf859267e639cff1f525bd050f370ea752cc25f7, < 2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76; >= e628bf939aafb61fbc56e9bdac8795cea5127e25, < a1a44af9fd0555755a81ca0c201f681572471d05; >= e628bf939aafb61fbc56e9b…
Fixed in: Linux 94b94000981c56aa01e9ca2b411dff15600c079c, Linux 2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76, Linux 5072f32330c71de91c1a844e7becaee48d743561, Linux 1f5c774488fa2dabe6667cb26888aaea39c4ead6, Linux 956968544ae647aa9a9534b58735f47922c85d44, Linux 7193241a49c958782ba4b8df06da3734d1e317d2, Linux 5.15.…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99388 being exploited?

There is no confirmed exploitation: CVE-2026-99388 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.66% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99388?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-99388?

Linux \>= c5aa74449a41d9c10900d82d2c2e62d5462ef932, \< 94b94000981c56aa01e9ca2b411dff15600c079c; \>= cf859267e639cff1f525bd050f370ea752cc25f7, \< 2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< a1a44af9fd0555755a81ca0c201f681572471d05; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< 5072f32330c71de91c1a844e7becaee48d743561; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< 1f5c774488fa2dabe6667cb26888aaea39c4ead6; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< 956968544ae647aa9a9534b58735f47922c85d44; \>= e628bf939aafb61fbc56e9bdac8795cea5127e25, \< 7193241a49c958782ba4b8df06da3734d1e317d2; 1c660940f525279bb23b5d99a591535e7c359efe; ebdb872897dbb2425b6c9f7b7e2f5d9a8042a76a; \>= 5.15.145, \< 5.15.226; …; Linux 6.6.

### Is there a fix for CVE-2026-99388?

Yes. Fixed in Linux 94b94000981c56aa01e9ca2b411dff15600c079c, Linux 2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76, Linux 5072f32330c71de91c1a844e7becaee48d743561, Linux 1f5c774488fa2dabe6667cb26888aaea39c4ead6, Linux 956968544ae647aa9a9534b58735f47922c85d44, Linux 7193241a49c958782ba4b8df06da3734d1e317d2, Linux 5.15.226. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99388?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/94b94000981c56aa01e9ca2b411dff15600c079c>
- other: <https://git.kernel.org/stable/c/2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76>
- other: <https://git.kernel.org/stable/c/a1a44af9fd0555755a81ca0c201f681572471d05>
- other: <https://git.kernel.org/stable/c/5072f32330c71de91c1a844e7becaee48d743561>
- other: <https://git.kernel.org/stable/c/1f5c774488fa2dabe6667cb26888aaea39c4ead6>
- other: <https://git.kernel.org/stable/c/956968544ae647aa9a9534b58735f47922c85d44>
- other: <https://git.kernel.org/stable/c/7193241a49c958782ba4b8df06da3734d1e317d2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99388>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99388> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99388>
