CVE-2026-139081
mm/hugetlb: disable PMD sharing for UFFD missing mode
Check your servers for CVE-2026-139081
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-139081 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
mm/hugetlb: disable PMD sharing for UFFD missing mode
For UFFDIO_POISON to install a poison marker in a hugetlb mapping, it is sufficient to have the VMA registered for missing mode.
However, UFFD missing mode does currently not block PMD table sharing, so installing the marker will be visible to everyone using the shared PMD table, which is wrong as UFFDIO_POISON must stay local to the process.
To fix it, make uffd_disable_huge_pmd_share() cover VM_UFFD_MISSING as well. With missing mode covered, hugetlb PMD sharing is disabled for all userfaultfd registered VMAs, so the helper can simply return whether the VMA has a userfaultfd context instead of testing individual UFFD mode flags. Add a debug check on the marker installation path.
The existing registration path will then unshare PMD tables, and subsequent faults will not share them while the mapping remains registered.
The alternative would be to unshare PMD tables selectively when installing poison markers, which results in way more complexity. Or alternatively, simply failing the marker installation, which might break some use cases.
This also disables PMD sharing for userfaultfd registrations that never use UFFDIO_POISON.
Exploitation
EPSS 0.35%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 31.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8a13897fb0daa8f56821f263f0c63661e1c6acae, before d05e6e0f7f0472d6a67c6518aeea60962e1ce4be affected from 8a13897fb0daa8f56821f263f0c63661e1c6acae, before 981dd1db69270455ab197ca9d5e36782227cb291 affected from 8a13897fb0daa8f56821f263f0c63661e1c6acae, before 16c9d99a670bfcd77e158dda3e49d977c3615a5f affected from 8a13897fb0daa8f56821f263f0c63661e1c6acae, before f9b393b166296deac27e48e02cf0125a81d2704c affected from 8a13897fb0daa8f56821f263f0c63661e1c6acae, before 809cbe72ace890f75a9b126eb6a8b533081666d8
Other versions: unaffected
|
| Linux |
affected 6.6 unaffected before 6.6 unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc2 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-139081 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139081
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-139081
trivy image --scanners vuln IMAGE | grep CVE-2026-139081
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
- https://git.kernel.org/stable/c/d05e6e0f7f0472d6a67c6518aeea60962e1ce4be git.kernel.org
- https://git.kernel.org/stable/c/981dd1db69270455ab197ca9d5e36782227cb291 git.kernel.org
- https://git.kernel.org/stable/c/16c9d99a670bfcd77e158dda3e49d977c3615a5f git.kernel.org
- https://git.kernel.org/stable/c/f9b393b166296deac27e48e02cf0125a81d2704c git.kernel.org
- https://git.kernel.org/stable/c/809cbe72ace890f75a9b126eb6a8b533081666d8 git.kernel.org
Source: the record CVE-2026-139081 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.
Vulnpocalypse