{"id":"CVE-2026-99389","aliases":["CVE-2026-99389"],"related":[],"kind":"vulnerability","state":"published","title":"smb: server: size directory name conversion buffer correctly","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-19T14:23:28.576Z","modified":"2026-11-23T08:17:43.673Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"534f1360fa87a1a72a5f25541103c66b8d42f73c","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"9b9d681fd3a78932331ab1246503f102d489cd63","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"84e2e9e1167ea4a6ea68b90eb190bd0350e7be74","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"e736ee3660eac5922729a9b3c55cecd74611663c","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"93d1fbe38f0c1f230fdd24410353b1fd9e5883d3","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"c8a4c381fd68895bbb077df9b5322c8987b31cf5","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"f1f37834eaba5904103af1f18afe3510c7e9dc71","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/534f1360fa87a1a72a5f25541103c66b8d42f73c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b9d681fd3a78932331ab1246503f102d489cd63","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84e2e9e1167ea4a6ea68b90eb190bd0350e7be74","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e736ee3660eac5922729a9b3c55cecd74611663c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/93d1fbe38f0c1f230fdd24410353b1fd9e5883d3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c8a4c381fd68895bbb077df9b5322c8987b31cf5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f1f37834eaba5904103af1f18afe3510c7e9dc71","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99389","url":"https://www.cve.org/CVERecord?id=CVE-2026-99389","licence":"CVE Terms of Use","modified":"2026-11-23T08:02:17.329Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99389","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99389","licence":"Public domain","modified":"2026-11-23T08:17:43.673Z"}],"updatedAt":"2026-11-25T22:59:52.053Z","epss":{"score":0.00601,"percentile":0.50142,"date":"2026-12-01T12:00:22.000Z"}}