Use-after-free in Linux kernel - CVE-2026-99540
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by triggering a kernel crash.
The vulnerability exists due to a use-after-free in ksmbd_populate_dot_dotdot_entries() when the SMB server reads parent directory attributes without holding a reference to the parent directory entry. A remote attacker can request an SMB directory listing while concurrent filesystem changes invalidate the parent entry to trigger a kernel crash.
Affected software
Debian Linux
linux-6.12 (Debian package)
How to mitigate CVE-2026-99540
linux-6.12 (Debian package) - update to 6.12.117-1~deb12u1