{"id":"CVE-2026-143110","summary":"dcache: wait for a racing eviction of a secondary root","details":"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 -\u003es_roots via -\u003ed_sib instead of -\u003ed_hash\")\nkeeps a secondary root on -\u003es_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(-\u003ei_lock) fails\n      spin_unlock(-\u003ed_lock)\n                                        shrink_dcache_for_umount()\n                                          dget_dlock(root)\n                                          do_one_tree(root)\n                                            unlink_secondary_root(root)\n      spin_lock(-\u003ei_lock)\n                                            dput(root), refcount is 0\n                                              lock_for_kill()\n                                                trylock fails, waits\n      spin_lock(-\u003ed_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                                          -\u003es_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.","modified":"2026-12-03T11:01:19.075754626Z","published":"2026-12-03T09:19:25.712Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143110.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/47f4eabefeea071d628969a072265dd4c9b55f73"},{"type":"WEB","url":"https://git.kernel.org/stable/c/649918e04e0ead9bfc861aacdd2e5b39b5bdf869"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143110.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143110"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"78db93943210df61c8446aae35af6836e2cf04aa"},{"fixed":"47f4eabefeea071d628969a072265dd4c9b55f73"},{"fixed":"649918e04e0ead9bfc861aacdd2e5b39b5bdf869"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"20e9cbd3be1e3f753e81960eb4cc6c80b8520ee9"}]}],"versions":["v7.2.15","v7.2.14","v7.2.13","v7.2.12","v7.2.11","v7.2.10","v7.2.9","v7.2.8","v7.2.7","v7.2.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143110.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.6"},{"fixed":"7.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.3.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143110.json"}}],"schema_version":"1.9.2"}