{"id":"AZL-114821","summary":"CVE-2026-99415 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: set the revalidate flags after d_instantiate()\n\nstat() of a file on an overlayfs mount triggers a kernel warning and\nfails with ECHILD if another task is creating that file at the same\ntime. This happens on an overlay with a FUSE upper layer, which is the\nlayer where overlayfs creates new files. Write access to a directory on\nsuch an overlay is all a user needs to run the two tasks.\n\nThe revalidate flags are DCACHE_OP_REVALIDATE and\nDCACHE_OP_WEAK_REVALIDATE. They tell path walk to call -\u003ed_revalidate()\nor -\u003ed_weak_revalidate() on a dentry, so that the filesystem can check\nthat the cached dentry is still valid. An overlay dentry only has one of\nthese flags if a dentry in one of its layers has it. FUSE dentries have\nthe first one.\n\nWhen a flag is set on an overlay dentry, path walk calls\novl_dentry_revalidate_common(). That function only expects a dentry\nwithout an inode in RCU walk, while the dentry is being destroyed. For\nsuch a dentry outside of RCU walk, it hits a WARN_ON() and\nreturns -ECHILD. So a negative overlay dentry must never have the flags\nset.\n\novl_instantiate() breaks this rule. When a task creates a file, the\noverlay dentry for the new name is hashed but still negative.\novl_instantiate() then works in this order:\n\n- It copies the flags from the new upper dentry to the overlay dentry.\n- It calls ovl_get_inode(), which can sleep in a getxattr request to the\n  FUSE server.\n- Only then does it call d_instantiate().\n\nA second task that looks up the name between the first step and the last\nfinds a negative dentry with the flags set and revalidates it.\n\nReproduced with a FUSE server that delays its getxattr reply: stat() of\na name that was being created hit the WARN_ON() and failed with ECHILD.\n\nFix this by setting the flags after d_instantiate().","modified":"2026-11-20T14:17:19.035019225Z","published":"2026-11-19T15:17:54Z","upstream":["CVE-2026-99415"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99415"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-114821.json"}}],"schema_version":"1.9.2"}