CVE-2026-99389
smb: server: size directory name conversion buffer correctly
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 534f1360fa87a1a72a5f25541103c66b8d42f73c; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 9b9d681fd3a78932331ab1246503f102d489cd63; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 84e2e9e1167ea4a6ea68b90eb190bd0350e7be74; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < e736ee3660eac5922729a9b3c55cecd74611663c; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < c8a4c381fd68895bbb077df9b5322c8987b31cf5; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < f1f37834eaba5904103af1f18afe3510c7e9dc71; Linux 5.15
- Fixed in
- Linux 534f1360fa87a1a72a5f25541103c66b8d42f73c, Linux 9b9d681fd3a78932331ab1246503f102d489cd63, Linux 84e2e9e1167ea4a6ea68b90eb190bd0350e7be74, Linux 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.56% chance of exploitation in 30 days (percentile 40, 2026-11-28)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 534f1360fa87a1a72a5f25541103c66b8d42f73c; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 9b9d681fd3a78932331ab1246503f102d489cd63; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 84e2e9e1167ea4a6ea68b90eb190bd0350e7be74; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < e736ee3660eac5922729a9b3c55cecd74611663c; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 93d1fbe38f0c1f230fdd24410353b1fd9e5883d3; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < c8a4c381fd68895bbb077df9b5322c8987b31cf5; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < f1f37834eaba5904103af1f18afe3510c7e9dc71 | — | cvelist |
| Linux | 5.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
Technologies
References
Other
- https://git.kernel.org/stable/c/534f1360fa87a1a72a5f25541103c66b8d42f73c
- https://git.kernel.org/stable/c/9b9d681fd3a78932331ab1246503f102d489cd63
- https://git.kernel.org/stable/c/84e2e9e1167ea4a6ea68b90eb190bd0350e7be74
- 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
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | EPSS 31% | |
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | EPSS 11% | |
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | EPSS 11% | |
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | EPSS 24% | |
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 | EPSS 3% |