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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-19 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99389, UBUNTU-CVE-2026-99389, CGA-3739-x7j7-px4w, CGA-8vjp-x8c5-3m73, CGA-8vmh-7mpw-wv69, CGA-cqw7-87pj-g9hw, CGA-f4rr-fjg4-2w45, CGA-fr9p-xgvx-4wh4, CGA-m7xf-w57g-6p6f, CGA-mhh6-6wjv-ff99, CGA-q775-hr52-r4xw, CGA-v447-8vg9-qxm3, CGA-xx6c-v798-5j26, CGA-2rp5-xjf4-qjv7, CGA-6xw8-x2h5-28rf, CGA-7wc4-h9mw-57jg, CGA-8hcf-578f-mr5q, CGA-mv37-9hgm-4r9g, CGA-pq43-33wj-pfq8, CGA-x65c-j7v3-h9h9, CGA-f8qc-j2fg-hj6x
- Record: https://cvemate.com/vulnerability/CVE-2026-99389 · JSON: https://cvemate.com/vulnerability/CVE-2026-99389/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.601%, percentile 50.23%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 170)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.117-1 \| \< 7.3.3-1
- debian linux-6.12 (Debian): \< 6.12.117-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/e736ee3660eac5922729a9b3c55cecd74611663c>
- <https://git.kernel.org/stable/c/93d1fbe38f0c1f230fdd24410353b1fd9e5883d3>
- <https://git.kernel.org/stable/c/c8a4c381fd68895bbb077df9b5322c8987b31cf5>
- <https://git.kernel.org/stable/c/f1f37834eaba5904103af1f18afe3510c7e9dc71>
- <https://security-tracker.debian.org/tracker/CVE-2026-99389>
- <https://git.kernel.org/stable/c/534f1360fa87a1a72a5f25541103c66b8d42f73c>
- <https://git.kernel.org/stable/c/9b9d681fd3a78932331ab1246503f102d489cd63>
- <https://git.kernel.org/stable/c/84e2e9e1167ea4a6ea68b90eb190bd0350e7be74>
- <https://ubuntu.com/security/CVE-2026-99389>
- <https://www.cve.org/CVERecord?id=CVE-2026-99389>
- <https://git.kernel.org/linus/f1f37834eaba5904103af1f18afe3510c7e9dc71>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99389.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-99389>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>

---

Data as of 2026-12-05T08:38:12.727Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
