Buffer overflow in Linux kernel SMB server directory name conversion
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
The Linux kernel from 5.15 is affected in its ksmbd SMB server. The directory name conversion buffer is capped at PATH_MAX, which is too small for a 2048-byte ASCII name converted to UTF-16, so ksmbd_convert_dir_info_name() writes past the end of the buffer. A remote attacker with low privileges and no user interaction can exploit this with high attack complexity to affect confidentiality, integrity and availability.
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: 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Fixed versions for the Linux kernel are 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1.
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.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 →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- 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-99389
- 2026-11-19 Alias added: GHSA-rjh6-wp8w-j3h5
- 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 Fix available: Linux/[email protected], Linux/Linux@534f1360fa87a1a72a5f25541103c66b8d42f73c, Linux/[email protected] +3 · CNA
- 2026-11-23 3 new references · CNA
References
Other 7
- https://git.kernel.org/stable/c/534f1360fa87a1a72a5f25541103c66b8d42f73c
- https://git.kernel.org/stable/c/9b9d681fd3a78932331ab1246503f102d489cd63
- https://git.kernel.org/stable/c/84e2e9e1167ea4a6ea68b90eb190bd0350e7be74
- https://git.kernel.org/stable/c/e736ee3660eac5922729a9b3c55cecd74611663c
- https://git.kernel.org/stable/c/93d1fbe38f0c1f230fdd24410353b1fd9e5883d3
- https://git.kernel.org/stable/c/c8a4c381fd68895bbb077df9b5322c8987b31cf5
- https://git.kernel.org/stable/c/f1f37834eaba5904103af1f18afe3510c7e9dc71
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-99389 · CVE Program
- CVE-2026-99389 · NVD
- FIRST EPSS
- GHSA-rjh6-wp8w-j3h5 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99389 · 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