CVE-2026-99415Linux
NVD
Vulnerability Summary
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().
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().
Affected & Patched Versions
- Linux >= bccece1ead368149f90e05ad104dfbfda4422f5d and < b4364e6841b41a6dae250b351d539ed258c77972
- Linux >= bccece1ead368149f90e05ad104dfbfda4422f5d and < d05ab44d355770e20eabd3be06ad1edaaf4bf18c
- Linux >= bccece1ead368149f90e05ad104dfbfda4422f5d and < e876482d955476d0c066afda8273bfd38e0f65be
- Linux >= bccece1ead368149f90e05ad104dfbfda4422f5d and < 7ecbeb1a84f2d099012ccd95a8a7588e1306cc46
- Linux >= bccece1ead368149f90e05ad104dfbfda4422f5d and < 3d92153206cebe95dc873a4b2b3d506ddf2271e7
- Linux >= bccece1ead368149f90e05ad104dfbfda4422f5d and < 75e89c0055c1d7f7eeb462995f11253ca5864f79
- Linux 5.7
- Linux b4364e6841b41a6dae250b351d539ed258c77972
- Linux d05ab44d355770e20eabd3be06ad1edaaf4bf18c
- Linux e876482d955476d0c066afda8273bfd38e0f65be
- Linux 7ecbeb1a84f2d099012ccd95a8a7588e1306cc46
- Linux 3d92153206cebe95dc873a4b2b3d506ddf2271e7
- Linux 75e89c0055c1d7f7eeb462995f11253ca5864f79
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99415. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/3d92153206cebe95dc873a4b2b3d506ddf2271e7
- Referencehttps://git.kernel.org/stable/c/75e89c0055c1d7f7eeb462995f11253ca5864f79
- Referencehttps://git.kernel.org/stable/c/7ecbeb1a84f2d099012ccd95a8a7588e1306cc46
- Referencehttps://git.kernel.org/stable/c/b4364e6841b41a6dae250b351d539ed258c77972
- Referencehttps://git.kernel.org/stable/c/d05ab44d355770e20eabd3be06ad1edaaf4bf18c
- Referencehttps://git.kernel.org/stable/c/e876482d955476d0c066afda8273bfd38e0f65be
Data last checked: Nov 24, 2026 15:13 UTC