CVE-2026-99415: Linux Kernel - Race Condition
- Cve: CVE-2026-99415
- Name: Linux Kernel - Race Condition
- Description: In the Linux kernel, the following vulnerability has been resolved: ovl: set the revalidate flags after d_instantiate() stat() of a file on an overlayfs mount triggers a kernel warning and fails with ECHILD if another task is creating that file at the same time. This happens on an overlay with a FUSE upper layer, which is the layer where overlayfs creates new files. Write access to a directory on such an overlay is all a user needs to run the two tasks. The revalidate flags are DCACHE_OP_REVALIDATE and DCACHE_OP_WEAK_REVALIDATE. They tell path walk to call ->d_revalidate() or ->d_weak_revalidate() on a dentry, so that the filesystem can check that the cached dentry is still valid. An overlay dentry only has one of these flags if a dentry in one of its layers has it. FUSE dentries have the first one. When a flag is set on an overlay dentry, path walk calls ovl_dentry_revalidate_common(). That function only expects a dentry without an inode in RCU walk, while the dentry is being destroyed. For such a dentry outside of RCU walk, it hits a WARN_ON() and returns -ECHILD. So a negative overlay dentry must never have the flags set. ovl_instantiate() breaks this rule. When a task creates a file, the overlay dentry for the new name is hashed but still negative. ovl_instantiate() then works in this order: - It copies the flags from the new upper dentry to the overlay dentry. - It calls ovl_get_inode(), which can sleep in a getxattr request to the FUSE server. - Only then does it call d_instantiate(). A second task that looks up the name between the first step and the last finds a negative dentry with the flags set and revalidates it. Reproduced with a FUSE server that delays its getxattr reply: stat() of a name that was being created hit the WARN_ON() and failed with ECHILD. Fix this by setting the flags after d_instantiate().
- Impact: Local attackers can trigger kernel warnings and cause stat() failures (ECHILD), potentially leading to denial of service or system instability.
- Remediation: Update to the latest kernel version containing the fix that sets revalidate flags after d_instantiate().
- Vulnerability type: race_condition
- Vulnerability impact: denial_of_service
- Requirement type: logged_in
- Requirements: Attacker needs write access to a directory on an overlayfs with FUSE upper layer
- Labels source: securitycontext
- Cvss vector: N/A
- Epss score: 0.00197
- Epss percentile: 0.09354
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2026-11-19T15:17:54Z
- Age in days: 5
- Modified at: 2026-11-23T08:17:44Z
- Patch available: yes
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-99415
- Nvd status: received
- Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: severity, cvss score, hackerone
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | >= 5.7, < 7.4-rc1; >= 5.7, < 7.3.2; >= 5.7, < 6.18.61; >= 5.7, < 6.12.117; >= 5.7, < 6.6.163; >= 5.7, < 6.1.193 | no | cna | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports