Skip to content
DayZeroHub
High Not yet writtenCVSS 8.8CVE-2026-99388

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

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99388: high-severity vulnerability (CVSS 8.8) in Linux Linux.

What happened

Original description from the source: 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

High severity, CVSS 8.8.

Affected products and versions

Linux Linux >= c5aa74449a41d9c10900d82d2c2e62d5462ef932, < 94b94000981c56aa01e9ca2b411dff15600c079c; Linux Linux >= cf859267e639cff1f525bd050f370ea752cc25f7, < 2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76; Linux Linux >= e628bf939aafb61fbc56e9bdac8795cea5127e25, < a1a44af9fd0555755a81ca0c201f681572471d05; Linux Linux >= e628bf939aafb61fbc56e9bdac8795cea5127e25, < 5072f32330c71de91c1a844e7becaee48d743561; Linux Linux >= e628bf939aafb61fbc56e9bdac8795cea5127e25, < 1f5c774488fa2dabe6667cb26888aaea39c4ead6; Linux Linux >= e628bf939aafb61fbc56e9bdac8795cea5127e25, < 956968544ae647aa9a9534b58735f47922c85d44; Linux Linux >= e628bf939aafb61fbc56e9bdac8795cea5127e25, < 7193241a49c958782ba4b8df06da3734d1e317d2; Linux Linux 1c660940f525279bb23b5d99a591535e7c359efe; Linux Linux ebdb872897dbb2425b6c9f7b7e2f5d9a8042a76a; Linux Linux >= 5.15.145, < 5.15.226; Linux Linux >= 6.1.52, < 6.1.193; Linux Linux >= 6.4.15, < 6.5

ProductVersionsFixed in
Linux Linux>= c5aa74449a41d9c10900d82d2c2e62d5462ef932, < 94b94000981c56aa01e9ca2b411dff15600c079c—
Linux Linux>= cf859267e639cff1f525bd050f370ea752cc25f7, < 2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76—
Linux Linux>= e628bf939aafb61fbc56e9bdac8795cea5127e25, < a1a44af9fd0555755a81ca0c201f681572471d05—
Linux Linux>= e628bf939aafb61fbc56e9bdac8795cea5127e25, < 5072f32330c71de91c1a844e7becaee48d743561—
Linux Linux>= e628bf939aafb61fbc56e9bdac8795cea5127e25, < 1f5c774488fa2dabe6667cb26888aaea39c4ead6—
Linux Linux>= e628bf939aafb61fbc56e9bdac8795cea5127e25, < 956968544ae647aa9a9534b58735f47922c85d44—
Linux Linux>= e628bf939aafb61fbc56e9bdac8795cea5127e25, < 7193241a49c958782ba4b8df06da3734d1e317d2—
Linux Linux1c660940f525279bb23b5d99a591535e7c359efe—
Linux Linuxebdb872897dbb2425b6c9f7b7e2f5d9a8042a76a—
Linux Linux>= 5.15.145, < 5.15.226—
Linux Linux>= 6.1.52, < 6.1.193—
Linux Linux>= 6.4.15, < 6.5—
Linux Linux>= 6.5.2, < 6.6—
Linux Linux6.6—
Linux Linux< 6.6—
Linux Linux5.15.2265.15.226
Linux Linux6.1.1936.1.193
Linux Linux6.6.1636.6.163
Linux Linux6.12.1176.12.117
Linux Linux6.18.616.18.61
Linux Linux7.3.27.3.2
Linux Linux7.4-rc17.4-rc1

Action recommended by the source

Upgrade to a fixed version: 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1.

Fixed in: 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.