CVE-2026-99844

mount: refuse setns() with a shared fs_struct again

No CVSS score yet EPSS 0.22%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99844

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99844 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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) 0

and 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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 303cc571d107b3641d6487061b748e70ffe15ce4, before 3e6b5d49e7dcd666b24ac69ebf2f7b259a80bbf5
affected from 303cc571d107b3641d6487061b748e70ffe15ce4, before d2568eff8b4b743f4ba69517139874193fa67053
affected from 303cc571d107b3641d6487061b748e70ffe15ce4, before 431f2f11e6b0931808e3646554630075c7a32b83
affected from 303cc571d107b3641d6487061b748e70ffe15ce4, before f49d140326bc3019eaabd10d17c6b90448c7eb88
affected from 303cc571d107b3641d6487061b748e70ffe15ce4, before b41c74168f4b1ffe0823992e40caf69f8d68f16a
affected from 303cc571d107b3641d6487061b748e70ffe15ce4, before 0aba8e759cfcdc6242348dc82b97c96405f90762
affected from 303cc571d107b3641d6487061b748e70ffe15ce4, before 06ec699318fe3a1747bd49ccd8af577db2fd8419
affected from 303cc571d107b3641d6487061b748e70ffe15ce4, before 948e604aca8af30490accf7d46d44814ffa26f80
Other versions: unaffected
Linux
affected 5.8
unaffected before 5.8
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.63 up to and including 6.18.*
unaffected from 7.3.4 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99844 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99844

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99844
trivy image --scanners vuln IMAGE | grep CVE-2026-99844

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99844 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.