CVE-2026-99415
ovl: set the revalidate flags after d_instantiate()
Check your servers for CVE-2026-99415
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99415 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.88% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from bccece1ead368149f90e05ad104dfbfda4422f5d, before b4364e6841b41a6dae250b351d539ed258c77972 affected from bccece1ead368149f90e05ad104dfbfda4422f5d, before d05ab44d355770e20eabd3be06ad1edaaf4bf18c affected from bccece1ead368149f90e05ad104dfbfda4422f5d, before e876482d955476d0c066afda8273bfd38e0f65be affected from bccece1ead368149f90e05ad104dfbfda4422f5d, before 7ecbeb1a84f2d099012ccd95a8a7588e1306cc46 affected from bccece1ead368149f90e05ad104dfbfda4422f5d, before 3d92153206cebe95dc873a4b2b3d506ddf2271e7 affected from bccece1ead368149f90e05ad104dfbfda4422f5d, before 75e89c0055c1d7f7eeb462995f11253ca5864f79
Other versions: unaffected
|
| Linux |
affected 5.7 unaffected before 5.7 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.61 up to and including 6.18.* unaffected from 7.3.2 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99415 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99415
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99415
trivy image --scanners vuln IMAGE | grep CVE-2026-99415
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b4364e6841b41a6dae250b351d539ed258c77972 git.kernel.org
- https://git.kernel.org/stable/c/d05ab44d355770e20eabd3be06ad1edaaf4bf18c git.kernel.org
- https://git.kernel.org/stable/c/e876482d955476d0c066afda8273bfd38e0f65be git.kernel.org
- https://git.kernel.org/stable/c/7ecbeb1a84f2d099012ccd95a8a7588e1306cc46 git.kernel.org
- https://git.kernel.org/stable/c/3d92153206cebe95dc873a4b2b3d506ddf2271e7 git.kernel.org
- https://git.kernel.org/stable/c/75e89c0055c1d7f7eeb462995f11253ca5864f79 git.kernel.org
Source: the record CVE-2026-99415 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse