CVE-2026-99419Linux
NVD
Vulnerability Summary
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()]
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()]
Affected & Patched Versions
- Linux >= e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c and < 509166108df0ef63f946f328c0228e80ca6da67e
- Linux >= e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c and < 7795a4233280a77d0f4905c3313e46e94c9d97a4
- Linux >= e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c and < a13c8b1cc720e463255eef7026ef90d5156d2ebe
- Linux >= e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c and < 1f1e53002416b8574a5b168e6f61d02e1685bc07
- Linux >= e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c and < 383a883cf71525752a3092bba3c22aa1ab04df37
- Linux >= e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c and < 1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426
- Linux >= e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c and < 0defa3e443bbdd38628f0b594809c52295836dec
- Linux >= e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c and < f635192ad223d2009ee640b63adf5ce3198aa338
- Linux 3.18
- Linux 509166108df0ef63f946f328c0228e80ca6da67e
- Linux 7795a4233280a77d0f4905c3313e46e94c9d97a4
- Linux a13c8b1cc720e463255eef7026ef90d5156d2ebe
- Linux 1f1e53002416b8574a5b168e6f61d02e1685bc07
- Linux 383a883cf71525752a3092bba3c22aa1ab04df37
- Linux 1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426
- Linux 0defa3e443bbdd38628f0b594809c52295836dec
- Linux f635192ad223d2009ee640b63adf5ce3198aa338
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99419. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/0defa3e443bbdd38628f0b594809c52295836dec
- Referencehttps://git.kernel.org/stable/c/1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426
- Referencehttps://git.kernel.org/stable/c/1f1e53002416b8574a5b168e6f61d02e1685bc07
- Referencehttps://git.kernel.org/stable/c/383a883cf71525752a3092bba3c22aa1ab04df37
- Referencehttps://git.kernel.org/stable/c/509166108df0ef63f946f328c0228e80ca6da67e
- Referencehttps://git.kernel.org/stable/c/7795a4233280a77d0f4905c3313e46e94c9d97a4
- Referencehttps://git.kernel.org/stable/c/a13c8b1cc720e463255eef7026ef90d5156d2ebe
- Referencehttps://git.kernel.org/stable/c/f635192ad223d2009ee640b63adf5ce3198aa338
Data last checked: Nov 24, 2026 15:13 UTC