CVE-2026-99389

published 19 Nov 2026 · updated 22 Nov 2026

smb: server: size directory name conversion buffer correctly

7.5HighCVSS 7.5EPSS 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 f1f37834eaba5904103af1f18afe3510c7e9dc71, Kernel 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3, Kernel c8a4c381fd68895bbb077df9b5322c8987b31cf5 and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <f1f37834eaba5904103af1f18afe3510c7e9dc71, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <93d1fbe38f0c1f230fdd24410353b1fd9e5883d3, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <c8a4c381fd68895bbb077df9b5322c8987b31cf5, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <e736ee3660eac5922729a9b3c55cecd74611663c, =5.15f1f37834eaba5904103af1f18afe3510c7e9dc71, 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3, c8a4c381fd68895bbb077df9b5322c8987b31cf5, e736ee3660eac5922729a9b3c55cecd74611663c
linux-kernel: Kernel>=6.13.0 <6.18.61, >=6.19.0 <7.3.2, >=5.15.0 <6.12.1176.18.61, 7.3.2, 6.12.117

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-99389 severity on Zeptric[![CVE-2026-99389](https://zeptric.io/badge/cve/CVE-2026-99389.svg)](https://zeptric.io/cve/CVE-2026-99389)