PT-2026-162811
CVE-2026-99844
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
mount: refuse setns() with a shared fs struct again
mntns install() refuses to switch the mount namespace of a task that
shares its fs struct, since root and cwd of the others would move to a
namespace they are not in. It looks at nsset->fs for that. If more
than the mount namespace is asked for, that is a private copy made by
prepare nsset(), which has one user by definition; commit nsset() then
writes root and cwd of the copy to the fs struct of the task.
A thread of a process with two threads, pidfd of a task in another
mount namespace:
setns(pidfd, CLONE NEWNS) -EINVAL
setns(pidfd, CLONE NEWNS | CLONE NEWUTS) 0and after the second call the other thread, still in the old mount
namespace, has lost its cwd (/tmp became /) and sees the mounts of the
other namespace under /.
Look at the fs struct that is going to be changed. The second call then
fails with -EINVAL like the first one.
Found an issue in the description? Have something to add? Feel free to write us 👾