CVE-2026-143110
not scored yetdcache: wait for a racing eviction of a secondary root
In the Linux kernel, the following vulnerability has been resolved:
dcache: wait for a racing eviction of a secondary root
Commit e9895609cb7f ("wind ->s_roots via ->d_sib instead of ->d_hash")
keeps a secondary root on ->s_roots until dentry_unlist() so that
shrink_dcache_for_umount() can find one that another thread is evicting
and wait for it. But do_one_tree() takes every root off the list before
its dput() which breaks that:
thread A umount
dentry_kill(root), refcount is 0
lock_for_kill()
spin_trylock(->i_lock) fails
spin_unlock(->d_lock)
shrink_dcache_for_umount()
dget_dlock(root)
do_one_tree(root)
unlink_secondary_root(root)
spin_lock(->i_lock)
dput(root), refcount is 0
lock_for_kill()
trylock fails, waits
spin_lock(->d_lock)
refcount is 0 again, go on
lockref_mark_dead()
dentry_unlink_inode()
drops both locks
root is dead, give up
->s_roots is empty, done
evict_inodes()
"Busy inodes after unmount"
iput()
Thread A evicts without pinning the superblock. namespace_unlock() does
that for old mountpoints after dropping namespace_sem, and a secondary
root goes with its last child.
So only take busy roots off the list. Leave the others to
dentry_unlist() so that shrink_dcache_for_umount() finds them and waits
for an eviction in progress. A root that becomes busy after the check is
picked up again and taken off the list then.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 78db93943210df61c8446aae35af6836e2cf04aa, < 47f4eabefeea071d628969a072265dd4c9b55f73; >= 78db93943210df61c8446aae35af6836e2cf04aa, < 649918e04e0ead9bfc861aacdd2e5b39b5bdf869; = 20e9cbd3be1e3f753e81960eb4cc6c80b8520ee9; >= 7.2.6, < 7.3 | 47f4eabefeea071d628969a072265dd4c9b55f73, 649918e04e0ead9bfc861aacdd2e5b39b5bdf869, 7.3 |
| CVE List | Linux | Linux | = 7.3 |
References
- https://git.kernel.org/stable/c/47f4eabefeea071d628969a072265dd4c9b55f73
- https://git.kernel.org/stable/c/649918e04e0ead9bfc861aacdd2e5b39b5bdf869
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)