{"id":"CVE-2026-99423","published":"2026-11-19T14:40:26Z","modified":"2026-11-19T14:40:26Z","title":"ovl: take a snapshot of the name for copy up","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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->dentry->d_name in c->destname, 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->destname.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00236,"percentile":0.147,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9d844cf28544bfb3e121d31c68f3062bb237022e","tags":[]},{"url":"https://git.kernel.org/stable/c/c7e2808209899b2b94dbbcc3b28d44f6c065df62","tags":[]},{"url":"https://git.kernel.org/stable/c/b2d4777172bea58a521358f7d9b871cffe4d5751","tags":[]},{"url":"https://git.kernel.org/stable/c/65bf000962a33ec9d2488e4e1797b6cf630abcbb","tags":[]}],"priority":{"score":2.9,"factors":[{"name":"EPSS percentile","points":2.94}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694, < 9d844cf28544bfb3e121d31c68f3062bb237022e",">= 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694, < c7e2808209899b2b94dbbcc3b28d44f6c065df62",">= 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694, < b2d4777172bea58a521358f7d9b871cffe4d5751",">= 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694, < 65bf000962a33ec9d2488e4e1797b6cf630abcbb"]},{"vendor":"Linux","product":"Linux","versions":["4.16"]}],"euvd":{"id":"EUVD-2026-130089","exploited":false,"provenance":"source"}}