CVE-2026-99388
smb: smbdirect: fix buffer length underflow in RDMA transfers
Check your servers for CVE-2026-99388
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99388 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.66%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 46.6% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c5aa74449a41d9c10900d82d2c2e62d5462ef932, before 94b94000981c56aa01e9ca2b411dff15600c079c affected from cf859267e639cff1f525bd050f370ea752cc25f7, before 2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76 affected from e628bf939aafb61fbc56e9bdac8795cea5127e25, before a1a44af9fd0555755a81ca0c201f681572471d05 affected from e628bf939aafb61fbc56e9bdac8795cea5127e25, before 5072f32330c71de91c1a844e7becaee48d743561 affected from e628bf939aafb61fbc56e9bdac8795cea5127e25, before 1f5c774488fa2dabe6667cb26888aaea39c4ead6 affected from e628bf939aafb61fbc56e9bdac8795cea5127e25, before 956968544ae647aa9a9534b58735f47922c85d44 affected from e628bf939aafb61fbc56e9bdac8795cea5127e25, before 7193241a49c958782ba4b8df06da3734d1e317d2 affected 1c660940f525279bb23b5d99a591535e7c359efe affected ebdb872897dbb2425b6c9f7b7e2f5d9a8042a76a affected from 5.15.145, before 5.15.226 affected from 6.1.52, before 6.1.193 affected from 6.4.15, before 6.5 affected from 6.5.2, before 6.6
Other versions: unaffected
|
| Linux |
affected 6.6 unaffected before 6.6 unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.61 up to and including 6.18.* unaffected from 7.3.2 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99388 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99388
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99388
trivy image --scanners vuln IMAGE | grep CVE-2026-99388
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/94b94000981c56aa01e9ca2b411dff15600c079c git.kernel.org
- https://git.kernel.org/stable/c/2e4a60ba7adc1e7529f8923a8b1e452c6ba53c76 git.kernel.org
- https://git.kernel.org/stable/c/a1a44af9fd0555755a81ca0c201f681572471d05 git.kernel.org
- https://git.kernel.org/stable/c/5072f32330c71de91c1a844e7becaee48d743561 git.kernel.org
- https://git.kernel.org/stable/c/1f5c774488fa2dabe6667cb26888aaea39c4ead6 git.kernel.org
- https://git.kernel.org/stable/c/956968544ae647aa9a9534b58735f47922c85d44 git.kernel.org
- https://git.kernel.org/stable/c/7193241a49c958782ba4b8df06da3734d1e317d2 git.kernel.org
Source: the record CVE-2026-99388 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse