CVE-2026-99388

published 19 Nov 2026 · updated 21 Nov 2026

smb: smbdirect: fix buffer length underflow in RDMA transfers

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 956968544ae647aa9a9534b58735f47922c85d44, Kernel 5.16, Kernel 6.2 and 8 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=e628bf939aafb61fbc56e9bdac8795cea5127e25 <956968544ae647aa9a9534b58735f47922c85d44, >=5.15.145 <5.16, >=6.1.52 <6.2, >=6.4.15 <6.5, >=6.5.2 <6.6, >=e628bf939aafb61fbc56e9bdac8795cea5127e25 <1f5c774488fa2dabe6667cb26888aaea39c4ead6, >=e628bf939aafb61fbc56e9bdac8795cea5127e25 <5072f32330c71de91c1a844e7becaee48d743561, >=e628bf939aafb61fbc56e9bdac8795cea5127e25 <7193241a49c958782ba4b8df06da3734d1e317d2, =1c660940f525279bb23b5d99a591535e7c359efe, =6.6, =c5aa74449a41d9c10900d82d2c2e62d5462ef932, =cf859267e639cff1f525bd050f370ea752cc25f7, =ebdb872897dbb2425b6c9f7b7e2f5d9a8042a76a956968544ae647aa9a9534b58735f47922c85d44, 5.16, 6.2, 6.5, 6.6, 1f5c774488fa2dabe6667cb26888aaea39c4ead6, 5072f32330c71de91c1a844e7becaee48d743561, 7193241a49c958782ba4b8df06da3734d1e317d2
linux-kernel: Kernel>=6.1.52 <6.2, >=6.13.0 <6.18.61, >=6.19.0 <7.3.2, >=6.4.15 <6.5, >=6.5.2 <6.6, >=6.6.0 <6.12.117, >=5.15.145 <5.166.2, 6.18.61, 7.3.2, 6.5, 6.6, 6.12.117, 5.16

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-99388 severity on Zeptric[![CVE-2026-99388](https://zeptric.io/badge/cve/CVE-2026-99388.svg)](https://zeptric.io/cve/CVE-2026-99388)