{"id":"CVE-2026-99423","summary":"ovl: take a snapshot of the name for copy up","details":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: take a snapshot of the name for copy up\n\nThe copy up of a directory reads a freed dentry name when a lookup\nmoves the directory at the same time.\n\nA pointer to the name of a dentry is only valid while something stops\na move of the dentry. ovl_do_copy_up() keeps a plain copy of\nc-\u003edentry-\u003ed_name in c-\u003edestname, and ovl_copy_up_start() only keeps\novl_rename() away. When a lookup finds the same directory under another\nname after a change to the lower layer, d_splice_alias() moves the\ndentry and frees its external name.\n\nWith a delay in ovl_do_copy_up(), a chmod of a lower-only directory with\na 60 byte name raced with a rename of that directory in the lower layer\nand a stat of the new name, and KASAN reported a use-after-free in\nlookup_noperm_common().\n\nFix this by using take_dentry_name_snapshot() for c-\u003edestname.","modified":"2026-11-19T17:01:11.319832750Z","published":"2026-11-19T14:40:26.174Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99423.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/65bf000962a33ec9d2488e4e1797b6cf630abcbb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d844cf28544bfb3e121d31c68f3062bb237022e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b2d4777172bea58a521358f7d9b871cffe4d5751"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c7e2808209899b2b94dbbcc3b28d44f6c065df62"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99423.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99423"}],"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}