{"id":"CVE-2026-143109","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:42.957","lastModified":"2026-12-03T10:17:42.957","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndcache: let umount find a disconnected ex-mountpoint\n\nWhen a mount goes away the reference to its mountpoint is dropped with\ndput_to_list() and namespace_unlock() evicts the dentry after dropping\nnamespace_sem. Nothing pins the filesystem at that point so it can be\nunmounted at the same time. That's fine as long as\nshrink_dcache_for_umount() finds the dentry. It then either evicts it\nitself or waits for the eviction to finish.\n\nBut it can't find a disconnected root as those are neither in the tree\nnor on ->s_roots. And they can be mounted on:\n\n  fd = open_by_handle_at(mnt_fd, handle of a file with no dentry, O_PATH);\n  tree = open_tree(AT_FDCWD, \"/tmp/x\", OPEN_TREE_CLONE);\n  move_mount(tree, \"\", fd, \"\", MOVE_MOUNT_F_EMPTY_PATH |\n\t\t\t       MOVE_MOUNT_T_EMPTY_PATH);\n  close(fd);\n\n  thread A                              thread B\n  umount2(\"/proc/self/fd/<tree>\", MNT_DETACH)\n    namespace_unlock()\n      up_write(&namespace_sem)\n                                        umount of the filesystem\n                                          shrink_dcache_for_umount()\n                                          evict_inodes()\n                                          \"Busy inodes after unmount\"\n      shrink_dentry_list()\n        dentry_kill()\n          iput() of an inode of a superblock that is gone\n\nSo put such a dentry on ->s_roots when it's put on the shrink list. From\nthen on it's a secondary root like any other.\n\nThis needs the previous patch. Otherwise do_one_tree() takes the dentry\noff ->s_roots and umount doesn't wait for an eviction in progress.\n\nThe stable tag is narrower than the Fixes tag on purpose. Before commit\ne9895609cb7f (\"wind ->s_roots via ->d_sib instead of ->d_hash\") umount\ndoesn't wait for a secondary root that is being evicted either."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/dcache.c","include/linux/fs/super_types.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4edbe133f851c9e3a2f2a1db367e826b01e72594","lessThan":"427aa48d8c74d14846787fbf95141b3ab0d8b333","versionType":"git","status":"affected"},{"version":"4edbe133f851c9e3a2f2a1db367e826b01e72594","lessThan":"32e564e222b7ca3811b2acee404b73fcaf43f312","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/dcache.c","include/linux/fs/super_types.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.3","status":"affected"},{"version":"0","lessThan":"5.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/32e564e222b7ca3811b2acee404b73fcaf43f312","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/427aa48d8c74d14846787fbf95141b3ab0d8b333","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}