# CVE-2026-99417: ovl: fix a torn path in ovl_get_redirect()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-02)
- Published: 2026-11-19T14:40:15.438Z
- Modified: 2026-11-23T08:17:45.137Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ovl: fix a torn path in ovl_get_redirect()

A hard link of a metacopy file that races with a rename of an ancestor
stores a redirect to the wrong lower file.

Each component of an absolute redirect must be the name that a dentry
has in the parent that the walk continues with. ovl_get_redirect()
copies the name under d_lock and calls dget_parent() after the unlock,
and the callers for a hard link hold no lock that stops a rename across
directories. A rename between the two steps combines the old name with
the new parent.

With delays in ovl_get_redirect(), an unprivileged user hard-linked a
metacopy file while renaming its ancestor to another directory, the
stored redirect named another lower path, and after a remount the file
showed the data of a root-only file.

Fix this by taking the parent first and checking it again under d_lock.

(As written by CVE List.)

## Affected

- Linux Linux: from fb8caef7c020267ad30e868a5aeaa5da6ccf0c6e before f3efc797bc49489f047f15dda5714c5dbebcb2e4; from e04527fefba6e4e66492f122cf8cc6314f3cf3bf before c7aacd5d22c3423bc31e76d9cd88659efdd01e79; from e04527fefba6e4e66492f122cf8cc6314f3cf3bf before 83d71d72e7d8e0f470191739ec56f459e2d4c891; from e04527fefba6e4e66492f122cf8cc6314f3cf3bf before 0764d318892af6fe1823589ba44248812e78a105; from e04527fefba6e4e66492f122cf8cc6314f3cf3bf before a8ad9bba205f7c6f3b86fcf0bd2d98adcd750f2e; from e04527fefba6e4e66492f122cf8cc6314f3cf3bf before b9f57bb52124aec87bbe344d70a30806fe22b992; from e04527fefba6e4e66492f122cf8cc6314f3cf3bf before 0aa08f8f07872b9f67ab20d4c51e0cf6fc924714; from e04527fefba6e4e66492f122cf8cc6314f3cf3bf before 2001cd7ca5560198131e46c6ca3c3472b06145c2; 2ea09e6753be547c3791d1383440c9a7ecd9d947; 307aa80243fd0e5e3197f89c9e464baedc01d377; ecdd962c4b9bd5bb49df902b2ed25e2a15975cae; from 5.10.15 before 5.10.275; and 4 more (not affected: before 5.11; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/f3efc797bc49489f047f15dda5714c5dbebcb2e4>
- <https://git.kernel.org/stable/c/c7aacd5d22c3423bc31e76d9cd88659efdd01e79>
- <https://git.kernel.org/stable/c/83d71d72e7d8e0f470191739ec56f459e2d4c891>
- <https://git.kernel.org/stable/c/0764d318892af6fe1823589ba44248812e78a105>
- <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>

## Sources

- CVE List: [CVE-2026-99417](https://www.cve.org/CVERecord?id=CVE-2026-99417), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99417](https://nvd.nist.gov/vuln/detail/CVE-2026-99417), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99417 · Whole record: https://cve.day/CVE-2026-99417.json · Rebuilt by cve.day 2026-11-25T22:59:52.061Z
