{"id":"CVE-2026-99425","aliases":["CVE-2026-99425"],"related":[],"kind":"vulnerability","state":"published","title":"ovl: hold a reference on the parent in readdir","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: hold a reference on the parent in readdir\n\nListing a directory on an overlay uses a freed dentry and crashes the\nkernel when a lookup moves the directory at the same time.\n\nCode that can sleep may only use d_parent without a reference while\nsomething stops a move of the dentry. ovl_iterate_real(),\novl_need_adjust_d_ino() and ovl_cache_update() use the d_parent of the\nlisted directory and hold only the lock of that directory. When a\nlookup finds the directory under another parent after a change to a\nlayer, d_splice_alias() moves it without that lock and drops its\nreference on the old parent.\n\nWith a delay in ovl_iterate_real(), getdents64 on an overlay directory\nraced a rename in the lower layer and a lookup that moved its dentry,\nand after an rmdir of the old parent KASAN reported a use-after-free in\nsecurity_inode_getattr().\n\nFix this by using dget_parent() in the three functions.\n\n[amir: fix comments in ovl_need_adjust_d_ino()]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: hold a reference on the parent in readdir\n\nListing a directory on an overlay uses a freed dentry and crashes the\nkernel when a lookup moves the directory at the same time.\n\nCode that can sleep may only use d_parent without a reference while\nsomething stops a move of the dentry. ovl_iterate_real(),\novl_need_adjust_d_ino() and ovl_cache_update() use the d_parent of the\nlisted directory and hold only the lock of that directory. When a\nlookup finds the directory under another parent after a change to a\nlayer, d_splice_alias() moves it without that lock and drops its\nreference on the old parent.\n\nWith a delay in ovl_iterate_real(), getdents64 on an overlay directory\nraced a rename in the lower layer and a lookup that moved its dentry,\nand after an rmdir of the old parent KASAN reported a use-after-free in\nsecurity_inode_getattr().\n\nFix this by using dget_parent() in the three functions.\n\n[amir: fix comments in ovl_need_adjust_d_ino()]","source":"cvelist"}],"published":"2026-11-19T14:40:28.722Z","modified":"2026-11-23T08:17:46.083Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","fixed":"a23b702ca4799c0975424280c8124a091f818e22","status":"affected"},{"type":"git","introduced":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","fixed":"068d627b3dbc98389a71e382311382b122dfbc70","status":"affected"},{"type":"git","introduced":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","fixed":"7480571ee0444f281bb6f4f6702c87c107235bbc","status":"affected"},{"type":"git","introduced":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","fixed":"c5bda25914a35bef4b9d01d047efefc8b828875e","status":"affected"},{"type":"git","introduced":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","fixed":"862804fc1d8e6d11652d01f84451a0c9396d10cd","status":"affected"},{"type":"git","introduced":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","fixed":"0759376aa01168edeec9319f9cc8e5e9b9388c5c","status":"affected"},{"type":"git","introduced":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","fixed":"73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea","status":"affected"},{"type":"git","introduced":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","fixed":"16d319e12328acafeafd3eecdf09c46d7fb43452","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","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/a23b702ca4799c0975424280c8124a091f818e22","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/068d627b3dbc98389a71e382311382b122dfbc70","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7480571ee0444f281bb6f4f6702c87c107235bbc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c5bda25914a35bef4b9d01d047efefc8b828875e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/862804fc1d8e6d11652d01f84451a0c9396d10cd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0759376aa01168edeec9319f9cc8e5e9b9388c5c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16d319e12328acafeafd3eecdf09c46d7fb43452","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99425","url":"https://www.cve.org/CVERecord?id=CVE-2026-99425","licence":"CVE Terms of Use","modified":"2026-11-23T08:02:36.895Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99425","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99425","licence":"Public domain","modified":"2026-11-23T08:17:46.083Z"}],"updatedAt":"2026-11-25T22:59:52.064Z","epss":{"score":0.00171,"percentile":0.06791,"date":"2026-12-01T12:00:22.000Z"}}