P2 · HighCVSS 7.5EPSS 0.6%
smb: server: size directory name conversion buffer correctly
- CVE-2026-99389
- GHSA-rjh6-wp8w-j3h5
- EUVD-2026-130047
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Linux
Affected versions Fixed in 5.15 none stated before 5.15: not affected none stated from 5.15.226 up to 5.15.*: not affected none stated from 6.1.193 up to 6.1.*: not affected none stated from 6.6.163 up to 6.6.*: not affected none stated from 6.12.117 up to 6.12.*: not affected none stated from 6.18.61 up to 6.18.*: not affected none stated from 7.3.2 up to 7.3.*: not affected none stated and 1 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.