CVE-2026-99417
ovl: fix a torn path in ovl_get_redirect()
- CVSS
- —
- EPSS
- 0.22% (p14)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- Linux 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.
Fixed in
0764d318892af6fe1823589ba44248812e78a105 · 0aa08f8f07872b9f67ab20d4c51e0cf6fc924714 · 2001cd7ca5560198131e46c6ca3c3472b06145c2 · 4.15 · 4.20 · 5.10.275 · 5.11 · 5.5 · 83d71d72e7d8e0f470191739ec56f459e2d4c891 · a8ad9bba205f7c6f3b86fcf0bd2d98adcd750f2e · b9f57bb52124aec87bbe344d70a30806fe22b992 · c7aacd5d22c3423bc31e76d9cd88659efdd01e79 · f3efc797bc49489f047f15dda5714c5dbebcb2e4
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Linux | >=4.14.221, <4.15 | 4.15 |
| vendor | Linux | >=4.19.175, <4.20 | 4.20 |
| vendor | Linux | >=5.10.15, <5.10.275 | 5.10.275 |
| vendor | Linux | >=5.10.15, <5.11 | 5.11 |
| vendor | Linux | >=5.4.97, <5.5 | 5.5 |
| vendor | Linux | >=e04527fefba6e4e66492f122cf8cc6314f3cf3bf, <0764d318892af6fe1823589ba44248812e78a105 | 0764d318892af6fe1823589ba44248812e78a105 |
| vendor | Linux | >=e04527fefba6e4e66492f122cf8cc6314f3cf3bf, <0aa08f8f07872b9f67ab20d4c51e0cf6fc924714 | 0aa08f8f07872b9f67ab20d4c51e0cf6fc924714 |
| vendor | Linux | >=e04527fefba6e4e66492f122cf8cc6314f3cf3bf, <2001cd7ca5560198131e46c6ca3c3472b06145c2 | 2001cd7ca5560198131e46c6ca3c3472b06145c2 |
| vendor | Linux | >=e04527fefba6e4e66492f122cf8cc6314f3cf3bf, <83d71d72e7d8e0f470191739ec56f459e2d4c891 | 83d71d72e7d8e0f470191739ec56f459e2d4c891 |
| vendor | Linux | >=e04527fefba6e4e66492f122cf8cc6314f3cf3bf, <a8ad9bba205f7c6f3b86fcf0bd2d98adcd750f2e | a8ad9bba205f7c6f3b86fcf0bd2d98adcd750f2e |
| vendor | Linux | >=e04527fefba6e4e66492f122cf8cc6314f3cf3bf, <b9f57bb52124aec87bbe344d70a30806fe22b992 | b9f57bb52124aec87bbe344d70a30806fe22b992 |
| vendor | Linux | >=e04527fefba6e4e66492f122cf8cc6314f3cf3bf, <c7aacd5d22c3423bc31e76d9cd88659efdd01e79 | c7aacd5d22c3423bc31e76d9cd88659efdd01e79 |
| vendor | Linux | >=fb8caef7c020267ad30e868a5aeaa5da6ccf0c6e, <f3efc797bc49489f047f15dda5714c5dbebcb2e4 | f3efc797bc49489f047f15dda5714c5dbebcb2e4 |
Sources
References
- https://git.kernel.org/stable/c/a8ad9bba205f7c6f3b86fcf0bd2d98adcd750f2e other
- https://git.kernel.org/stable/c/b9f57bb52124aec87bbe344d70a30806fe22b992 other
- https://git.kernel.org/stable/c/0aa08f8f07872b9f67ab20d4c51e0cf6fc924714 other
- https://git.kernel.org/stable/c/2001cd7ca5560198131e46c6ca3c3472b06145c2 other
- https://git.kernel.org/stable/c/f3efc797bc49489f047f15dda5714c5dbebcb2e4 other
- https://git.kernel.org/stable/c/c7aacd5d22c3423bc31e76d9cd88659efdd01e79 other
- https://git.kernel.org/stable/c/83d71d72e7d8e0f470191739ec56f459e2d4c891 other
- https://git.kernel.org/stable/c/0764d318892af6fe1823589ba44248812e78a105 other