{"id":"CVE-2026-143109","summary":"dcache: let umount find a disconnected ex-mountpoint","details":"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 -\u003es_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/\u003ctree\u003e\", 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 -\u003es_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 -\u003es_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 -\u003es_roots via -\u003ed_sib instead of -\u003ed_hash\") umount\ndoesn't wait for a secondary root that is being evicted either.","modified":"2026-12-03T11:01:20.305615614Z","published":"2026-12-03T09:19:25.045Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143109.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/32e564e222b7ca3811b2acee404b73fcaf43f312"},{"type":"WEB","url":"https://git.kernel.org/stable/c/427aa48d8c74d14846787fbf95141b3ab0d8b333"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143109.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143109"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4edbe133f851c9e3a2f2a1db367e826b01e72594"},{"fixed":"427aa48d8c74d14846787fbf95141b3ab0d8b333"},{"fixed":"32e564e222b7ca3811b2acee404b73fcaf43f312"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143109.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143109.json"}}],"schema_version":"1.9.2"}