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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-19 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99388, UBUNTU-CVE-2026-99388, CGA-477v-vw6w-458h, CGA-49pr-hp29-qf9h, CGA-4grh-89q2-63v4, CGA-ch38-9x8g-f5g2, CGA-g8m3-qv9h-5wjh, CGA-gp7j-xvcq-xqq5, CGA-hw96-8qhj-mqh4, CGA-mmm8-h59m-rh8w, CGA-qw5g-9hqx-v74g, CGA-qxvx-xx97-pj59, CGA-x55g-j6h6-xq59, CGA-xcfc-g74w-6g4p, CGA-972c-7693-4j34, CGA-chm5-wjqc-24vx, CGA-rfp6-rq84-332j, CGA-rxw8-g42q-vcq7, CGA-v33v-2fx9-48wg, CGA-w67v-jgrr-qjvr, CGA-wfcv-q74g-qgvh
- Record: https://cvemate.com/vulnerability/CVE-2026-99388 · JSON: https://cvemate.com/vulnerability/CVE-2026-99388/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.711%, percentile 54.909%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 170)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.117-1 \| \< 7.3.3-1
- debian linux-6.12 (Debian): \< 6.12.117-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <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://security-tracker.debian.org/tracker/CVE-2026-99388>
- <https://git.kernel.org/stable/c/94b94000981c56aa01e9ca2b411dff15600c079c>
- <https://git.kernel.org/stable/c/2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76>
- <https://git.kernel.org/stable/c/a1a44af9fd0555755a81ca0c201f681572471d05>
- <https://ubuntu.com/security/CVE-2026-99388>
- <https://www.cve.org/CVERecord?id=CVE-2026-99388>
- <https://git.kernel.org/linus/7193241a49c958782ba4b8df06da3734d1e317d2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99388.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-99388>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>

---

Data as of 2026-12-05T08:38:11.839Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
