PT-2026-166967
CVE-2026-143109
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾