# CVE-2026-99389: smb: server: size directory name conversion buffer correctly

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.56% (percentile 40, 2026-11-28)
- **Published:** 2026-11-19T14:23:28.576Z
- **Modified:** 2026-11-23T08:17:43.673Z

## Who should check

- Anyone running Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 534f1360fa87a1a72a5f25541103c66b8d42f73c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 9b9d681fd3a78932331ab1246503f102d489cd63; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 84e2e9e1167ea4a6ea68b90eb190bd0350e7be74; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< e736ee3660eac5922729a9b3c55cecd74611663c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< c8a4c381fd68895bbb077df9b5322c8987b31cf5; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f1f37834eaba5904103af1f18afe3510c7e9dc71
- Anyone running Linux 5.15

## 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.

## Affected and fixed versions

- Linux: \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 534f1360fa87a1a72a5f25541103c66b8d42f73c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 9b9d681fd3a78932331ab1246503f102d489cd63; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 84e2e9e1167ea4a6ea68b90eb190bd0350e7be74; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< e736ee3660eac5922729a9b3c55cecd74611663c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< c8a4c381fd68895bbb077df9b5322c8987b31cf5; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f1f37834eaba5904103af1f18afe3510c7e9dc71 (cvelist)
- Linux: 5.15 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99389. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99389.md
Affected: Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 534f1360fa87a1a72a5f25541103c66b8d42f73c; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 9b9d681fd3a78932331ab1246503f102d489cd63; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 84e2e9e1167ea4a6ea68b90eb190bd0350e7be74; >= e2f34481b24db2fd634b5ed…
Fixed in: Linux 534f1360fa87a1a72a5f25541103c66b8d42f73c, Linux 9b9d681fd3a78932331ab1246503f102d489cd63, Linux 84e2e9e1167ea4a6ea68b90eb190bd0350e7be74, Linux 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99389 being exploited?

There is no confirmed exploitation: CVE-2026-99389 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.56% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99389?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-99389?

Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 534f1360fa87a1a72a5f25541103c66b8d42f73c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 9b9d681fd3a78932331ab1246503f102d489cd63; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 84e2e9e1167ea4a6ea68b90eb190bd0350e7be74; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< e736ee3660eac5922729a9b3c55cecd74611663c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< c8a4c381fd68895bbb077df9b5322c8987b31cf5; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f1f37834eaba5904103af1f18afe3510c7e9dc71; Linux 5.15.

### Is there a fix for CVE-2026-99389?

Yes. Fixed in Linux 534f1360fa87a1a72a5f25541103c66b8d42f73c, Linux 9b9d681fd3a78932331ab1246503f102d489cd63, Linux 84e2e9e1167ea4a6ea68b90eb190bd0350e7be74, Linux 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99389?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/534f1360fa87a1a72a5f25541103c66b8d42f73c>
- other: <https://git.kernel.org/stable/c/9b9d681fd3a78932331ab1246503f102d489cd63>
- other: <https://git.kernel.org/stable/c/84e2e9e1167ea4a6ea68b90eb190bd0350e7be74>
- other: <https://git.kernel.org/stable/c/e736ee3660eac5922729a9b3c55cecd74611663c>
- other: <https://git.kernel.org/stable/c/93d1fbe38f0c1f230fdd24410353b1fd9e5883d3>
- other: <https://git.kernel.org/stable/c/c8a4c381fd68895bbb077df9b5322c8987b31cf5>
- other: <https://git.kernel.org/stable/c/f1f37834eaba5904103af1f18afe3510c7e9dc71>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99389>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99389> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99389>
