{"id":"CVE-2026-99425","aliases":[],"title":"ovl: hold a reference on the parent in readdir","originalDescription":"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()]","severity":{"cvss":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00171,"percentile":0.06751},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=4.14.0, <6.12.117","fixed":"6.12.117"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.61","fixed":"6.18.61"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.2","fixed":"7.3.2"},{"ecosystem":"vendor","name":"Linux","range":">=b5efccbe0a12a9d5c65c1a60b4270837c7fdb900, <068d627b3dbc98389a71e382311382b122dfbc70","fixed":"068d627b3dbc98389a71e382311382b122dfbc70"},{"ecosystem":"vendor","name":"Linux","range":">=b5efccbe0a12a9d5c65c1a60b4270837c7fdb900, <0759376aa01168edeec9319f9cc8e5e9b9388c5c","fixed":"0759376aa01168edeec9319f9cc8e5e9b9388c5c"},{"ecosystem":"vendor","name":"Linux","range":">=b5efccbe0a12a9d5c65c1a60b4270837c7fdb900, <16d319e12328acafeafd3eecdf09c46d7fb43452","fixed":"16d319e12328acafeafd3eecdf09c46d7fb43452"},{"ecosystem":"vendor","name":"Linux","range":">=b5efccbe0a12a9d5c65c1a60b4270837c7fdb900, <73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea","fixed":"73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea"},{"ecosystem":"vendor","name":"Linux","range":">=b5efccbe0a12a9d5c65c1a60b4270837c7fdb900, <7480571ee0444f281bb6f4f6702c87c107235bbc","fixed":"7480571ee0444f281bb6f4f6702c87c107235bbc"},{"ecosystem":"vendor","name":"Linux","range":">=b5efccbe0a12a9d5c65c1a60b4270837c7fdb900, <862804fc1d8e6d11652d01f84451a0c9396d10cd","fixed":"862804fc1d8e6d11652d01f84451a0c9396d10cd"},{"ecosystem":"vendor","name":"Linux","range":">=b5efccbe0a12a9d5c65c1a60b4270837c7fdb900, <a23b702ca4799c0975424280c8124a091f818e22","fixed":"a23b702ca4799c0975424280c8124a091f818e22"},{"ecosystem":"vendor","name":"Linux","range":">=b5efccbe0a12a9d5c65c1a60b4270837c7fdb900, <c5bda25914a35bef4b9d01d047efefc8b828875e","fixed":"c5bda25914a35bef4b9d01d047efefc8b828875e"}],"references":[{"url":"https://git.kernel.org/stable/c/862804fc1d8e6d11652d01f84451a0c9396d10cd","type":"other"},{"url":"https://git.kernel.org/stable/c/0759376aa01168edeec9319f9cc8e5e9b9388c5c","type":"other"},{"url":"https://git.kernel.org/stable/c/73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea","type":"other"},{"url":"https://git.kernel.org/stable/c/16d319e12328acafeafd3eecdf09c46d7fb43452","type":"other"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99425.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99425","type":"advisory"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://git.kernel.org/stable/c/a23b702ca4799c0975424280c8124a091f818e22","type":"other"},{"url":"https://git.kernel.org/stable/c/068d627b3dbc98389a71e382311382b122dfbc70","type":"other"},{"url":"https://git.kernel.org/stable/c/7480571ee0444f281bb6f4f6702c87c107235bbc","type":"other"},{"url":"https://git.kernel.org/stable/c/c5bda25914a35bef4b9d01d047efefc8b828875e","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.150Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99425","license":"NVD terms of use","firstSeenAt":"2026-11-19T15:43:48.021Z"},{"name":"osv","at":"2026-11-22T13:31:49.836Z","url":"https://osv.dev/vulnerability/CVE-2026-99425","license":"CC-BY 4.0","firstSeenAt":"2026-11-22T13:31:49.811Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:53.529Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99425","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T15:00:33.807Z"}],"firstSeenAt":"2026-11-19T15:00:33.807Z","publishedAt":"2026-11-19T14:40:28.722Z","modifiedAt":"2026-11-23T08:17:46.083Z"}