{"id":"CVE-2026-99423","aliases":["CVE-2026-99423"],"related":[],"kind":"vulnerability","state":"published","title":"ovl: take a snapshot of the name for copy up","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-19T14:40:26.174Z","modified":"2026-11-23T08:17:45.800Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"829c28be9bb9a05aa7eeb8a68a4536cca2d3d694","fixed":"094b5a8d942eecd75cf2a7225d17b21c4112dc02","status":"affected"},{"type":"git","introduced":"829c28be9bb9a05aa7eeb8a68a4536cca2d3d694","fixed":"74826e1afdcbe80e3708055420d36e7b82f899b9","status":"affected"},{"type":"git","introduced":"829c28be9bb9a05aa7eeb8a68a4536cca2d3d694","fixed":"1640716a273a7c25e3da6db2b4adc6fae69322c8","status":"affected"},{"type":"git","introduced":"829c28be9bb9a05aa7eeb8a68a4536cca2d3d694","fixed":"f0e24cf4ca9e412c24f8ccb6739e4b92b4a5ad70","status":"affected"},{"type":"git","introduced":"829c28be9bb9a05aa7eeb8a68a4536cca2d3d694","fixed":"9d844cf28544bfb3e121d31c68f3062bb237022e","status":"affected"},{"type":"git","introduced":"829c28be9bb9a05aa7eeb8a68a4536cca2d3d694","fixed":"c7e2808209899b2b94dbbcc3b28d44f6c065df62","status":"affected"},{"type":"git","introduced":"829c28be9bb9a05aa7eeb8a68a4536cca2d3d694","fixed":"b2d4777172bea58a521358f7d9b871cffe4d5751","status":"affected"},{"type":"git","introduced":"829c28be9bb9a05aa7eeb8a68a4536cca2d3d694","fixed":"65bf000962a33ec9d2488e4e1797b6cf630abcbb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.16","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/094b5a8d942eecd75cf2a7225d17b21c4112dc02","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/74826e1afdcbe80e3708055420d36e7b82f899b9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1640716a273a7c25e3da6db2b4adc6fae69322c8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0e24cf4ca9e412c24f8ccb6739e4b92b4a5ad70","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d844cf28544bfb3e121d31c68f3062bb237022e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c7e2808209899b2b94dbbcc3b28d44f6c065df62","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b2d4777172bea58a521358f7d9b871cffe4d5751","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65bf000962a33ec9d2488e4e1797b6cf630abcbb","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99423","url":"https://www.cve.org/CVERecord?id=CVE-2026-99423","licence":"CVE Terms of Use","modified":"2026-11-23T08:02:34.721Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99423","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99423","licence":"Public domain","modified":"2026-11-23T08:17:45.800Z"}],"updatedAt":"2026-11-25T22:59:52.063Z","epss":{"score":0.00236,"percentile":0.15658,"date":"2026-12-01T12:00:22.000Z"}}