CVE-2026-143109

Source
https://cve.org/CVERecord?id=CVE-2026-143109
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143109.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143109
Downstream
Published
2026-12-03T09:19:25Z
Modified
2026-12-03T11:01:20Z
Summary
dcache: let umount find a disconnected ex-mountpoint
Details

In the Linux kernel, the following vulnerability has been resolved:

dcache: let umount find a disconnected ex-mountpoint

When a mount goes away the reference to its mountpoint is dropped with dput_to_list() and namespace_unlock() evicts the dentry after dropping namespace_sem. Nothing pins the filesystem at that point so it can be unmounted at the same time. That's fine as long as shrink_dcache_for_umount() finds the dentry. It then either evicts it itself or waits for the eviction to finish.

But it can't find a disconnected root as those are neither in the tree nor on ->s_roots. And they can be mounted on:

fd = open_by_handle_at(mnt_fd, handle of a file with no dentry, O_PATH); tree = open_tree(AT_FDCWD, "/tmp/x", OPEN_TREE_CLONE); move_mount(tree, "", fd, "", MOVE_MOUNT_F_EMPTY_PATH | MOVE_MOUNT_T_EMPTY_PATH); close(fd);

thread A thread B umount2("/proc/self/fd/", MNT_DETACH) namespace_unlock() up_write(&namespace_sem) umount of the filesystem shrink_dcache_for_umount() evict_inodes() "Busy inodes after unmount" shrink_dentry_list() dentry_kill() iput() of an inode of a superblock that is gone

So put such a dentry on ->s_roots when it's put on the shrink list. From then on it's a secondary root like any other.

This needs the previous patch. Otherwise do_one_tree() takes the dentry off ->s_roots and umount doesn't wait for an eviction in progress.

The stable tag is narrower than the Fixes tag on purpose. Before commit e9895609cb7f ("wind ->s_roots via ->d_sib instead of ->d_hash") umount doesn't wait for a secondary root that is being evicted either.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143109.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"