A Linux kernel vulnerability in overlayfs occurs when stat() on a file triggers a kernel warning and fails with ECHILD if another task is concurrently creating that file on an overlay with a FUSE upper layer. This is due to revalidate flags being set on a negative overlay dentry before d_instantiate() is called, causing a WARN_ON() and failure during path walk revalidation. The issue is fixed by setting the revalidate flags after d_instantiate().