{"id":"CVE-2026-99425","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-19T15:17:55.547","lastModified":"2026-11-23T08:17:46.083","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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()]"}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/overlayfs/readdir.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","lessThan":"a23b702ca4799c0975424280c8124a091f818e22","versionType":"git","status":"affected"},{"version":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","lessThan":"068d627b3dbc98389a71e382311382b122dfbc70","versionType":"git","status":"affected"},{"version":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","lessThan":"7480571ee0444f281bb6f4f6702c87c107235bbc","versionType":"git","status":"affected"},{"version":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","lessThan":"c5bda25914a35bef4b9d01d047efefc8b828875e","versionType":"git","status":"affected"},{"version":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","lessThan":"862804fc1d8e6d11652d01f84451a0c9396d10cd","versionType":"git","status":"affected"},{"version":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","lessThan":"0759376aa01168edeec9319f9cc8e5e9b9388c5c","versionType":"git","status":"affected"},{"version":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","lessThan":"73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea","versionType":"git","status":"affected"},{"version":"b5efccbe0a12a9d5c65c1a60b4270837c7fdb900","lessThan":"16d319e12328acafeafd3eecdf09c46d7fb43452","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/overlayfs/readdir.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.14","status":"affected"},{"version":"0","lessThan":"4.14","versionType":"semver","status":"unaffected"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/068d627b3dbc98389a71e382311382b122dfbc70","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/0759376aa01168edeec9319f9cc8e5e9b9388c5c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/16d319e12328acafeafd3eecdf09c46d7fb43452","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7480571ee0444f281bb6f4f6702c87c107235bbc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/862804fc1d8e6d11652d01f84451a0c9396d10cd","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a23b702ca4799c0975424280c8124a091f818e22","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c5bda25914a35bef4b9d01d047efefc8b828875e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}