CVE-2026-99389

high

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.

References

https://git.kernel.org/stable/c/f1f37834eaba5904103af1f18afe3510c7e9dc71

https://git.kernel.org/stable/c/e736ee3660eac5922729a9b3c55cecd74611663c

https://git.kernel.org/stable/c/c8a4c381fd68895bbb077df9b5322c8987b31cf5

https://git.kernel.org/stable/c/93d1fbe38f0c1f230fdd24410353b1fd9e5883d3

Details

Source: Mitre, NVD

Published: 2026-11-19

Updated: 2026-11-19

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 7.1

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Severity: High