Linux kernel smbdirect buffer length underflow in RDMA transfers
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
The smbdirect RDMA transfer code in the Linux kernel (smb: smbdirect) underflows a buffer length when a remote buffer descriptor is larger than the remaining local buffer. smbdirect_connection_rdma_xmit() clamps that length and sets buf_len to zero, and the common accounting code then subtracts the clamped length from it, so the next descriptor is processed with a wrapped remaining length. A client can send an SMB WRITE or SMB READ request with several RDMA buffer descriptors, placing an oversized one before the last, to cause an out-of-bounds kernel write or read. CVE-2026-99388 (GHSA-9g85-p863-gg44) has a CVSS 3.1 base score of 8.8 (HIGH).
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.15.145 to before 5.15.226; 6.1.52 to before 6.1.193; 6.4.15 to before 6.5; 6.5.2 to before 6.6 | 5.15.226, 6.1.193, 6.5, 6.6 | Patch available | CNA |
| Linux | Linux | 6.6 and later | 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 5.15.145 to before 5.15.226; 6.1.52 to before 6.1.193; 6.4.15 to before 6.5; 6.5.2 to before 6.6 Fixed in 5.15.226, 6.1.193, 6.5, 6.6 Patch available CNA
- Linux VendorLinux Affected 6.6 and later Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 Patch available CNA
Remediation
Upgrade to a kernel that contains the fix: 5.15.226, 6.1.193, 6.5 or 6.6 on the stable branches, or 6.6.163, 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1 for the 6.6 line and later. The sources list no fixed version for Red Hat Enterprise Linux 10 or Red Hat OpenShift Container Platform 5, which Red Hat lists as affected without a fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA Linux (Linux) Fixed in 5.15.226, 6.1.193, 6.5, 6.6
- Fix · CNA Linux (Linux) Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
Not affected: 6 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-19 Threatist record created from CVE-2026-99388
- 2026-11-19 Alias added: GHSA-9g85-p863-gg44
- 2026-11-19 Affected versions changed · Red Hat
- 2026-11-19 CVSS score added · Red Hat
- 2026-11-22 CVSS score added · CNA
- 2026-11-23 EPSS moved to the 50th–90th percentile
- 2026-11-23 Fix available: Linux/Linux@2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76, Linux/[email protected], Linux/[email protected] +3 · CNA
- 2026-11-23 3 new references · CNA
- 2026-11-25 EPSS moved to the below the 50th percentile
References
Other 7
- https://git.kernel.org/stable/c/94b94000981c56aa01e9ca2b411dff15600c079c
- https://git.kernel.org/stable/c/2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76
- https://git.kernel.org/stable/c/a1a44af9fd0555755a81ca0c201f681572471d05
- 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
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99388 · CVE Program
- CVE-2026-99388 · NVD
- FIRST EPSS
- GHSA-9g85-p863-gg44 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99388 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences