{"id":"CVE-2026-99417","state":"PUBLISHED","title":"ovl: fix a torn path in ovl_get_redirect()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: fix a torn path in ovl_get_redirect()\n\nA hard link of a metacopy file that races with a rename of an ancestor\nstores a redirect to the wrong lower file.\n\nEach component of an absolute redirect must be the name that a dentry\nhas in the parent that the walk continues with. ovl_get_redirect()\ncopies the name under d_lock and calls dget_parent() after the unlock,\nand the callers for a hard link hold no lock that stops a rename across\ndirectories. A rename between the two steps combines the old name with\nthe new parent.\n\nWith delays in ovl_get_redirect(), an unprivileged user hard-linked a\nmetacopy file while renaming its ancestor to another directory, the\nstored redirect named another lower path, and after a remount the file\nshowed the data of a root-only file.\n\nFix this by taking the parent first and checking it again under d_lock.","publishedAt":"2026-11-19T14:40:15.438Z","updatedAt":"2026-11-19T14:40:15.438Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e04527fefba6e4e66492f122cf8cc6314f3cf3bf","status":"affected","lessThan":"a8ad9bba205f7c6f3b86fcf0bd2d98adcd750f2e","versionType":"git"},{"version":"e04527fefba6e4e66492f122cf8cc6314f3cf3bf","status":"affected","lessThan":"b9f57bb52124aec87bbe344d70a30806fe22b992","versionType":"git"},{"version":"e04527fefba6e4e66492f122cf8cc6314f3cf3bf","status":"affected","lessThan":"0aa08f8f07872b9f67ab20d4c51e0cf6fc924714","versionType":"git"},{"version":"e04527fefba6e4e66492f122cf8cc6314f3cf3bf","status":"affected","lessThan":"2001cd7ca5560198131e46c6ca3c3472b06145c2","versionType":"git"},{"version":"2ea09e6753be547c3791d1383440c9a7ecd9d947","status":"affected","versionType":"git"},{"version":"307aa80243fd0e5e3197f89c9e464baedc01d377","status":"affected","versionType":"git"},{"version":"ecdd962c4b9bd5bb49df902b2ed25e2a15975cae","status":"affected","versionType":"git"},{"version":"fb8caef7c020267ad30e868a5aeaa5da6ccf0c6e","status":"affected","versionType":"git"},{"version":"4.14.221","status":"affected","lessThan":"4.15","versionType":"semver"},{"version":"4.19.175","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"5.4.97","status":"affected","lessThan":"5.5","versionType":"semver"},{"version":"5.10.15","status":"affected","lessThan":"5.11","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/overlayfs/dir.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/overlayfs/dir.c"]}],"references":["https://git.kernel.org/stable/c/a8ad9bba205f7c6f3b86fcf0bd2d98adcd750f2e","https://git.kernel.org/stable/c/b9f57bb52124aec87bbe344d70a30806fe22b992","https://git.kernel.org/stable/c/0aa08f8f07872b9f67ab20d4c51e0cf6fc924714","https://git.kernel.org/stable/c/2001cd7ca5560198131e46c6ca3c3472b06145c2"],"weaknesses":[],"ingestedAt":"2026-11-19T14:42:06.048Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99417.json","commit":"ac44738435f10e6dbe2f4dd504cf13737f9cf963","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99417","state":"PUBLISHED","datePublished":"2026-11-19T14:40:15.438Z","dateUpdated":"2026-11-19T14:40:15.438Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.413Z"},"containers":{"cna":{"title":"ovl: fix a torn path in ovl_get_redirect()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: fix a torn path in ovl_get_redirect()\n\nA hard link of a metacopy file that races with a rename of an ancestor\nstores a redirect to the wrong lower file.\n\nEach component of an absolute redirect must be the name that a dentry\nhas in the parent that the walk continues with. ovl_get_redirect()\ncopies the name under d_lock and calls dget_parent() after the unlock,\nand the callers for a hard link hold no lock that stops a rename across\ndirectories. A rename between the two steps combines the old name with\nthe new parent.\n\nWith delays in ovl_get_redirect(), an unprivileged user hard-linked a\nmetacopy file while renaming its ancestor to another directory, the\nstored redirect named another lower path, and after a remount the file\nshowed the data of a root-only file.\n\nFix this by taking the parent first and checking it again under d_lock."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e04527fefba6e4e66492f122cf8cc6314f3cf3bf","status":"affected","lessThan":"a8ad9bba205f7c6f3b86fcf0bd2d98adcd750f2e","versionType":"git"},{"version":"e04527fefba6e4e66492f122cf8cc6314f3cf3bf","status":"affected","lessThan":"b9f57bb52124aec87bbe344d70a30806fe22b992","versionType":"git"},{"version":"e04527fefba6e4e66492f122cf8cc6314f3cf3bf","status":"affected","lessThan":"0aa08f8f07872b9f67ab20d4c51e0cf6fc924714","versionType":"git"},{"version":"e04527fefba6e4e66492f122cf8cc6314f3cf3bf","status":"affected","lessThan":"2001cd7ca5560198131e46c6ca3c3472b06145c2","versionType":"git"},{"version":"2ea09e6753be547c3791d1383440c9a7ecd9d947","status":"affected","versionType":"git"},{"version":"307aa80243fd0e5e3197f89c9e464baedc01d377","status":"affected","versionType":"git"},{"version":"ecdd962c4b9bd5bb49df902b2ed25e2a15975cae","status":"affected","versionType":"git"},{"version":"fb8caef7c020267ad30e868a5aeaa5da6ccf0c6e","status":"affected","versionType":"git"},{"version":"4.14.221","status":"affected","lessThan":"4.15","versionType":"semver"},{"version":"4.19.175","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"5.4.97","status":"affected","lessThan":"5.5","versionType":"semver"},{"version":"5.10.15","status":"affected","lessThan":"5.11","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/overlayfs/dir.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/overlayfs/dir.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/a8ad9bba205f7c6f3b86fcf0bd2d98adcd750f2e"},{"url":"https://git.kernel.org/stable/c/b9f57bb52124aec87bbe344d70a30806fe22b992"},{"url":"https://git.kernel.org/stable/c/0aa08f8f07872b9f67ab20d4c51e0cf6fc924714"},{"url":"https://git.kernel.org/stable/c/2001cd7ca5560198131e46c6ca3c3472b06145c2"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T14:40:15.438Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.221"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.175"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.15"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}