{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99389","id":"CVE-2026-99389","title":"smb: server: size directory name conversion buffer correctly","description":"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\n","descriptionLong":"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.","published":"2026-11-19T14:23:28.576Z","updated":"2026-11-19T14:23:28.576Z","reserved":"2026-09-25T10:25:14.412Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","lessThan":"e736ee3660eac5922729a9b3c55cecd74611663c","status":"affected","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","lessThan":"93d1fbe38f0c1f230fdd24410353b1fd9e5883d3","status":"affected","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","lessThan":"c8a4c381fd68895bbb077df9b5322c8987b31cf5","status":"affected","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","lessThan":"f1f37834eaba5904103af1f18afe3510c7e9dc71","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"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":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99389","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99389","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99389","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99389","ok":false,"note":"no score yet"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}