CVE-2026-99419

Not scored yetLast modified Nov 23, 2026

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

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, < 383a883cf71525752a3092bba3c22aa1ab04df37; >= e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, < 1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426; >= e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, < 0defa3e443bbdd38628f0b594809c52295836dec; >= e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, < f635192ad223d2009ee640b63adf5ce3198aa338
LinuxLinux3.18

References

Timeline

Published
Nov 19, 2026
Last modified
Nov 23, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-99425.0Uninitialized Use in ANGLE in Google Chrome prior to 148.0.7778.216 allowed a remote attacker who had compromised the renderer process to byCVE-2026-99420In the Linux kernel, the following vulnerability has been resolved: ovl: check that the parents of volatile/dirty are dirs An unprivilegedCVE-2026-99421In the Linux kernel, the following vulnerability has been resolved: ovl: always encode the origin fh when index is enabled On an overlay wCVE-2026-994227.8In the Linux kernel, the following vulnerability has been resolved: ovl: use the pinned upper dir in ovl_fix_origin() Renames made directlCVE-2026-99423In the Linux kernel, the following vulnerability has been resolved: ovl: take a snapshot of the name for copy up The copy up of a directorCVE-2026-994247.8In the Linux kernel, the following vulnerability has been resolved: ovl: set OVL_WHITEOUTS before publishing the upper dir Listing a direcCVE-2026-994257.8In the Linux kernel, the following vulnerability has been resolved: ovl: hold a reference on the parent in readdir Listing a directory on CVE-2026-99426In the Linux kernel, the following vulnerability has been resolved: smb: client: hold server info until cifsd exits The last session referCVE-2026-99427In the Linux kernel, the following vulnerability has been resolved: smb: client: fix OOB last_entry pointer from unbounded LastNameOffset CVE-2026-99428In the Linux kernel, the following vulnerability has been resolved: ocfs2: snapshot dentry names in file and setattr traces Patch series "CVE-2026-994297.8In the Linux kernel, the following vulnerability has been resolved: ocfs2: pin refcount trees before dropping the lookup lock A refcount tCVE-2026-99434.3Out of bounds read in WebGL in Google Chrome on Android prior to 148.0.7778.216 allowed a remote attacker to leak cross-origin data via a cr
CVE-2026-99419: Unscored | Vulnix