CVE-2026-99389

Source
https://cve.org/CVERecord?id=CVE-2026-99389
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99389.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99389
Downstream
Published
2026-11-19T14:23:28Z
Modified
2026-11-19T17:00:44Z
Summary
smb: server: size directory name conversion buffer correctly
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99389.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Fixed
e736ee3660eac5922729a9b3c55cecd74611663c
Fixed
93d1fbe38f0c1f230fdd24410353b1fd9e5883d3
Fixed
c8a4c381fd68895bbb077df9b5322c8987b31cf5
Fixed
f1f37834eaba5904103af1f18afe3510c7e9dc71

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99389.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99389.json"