CVE-2026-99419

Source
https://cve.org/CVERecord?id=CVE-2026-99419
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99419.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99419
Downstream
Published
2026-11-19T14:40:18Z
Modified
2026-11-19T17:01:11Z
Summary
ovl: do not copy up a dentry that was removed
Details

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()]

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99419.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c
Fixed
383a883cf71525752a3092bba3c22aa1ab04df37
Fixed
1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426
Fixed
0defa3e443bbdd38628f0b594809c52295836dec
Fixed
f635192ad223d2009ee640b63adf5ce3198aa338

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99419.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.18.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99419.json"