# CVE-2026-99423: ovl: take a snapshot of the name for copy up

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-11-19T14:40:26.174Z
- Modified: 2026-11-23T08:17:45.800Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694 before 094b5a8d942eecd75cf2a7225d17b21c4112dc02; from 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694 before 74826e1afdcbe80e3708055420d36e7b82f899b9; from 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694 before 1640716a273a7c25e3da6db2b4adc6fae69322c8; from 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694 before f0e24cf4ca9e412c24f8ccb6739e4b92b4a5ad70; from 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694 before 9d844cf28544bfb3e121d31c68f3062bb237022e; from 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694 before c7e2808209899b2b94dbbcc3b28d44f6c065df62; from 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694 before b2d4777172bea58a521358f7d9b871cffe4d5751; from 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694 before 65bf000962a33ec9d2488e4e1797b6cf630abcbb; 4.16 (not affected: before 4.16; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/094b5a8d942eecd75cf2a7225d17b21c4112dc02>
- <https://git.kernel.org/stable/c/74826e1afdcbe80e3708055420d36e7b82f899b9>
- <https://git.kernel.org/stable/c/1640716a273a7c25e3da6db2b4adc6fae69322c8>
- <https://git.kernel.org/stable/c/f0e24cf4ca9e412c24f8ccb6739e4b92b4a5ad70>
- <https://git.kernel.org/stable/c/9d844cf28544bfb3e121d31c68f3062bb237022e>
- <https://git.kernel.org/stable/c/c7e2808209899b2b94dbbcc3b28d44f6c065df62>
- <https://git.kernel.org/stable/c/b2d4777172bea58a521358f7d9b871cffe4d5751>
- <https://git.kernel.org/stable/c/65bf000962a33ec9d2488e4e1797b6cf630abcbb>

## Sources

- CVE List: [CVE-2026-99423](https://www.cve.org/CVERecord?id=CVE-2026-99423), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99423](https://nvd.nist.gov/vuln/detail/CVE-2026-99423), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99423 · Whole record: https://cve.day/CVE-2026-99423.json · Rebuilt by cve.day 2026-11-25T22:59:52.063Z
