{"api_version":"1","generated_at":"2026-11-28T05:16:50+00:00","cve":"CVE-2026-99415","urls":{"html":"https://cve.report/CVE-2026-99415","api":"https://cve.report/api/cve/CVE-2026-99415.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99415","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99415"},"summary":{"title":"ovl: set the revalidate flags after d_instantiate()","description":"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 ->d_revalidate()\nor ->d_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().","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-19 15:17:54","updated_at":"2026-11-23 08:17:44"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/b4364e6841b41a6dae250b351d539ed258c77972","name":"https://git.kernel.org/stable/c/b4364e6841b41a6dae250b351d539ed258c77972","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e876482d955476d0c066afda8273bfd38e0f65be","name":"https://git.kernel.org/stable/c/e876482d955476d0c066afda8273bfd38e0f65be","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d05ab44d355770e20eabd3be06ad1edaaf4bf18c","name":"https://git.kernel.org/stable/c/d05ab44d355770e20eabd3be06ad1edaaf4bf18c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/75e89c0055c1d7f7eeb462995f11253ca5864f79","name":"https://git.kernel.org/stable/c/75e89c0055c1d7f7eeb462995f11253ca5864f79","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7ecbeb1a84f2d099012ccd95a8a7588e1306cc46","name":"https://git.kernel.org/stable/c/7ecbeb1a84f2d099012ccd95a8a7588e1306cc46","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3d92153206cebe95dc873a4b2b3d506ddf2271e7","name":"https://git.kernel.org/stable/c/3d92153206cebe95dc873a4b2b3d506ddf2271e7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99415","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99415","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bccece1ead368149f90e05ad104dfbfda4422f5d b4364e6841b41a6dae250b351d539ed258c77972 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bccece1ead368149f90e05ad104dfbfda4422f5d d05ab44d355770e20eabd3be06ad1edaaf4bf18c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bccece1ead368149f90e05ad104dfbfda4422f5d e876482d955476d0c066afda8273bfd38e0f65be git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bccece1ead368149f90e05ad104dfbfda4422f5d 7ecbeb1a84f2d099012ccd95a8a7588e1306cc46 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bccece1ead368149f90e05ad104dfbfda4422f5d 3d92153206cebe95dc873a4b2b3d506ddf2271e7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bccece1ead368149f90e05ad104dfbfda4422f5d 75e89c0055c1d7f7eeb462995f11253ca5864f79 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.61 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.2 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"99415","cve":"CVE-2026-99415","epss":"0.001970000","percentile":"0.093540000","score_date":"2026-11-23","updated_at":"2026-11-24 00:07:46"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/overlayfs/dir.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b4364e6841b41a6dae250b351d539ed258c77972","status":"affected","version":"bccece1ead368149f90e05ad104dfbfda4422f5d","versionType":"git"},{"lessThan":"d05ab44d355770e20eabd3be06ad1edaaf4bf18c","status":"affected","version":"bccece1ead368149f90e05ad104dfbfda4422f5d","versionType":"git"},{"lessThan":"e876482d955476d0c066afda8273bfd38e0f65be","status":"affected","version":"bccece1ead368149f90e05ad104dfbfda4422f5d","versionType":"git"},{"lessThan":"7ecbeb1a84f2d099012ccd95a8a7588e1306cc46","status":"affected","version":"bccece1ead368149f90e05ad104dfbfda4422f5d","versionType":"git"},{"lessThan":"3d92153206cebe95dc873a4b2b3d506ddf2271e7","status":"affected","version":"bccece1ead368149f90e05ad104dfbfda4422f5d","versionType":"git"},{"lessThan":"75e89c0055c1d7f7eeb462995f11253ca5864f79","status":"affected","version":"bccece1ead368149f90e05ad104dfbfda4422f5d","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/overlayfs/dir.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.7"},{"lessThan":"5.7","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.61","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.2","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.61","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.2","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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 ->d_revalidate()\nor ->d_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()."}],"providerMetadata":{"dateUpdated":"2026-11-23T08:02:27.143Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b4364e6841b41a6dae250b351d539ed258c77972"},{"url":"https://git.kernel.org/stable/c/d05ab44d355770e20eabd3be06ad1edaaf4bf18c"},{"url":"https://git.kernel.org/stable/c/e876482d955476d0c066afda8273bfd38e0f65be"},{"url":"https://git.kernel.org/stable/c/7ecbeb1a84f2d099012ccd95a8a7588e1306cc46"},{"url":"https://git.kernel.org/stable/c/3d92153206cebe95dc873a4b2b3d506ddf2271e7"},{"url":"https://git.kernel.org/stable/c/75e89c0055c1d7f7eeb462995f11253ca5864f79"}],"title":"ovl: set the revalidate flags after d_instantiate()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99415","datePublished":"2026-11-19T14:40:13.532Z","dateReserved":"2026-09-25T10:25:14.413Z","dateUpdated":"2026-11-23T08:02:27.143Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-19 15:17:54","lastModifiedDate":"2026-11-23 08:17:44","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99415","Ordinal":"1","Title":"ovl: set the revalidate flags after d_instantiate()","CVE":"CVE-2026-99415","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99415","Ordinal":"1","NoteData":"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 ->d_revalidate()\nor ->d_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().","Type":"Description","Title":"ovl: set the revalidate flags after d_instantiate()"}]}}}