CVE-2026-99927

mm/hugetlb: fix endless write fault on a leftover uffd bit

No CVSS score yet EPSS 0.32%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99927

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-99927 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:

mm/hugetlb: fix endless write fault on a leftover uffd bit

hugetlb_fault() resolves the uffd bit on a write fault only if the VMA is registered for userfaultfd write protection, and hugetlb_wp() bails out for any entry with the uffd bit set assuming hugetlb_fault() has already resolved it.

When a read-only hugetlb entry with the uffd bit set is mapped in a VMA that is not registered for uffd-wp, a write fault to it never makes progress. If the access comes from the kernel, e.g. read(2) from /dev/zero into such page, the task spins in the page fault handler, ignores SIGKILL and keeps holding the locks taken by the system call.

Such entries should not exist, but an unprivileged user can create them, for example with MADV_DONTNEED of a page protected with UFFDIO_RWPROTECT or with UFFDIO_COPY in MODE_WP racing with UFFDIO_UNREGISTER.

Clear the uffd bit when the VMA is not registered for uffd-wp and let the fault proceed to hugetlb_wp(), like do_wp_page() does for regular pages.

Note that a FOLL_FORCE write to a page protected with UFFDIO_RWPROTECT in a private VMA that was made PROT_NONE now drops the RWP protection of that page.

Original fix generated by an LLM and sent in private by Josef.

[rppt@kernel.org: massage commit message] [david@kernel.org: convert comment into a TODO]

Exploitation

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f042ee354c827bf4946cf3113a3b5eaa030c6ea4, before 9e911a97bec4d63d05ddd2dd6fd78ee0cdc94b7c
affected from 60d5b473d61be61ac315e544fcd6a8234a79500e, before c6cda7406ae80e724e943456bdfffa2508126bd1
affected from 60d5b473d61be61ac315e544fcd6a8234a79500e, before 27191064e69d978c95c2bf480bcefc640d4b69b8
affected from 60d5b473d61be61ac315e544fcd6a8234a79500e, before 241a9fd422891de8987de284369f97587dbff301
affected from 60d5b473d61be61ac315e544fcd6a8234a79500e, before 746a3094ec2a2fc70cf73447b20c355b57b893fd
affected from 60d5b473d61be61ac315e544fcd6a8234a79500e, before f61e1cf15fb44f9cf89d43d8ef01f926322bb1c4
affected 199dc8cc56e673a2b7b461d07f9ae1ed876c2962
affected from 6.1.24, before 6.1.193
affected from 6.2.11, before 6.3
Other versions: unaffected
Linux
affected 6.3
unaffected before 6.3
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.119 up to and including 6.12.*
unaffected from 6.18.65 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-99927 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99927

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-99927
trivy image --scanners vuln IMAGE | grep CVE-2026-99927

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