CVE-2026-99389
smb: server: size directory name conversion buffer correctly
Check your servers for CVE-2026-99389
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-99389 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: server: size directory name conversion buffer correctly
A 2048-byte ASCII directory name needs 4098 bytes when converted to UTF-16, including the terminator. ksmbd_convert_dir_info_name() caps its allocation at PATH_MAX and writes past the end of that buffer.
Allocate space for one UTF-16 code unit per input byte plus the terminator. Use kmalloc_array() to check the size calculation.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/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
- high: an attack depends on conditions outside the control of the attacker, such as a race
- 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.60%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 50.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 534f1360fa87a1a72a5f25541103c66b8d42f73c affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 9b9d681fd3a78932331ab1246503f102d489cd63 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 84e2e9e1167ea4a6ea68b90eb190bd0350e7be74 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before e736ee3660eac5922729a9b3c55cecd74611663c affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before c8a4c381fd68895bbb077df9b5322c8987b31cf5 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before f1f37834eaba5904103af1f18afe3510c7e9dc71
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 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-99389 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99389
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-99389
trivy image --scanners vuln IMAGE | grep CVE-2026-99389
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/534f1360fa87a1a72a5f25541103c66b8d42f73c git.kernel.org
- https://git.kernel.org/stable/c/9b9d681fd3a78932331ab1246503f102d489cd63 git.kernel.org
- https://git.kernel.org/stable/c/84e2e9e1167ea4a6ea68b90eb190bd0350e7be74 git.kernel.org
- https://git.kernel.org/stable/c/e736ee3660eac5922729a9b3c55cecd74611663c git.kernel.org
- https://git.kernel.org/stable/c/93d1fbe38f0c1f230fdd24410353b1fd9e5883d3 git.kernel.org
- https://git.kernel.org/stable/c/c8a4c381fd68895bbb077df9b5322c8987b31cf5 git.kernel.org
- https://git.kernel.org/stable/c/f1f37834eaba5904103af1f18afe3510c7e9dc71 git.kernel.org
Source: the record CVE-2026-99389 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