{"id":"CVE-2026-143110","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:43.107","lastModified":"2026-12-03T10:17:43.107","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndcache: wait for a racing eviction of a secondary root\n\nCommit e9895609cb7f (\"wind ->s_roots via ->d_sib instead of ->d_hash\")\nkeeps a secondary root on ->s_roots until dentry_unlist() so that\nshrink_dcache_for_umount() can find one that another thread is evicting\nand wait for it. But do_one_tree() takes every root off the list before\nits dput() which breaks that:\n\n  thread A                              umount\n  dentry_kill(root), refcount is 0\n    lock_for_kill()\n      spin_trylock(->i_lock) fails\n      spin_unlock(->d_lock)\n                                        shrink_dcache_for_umount()\n                                          dget_dlock(root)\n                                          do_one_tree(root)\n                                            unlink_secondary_root(root)\n      spin_lock(->i_lock)\n                                            dput(root), refcount is 0\n                                              lock_for_kill()\n                                                trylock fails, waits\n      spin_lock(->d_lock)\n      refcount is 0 again, go on\n    lockref_mark_dead()\n    dentry_unlink_inode()\n      drops both locks\n                                                root is dead, give up\n                                          ->s_roots is empty, done\n                                        evict_inodes()\n                                        \"Busy inodes after unmount\"\n      iput()\n\nThread A evicts without pinning the superblock. namespace_unlock() does\nthat for old mountpoints after dropping namespace_sem, and a secondary\nroot goes with its last child.\n\nSo only take busy roots off the list. Leave the others to\ndentry_unlist() so that shrink_dcache_for_umount() finds them and waits\nfor an eviction in progress. A root that becomes busy after the check is\npicked up again and taken off the list then."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/dcache.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"78db93943210df61c8446aae35af6836e2cf04aa","lessThan":"47f4eabefeea071d628969a072265dd4c9b55f73","versionType":"git","status":"affected"},{"version":"78db93943210df61c8446aae35af6836e2cf04aa","lessThan":"649918e04e0ead9bfc861aacdd2e5b39b5bdf869","versionType":"git","status":"affected"},{"version":"20e9cbd3be1e3f753e81960eb4cc6c80b8520ee9","versionType":"git","status":"affected"},{"version":"7.2.6","lessThan":"7.3","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/dcache.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7.3","status":"affected"},{"version":"0","lessThan":"7.3","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/47f4eabefeea071d628969a072265dd4c9b55f73","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/649918e04e0ead9bfc861aacdd2e5b39b5bdf869","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}