{"id":"CVE-2026-99389","published":"2026-11-19T14:23:28Z","modified":"2026-11-23T08:02:17Z","title":"smb: server: size directory name conversion buffer correctly","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: server: size directory name conversion buffer correctly\n\nA 2048-byte ASCII directory name needs 4098 bytes when converted to\nUTF-16, including the terminator. ksmbd_convert_dir_info_name() caps\nits allocation at PATH_MAX and writes past the end of that buffer.\n\nAllocate space for one UTF-16 code unit per input byte plus the\nterminator. Use kmalloc_array() to check the size calculation.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00601,"percentile":0.49497,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/534f1360fa87a1a72a5f25541103c66b8d42f73c","tags":[]},{"url":"https://git.kernel.org/stable/c/9b9d681fd3a78932331ab1246503f102d489cd63","tags":[]},{"url":"https://git.kernel.org/stable/c/84e2e9e1167ea4a6ea68b90eb190bd0350e7be74","tags":[]},{"url":"https://git.kernel.org/stable/c/e736ee3660eac5922729a9b3c55cecd74611663c","tags":[]},{"url":"https://git.kernel.org/stable/c/93d1fbe38f0c1f230fdd24410353b1fd9e5883d3","tags":[]},{"url":"https://git.kernel.org/stable/c/c8a4c381fd68895bbb077df9b5322c8987b31cf5","tags":[]},{"url":"https://git.kernel.org/stable/c/f1f37834eaba5904103af1f18afe3510c7e9dc71","tags":[]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":9.9},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 534f1360fa87a1a72a5f25541103c66b8d42f73c",">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 9b9d681fd3a78932331ab1246503f102d489cd63",">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 84e2e9e1167ea4a6ea68b90eb190bd0350e7be74",">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < e736ee3660eac5922729a9b3c55cecd74611663c",">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3",">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < c8a4c381fd68895bbb077df9b5322c8987b31cf5",">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < f1f37834eaba5904103af1f18afe3510c7e9dc71"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"euvd":{"id":"EUVD-2026-130047","exploited":false,"provenance":"source"}}