CVE-2026-143109: dcache: let umount find a disconnected ex-mountpoint

Published Dec 3, 2026
·
Updated

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 dputtolist() and namespaceunlock() evicts the dentry after dropping namespacesem. Nothing pins the filesystem at that point so it can be unmounted at the same time. That's fine as long as shrinkdcacheforumount() 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 ->sroots. And they can be mounted on:

fd = openbyhandleat(mntfd, handle of a file with no dentry, OPATH); tree = opentree(ATFDCWD, "/tmp/x", OPENTREECLONE); movemount(tree, "", fd, "", MOVEMOUNTFEMPTYPATH | MOVEMOUNTTEMPTYPATH); close(fd);

thread A thread B umount2("/proc/self/fd/<tree>", MNTDETACH) namespaceunlock() upwrite(&namespacesem) umount of the filesystem shrinkdcacheforumount() evictinodes() "Busy inodes after unmount" shrinkdentrylist() dentrykill() iput() of an inode of a superblock that is gone

So put such a dentry on ->sroots 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 doonetree() takes the dentry off ->sroots 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 ->sroots via ->dsib instead of ->dhash") umount doesn't wait for a secondary root that is being evicted either.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203