Linux kernel ksmbd directory name conversion buffer too small (memory overflow)
CVE-2026-99389
Linux file sharing servers can crash or be taken over through memory overflow.
- CVE
- CVE-2026-99389 (opens in a new tab)
- Score
- CVSS 7.5
- First seen
Mitigation
Update to a fixed kernel. On the 5.15 line, check your distribution for an update that includes the fix commit. Update the 6.12 line to 6.12.117 or later, the 6.18 line to 6.18.61 or later, and the 7.3 line to 7.3.2 or later.
Update to at least the version for your product:
- Linux 6.12 line 6.12.117 or later
- Linux 6.18 line 6.18.61 or later
- Linux 7.3 line 7.3.2 or later
Summary
The Linux kernel SMB server (ksmbd) allocates too little space when converting directory names to UTF-16, so it writes past the end of its buffer. Linux kernel users running ksmbd with a 2048-byte ASCII directory name are affected.
Affected when
ksmbd (kernel SMB server) in use
Incidents by product: Linux
Other recent Incidents of Linux
Distribution packages (24) (every link below opens in a new tab)
- Debian 13 (trixie)linux · fixed in 6.12.117-1
- Debian 12 (bookworm)linux · not fixed yet
- Debian 12 (bookworm)linux-6.12 · fixed in 6.12.117-1~deb12u1
- Ubuntu 26.10linux · not fixed yet
- Ubuntu 26.04 LTSlinux · not fixed yet
- Ubuntu 24.04 LTSlinux · not fixed yet
- Ubuntu 24.04 LTSlinux-hwe-6.11 · will not be fixed
- Ubuntu 24.04 LTSlinux-hwe-6.14 · will not be fixed
- Ubuntu 24.04 LTSlinux-hwe-6.17 · will not be fixed
- Ubuntu 24.04 LTSlinux-hwe-7.0 · not fixed yet
- Ubuntu 22.04 LTSlinux · not fixed yet
- Ubuntu 22.04 LTSlinux-hwe-5.19 · will not be fixed
- Ubuntu 22.04 LTSlinux-hwe-6.2 · will not be fixed
- Ubuntu 22.04 LTSlinux-hwe-6.5 · will not be fixed
- Ubuntu 22.04 LTSlinux-hwe-6.8 · not fixed yet
- RHEL 10kernel · not affected
- RHEL 9kernel · not affected
- RHEL 9kernel-rt · not affected
- RHEL 8kernel · not affected
- RHEL 8kernel-rt · not affected
- SLES 16.1kernel-source · not fixed yet
- SLES 16.0kernel-source · not fixed yet
- SLES 15 SP7kernel-default · not fixed yet
- openSUSE Leap 16.0kernel-source · not fixed yet
Sources: Debian Security Tracker · Ubuntu Security Notices (Canonical) (CC BY-SA 4.0) · Red Hat Security Data (CC BY 4.0) · SUSE CSAF VEX (CC BY 4.0)
Read the CVE record · cve.org (opens in a new tab)
- CVE record: cve.org (opens in a new tab)