CVE-2026-99423

Source
https://cve.org/CVERecord?id=CVE-2026-99423
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99423.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99423
Downstream
Published
2026-11-19T14:40:26Z
Modified
2026-11-19T17:01:11Z
Summary
ovl: take a snapshot of the name for copy up
Details

In the Linux kernel, the following vulnerability has been resolved:

ovl: take a snapshot of the name for copy up

The copy up of a directory reads a freed dentry name when a lookup moves the directory at the same time.

A pointer to the name of a dentry is only valid while something stops a move of the dentry. ovl_do_copy_up() keeps a plain copy of c->dentry->d_name in c->destname, and ovl_copy_up_start() only keeps ovl_rename() away. When a lookup finds the same directory under another name after a change to the lower layer, d_splice_alias() moves the dentry and frees its external name.

With a delay in ovl_do_copy_up(), a chmod of a lower-only directory with a 60 byte name raced with a rename of that directory in the lower layer and a stat of the new name, and KASAN reported a use-after-free in lookup_noperm_common().

Fix this by using take_dentry_name_snapshot() for c->destname.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99423.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
829c28be9bb9a05aa7eeb8a68a4536cca2d3d694
Fixed
9d844cf28544bfb3e121d31c68f3062bb237022e
Fixed
c7e2808209899b2b94dbbcc3b28d44f6c065df62
Fixed
b2d4777172bea58a521358f7d9b871cffe4d5751
Fixed
65bf000962a33ec9d2488e4e1797b6cf630abcbb

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.16.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-99423.json"