CVE-2026-99389
Severity unknownNo known exploitationFix availablesmb: server: size directory name conversion buffer correctly
Record last updated
CVSS score
No score published yet
EPSS, chance of exploitation in 30 days
Higher than 13% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Patching and mitigation
- Patch status
- Fix available (source: CVE record (Linux))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3 | 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3 | CVE Program |
| Linux | Linux | from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before c8a4c381fd68895bbb077df9b5322c8987b31cf5 | c8a4c381fd68895bbb077df9b5322c8987b31cf5 | CVE Program |
| Linux | Linux | from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before f1f37834eaba5904103af1f18afe3510c7e9dc71 | f1f37834eaba5904103af1f18afe3510c7e9dc71 | CVE Program |
| Linux | Linux | from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before e736ee3660eac5922729a9b3c55cecd74611663c | e736ee3660eac5922729a9b3c55cecd74611663c | CVE Program |
| Linux | Linux | 5.15 | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.117 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.61 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.3.2 up to and including 7.3.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.4-rc1 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 5.15 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (Linux)
Vendor guidance and references
- https://git.kernel.org/stable/c/93d1fbe38f0c1f230fdd24410353b1fd9e5883d3 (opens in a new tab)
- https://git.kernel.org/stable/c/c8a4c381fd68895bbb077df9b5322c8987b31cf5 (opens in a new tab)
- https://git.kernel.org/stable/c/e736ee3660eac5922729a9b3c55cecd74611663c (opens in a new tab)
- https://git.kernel.org/stable/c/f1f37834eaba5904103af1f18afe3510c7e9dc71 (opens in a new tab)