Kernel crash via unreferenced parent dentry
Published Nov 19, 2026 · Updated Nov 19, 2026
Use-after-free in Linux 5.15 ksmbd allows remote attackers to crash the kernel via directory listings racing with moves. ksmbd_populate_dot_dotdot_entries() passes an unreferenced parent dentry to ksmbd_vfs_fill_dentry_attrs(), which dereferences it after concurrent directory movement and parent removal invalidate it. An authenticated or guest SMB session and concurrent directory writes are required; reported failures include null-pointer dereferences and use-after-free, not demonstrated code execution.
Summary
What happened
Use-after-free in Linux 5.15 ksmbd allows remote attackers to crash the kernel via directory listings racing with moves. ksmbd_populate_dot_dotdot_entries() passes an unreferenced parent dentry to ksmbd_vfs_fill_dentry_attrs(), which dereferences it after concurrent directory movement and parent removal invalidate it. An authenticated or guest SMB session and concurrent directory writes are required; reported failures include null-pointer dereferences and use-after-free, not demonstrated code execution.
The record
- CVE
- CVE-2026-99540
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 19, 2026CVE publishedPublication date reported by the CVE source.
- Nov 19, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.15
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <171df27077fb49b4af2c53ad2cedcd0e39664fe8
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <32934b13b1a63c86d2fa68df0bfb28c51ce38879
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <93566781118cdff874023d5ca4e7b8054baaec31
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <b62ef8cfec9351662e42cbf7da2d743068699bba
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Activity data is delayed. The latest report is Sep 28, 2026.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Get started to see how Hinoki identifies affected software and validates exploitability in your environment.
Contact us