CVE-2026-99540: Linux kernel · ksmbd: fix parent dentry lifetime in directory enumeration
Source GCVE Database
Not known to be exploited · fixed in b62ef8cfec9351662e42cbf7da2d743068699bba : patch Linux kernel soon.
Data as of 19 Nov 2026, 16:50 UTC
Rated High by Threat Radar's AI analysis · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in b62ef8cfec9351662e42cbf7da2d743068699bba, 93566781118cdff874023d5ca4e7b8054baaec31, 32934b13b1a63c86d2fa68df0bfb28c51ce38879 +1
Exploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Upgrade Linux kernel to b62ef8cfec9351662e42cbf7da2d743068699bba, 93566781118cdff874023d5ca4e7b8054baaec31, 32934b13b1a63c86d2fa68df0bfb28c51ce38879 or 171df27077fb49b4af2c53ad2cedcd0e39664fe8.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
AI-suggested
A fix is available that properly uses dentry reference counting APIs to maintain the parent dentry's lifetime during directory enumeration. Users should apply the official Linux kernel patch that addresses this issue. No additional mitigation is required once the patch is applied.
Description
A use-after-free and null pointer dereference vulnerability exists in the Linux kernel's ksmbd component during directory enumeration. The issue arises when ksmbd_populate_dot_dotdot_entries() uses a parent dentry pointer without proper reference counting, which can become invalid if the directory is concurrently renamed and the old parent deleted. This can lead to kernel memory corruption and crashes.
References
- nvd.nist.gov/vuln/detail/CVE-2026-99540 (opens in a new tab)
- git.kernel.org/stable/c/171df27077fb49b4af2c53ad2cedcd0e39664fe8 (opens in a new tab)
- git.kernel.org/stable/c/32934b13b1a63c86d2fa68df0bfb28c51ce38879 (opens in a new tab)
- git.kernel.org/stable/c/93566781118cdff874023d5ca4e7b8054baaec31 (opens in a new tab)
- git.kernel.org/stable/c/b62ef8cfec9351662e42cbf7da2d743068699bba (opens in a new tab)