freenode

← CVE tracker

CVE-2026-99389

smb: server: size directory name conversion buffer correctly

Severity
high CVSS 7.5 (v3.1)
Affects
Linux
Published
19 November 2026 by Linux
First seen on our lists
19 November 2026
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists