CVE-2026-99419
ovl: do not copy up a dentry that was removed
- CVSS
- —
- EPSS
- 0.22% (p14)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-12-01
- Product
- Linux Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ovl: do not copy up a dentry that was removed A change to a removed file through an open descriptor replaces whatever has its old name in the upper layer. Copy up must only create a name in the upper directory, never replace one. After an unlink, an rmdir or a rename over a lower dentry, a dentry that an open file keeps alive still has its old parent and name, but in the upper directory that name is now a whiteout or a new object. ovl_copy_up_workdir() renames the copy over it, which brings back the removed object and destroys whatever took its name. An unprivileged user opened a lower FIFO and unlinked it, root created a file at that name, and fchmod on the old descriptor replaced the file of root with the FIFO. Fix this by looking up the target name of the rename in ovl_copy_up_workdir() with LOOKUP_EXCL, so that copy up fails with -EEXIST if the name is taken, as copy up with O_TMPFILE already does when it links the copy to the name. [amir: use LOOKUP_EXCL instead of relying on d_unhashed()]
Fixed in
0defa3e443bbdd38628f0b594809c52295836dec · 1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426 · 1f1e53002416b8574a5b168e6f61d02e1685bc07 · 383a883cf71525752a3092bba3c22aa1ab04df37 · 5.10.275 · 5.15.226 · 509166108df0ef63f946f328c0228e80ca6da67e · 6.1.193 · 6.12.117 · 6.18.61 · 6.6.163 · 7.3.2 · 7795a4233280a77d0f4905c3313e46e94c9d97a4 · a13c8b1cc720e463255eef7026ef90d5156d2ebe · f635192ad223d2009ee640b63adf5ce3198aa338
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3.18.0, <5.10.275 | 5.10.275 |
| Linux | Kernel | >=5.11.0, <5.15.226 | 5.15.226 |
| Linux | Kernel | >=5.16.0, <6.1.193 | 6.1.193 |
| Linux | Kernel | >=6.13.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| Linux | Kernel | >=6.2.0, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.7.0, <6.12.117 | 6.12.117 |
| vendor | Linux | >=e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, <0defa3e443bbdd38628f0b594809c52295836dec | 0defa3e443bbdd38628f0b594809c52295836dec |
| vendor | Linux | >=e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, <1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426 | 1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426 |
| vendor | Linux | >=e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, <1f1e53002416b8574a5b168e6f61d02e1685bc07 | 1f1e53002416b8574a5b168e6f61d02e1685bc07 |
| vendor | Linux | >=e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, <383a883cf71525752a3092bba3c22aa1ab04df37 | 383a883cf71525752a3092bba3c22aa1ab04df37 |
| vendor | Linux | >=e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, <509166108df0ef63f946f328c0228e80ca6da67e | 509166108df0ef63f946f328c0228e80ca6da67e |
| vendor | Linux | >=e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, <7795a4233280a77d0f4905c3313e46e94c9d97a4 | 7795a4233280a77d0f4905c3313e46e94c9d97a4 |
| vendor | Linux | >=e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, <a13c8b1cc720e463255eef7026ef90d5156d2ebe | a13c8b1cc720e463255eef7026ef90d5156d2ebe |
| vendor | Linux | >=e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, <f635192ad223d2009ee640b63adf5ce3198aa338 | f635192ad223d2009ee640b63adf5ce3198aa338 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/383a883cf71525752a3092bba3c22aa1ab04df37 other
- https://git.kernel.org/stable/c/1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426 other
- https://git.kernel.org/stable/c/0defa3e443bbdd38628f0b594809c52295836dec other
- https://git.kernel.org/stable/c/f635192ad223d2009ee640b63adf5ce3198aa338 other
- https://git.kernel.org/stable/c/509166108df0ef63f946f328c0228e80ca6da67e other
- https://git.kernel.org/stable/c/7795a4233280a77d0f4905c3313e46e94c9d97a4 other
- https://git.kernel.org/stable/c/a13c8b1cc720e463255eef7026ef90d5156d2ebe other
- https://git.kernel.org/stable/c/1f1e53002416b8574a5b168e6f61d02e1685bc07 other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99419.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99419 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package