Linux kernel ksmbd use-after-free when listing directories
CVE-2026-99540
Linux file sharing servers can crash or be broken into.
- CVE
- CVE-2026-99540 (opens in a new tab)
- Score
- CVSS 8.8
- First seen
Mitigation
Update the kernel to the fixed version for its line: 6.12.117, 6.18.61, or 7.3.2 or later. A fixed version for the 5.15 line is not confirmed; check your distribution's security advisory.
Update to at least the version for your product:
- Linux 6.12 6.12.117 or later
- Linux 6.18 6.18.61 or later
- Linux 7.3 7.3.2 or later
Summary
The SMB server in the Linux kernel (ksmbd) reads freed memory while building a directory listing. A remote client, authenticated or guest, can trigger a crash or memory error by listing a directory while it is moved under a new parent.
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 · not fixed yet
- Ubuntu 24.04 LTSlinux-hwe-6.14 · not fixed yet
- Ubuntu 24.04 LTSlinux-hwe-6.17 · not fixed yet
- Ubuntu 24.04 LTSlinux-hwe-7.0 · not fixed yet
- Ubuntu 22.04 LTSlinux · not fixed yet
- Ubuntu 22.04 LTSlinux-hwe-5.19 · not fixed yet
- Ubuntu 22.04 LTSlinux-hwe-6.2 · not fixed yet
- Ubuntu 22.04 LTSlinux-hwe-6.5 · not fixed yet
- 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)