CVE-2026-31575

mm/userfaultfd: fix hugetlb fault mutex hash calculation

No CVSS score yet EPSS 0.13%

Published 24 Apr 2026 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2026-31575

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-31575 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/userfaultfd: fix hugetlb fault mutex hash calculation

In mfill_atomic_hugetlb(), linear_page_index() is used to calculate the page index for hugetlb_fault_mutex_hash(). However, linear_page_index() returns the index in PAGE_SIZE units, while hugetlb_fault_mutex_hash() expects the index in huge page units. This mismatch means that different addresses within the same huge page can produce different hash values, leading to the use of different mutexes for the same huge page. This can cause races between faulting threads, which can corrupt the reservation map and trigger the BUG_ON in resv_map_release().

Fix this by introducing hugetlb_linear_page_index(), which returns the page index in huge page granularity, and using it in place of linear_page_index().

Exploitation

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

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3, before 5a525c43baaba0bf3063f86996ca3623b71e4172
affected from a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3, before 574501ede47ac439afd67ba9812bc66722d500ba
affected from a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3, before 08282b1bf74c69fc8ecd25493e7fdb5460f01290
affected from a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3, before f4689fc089765d36c026063fb22d23533e883eb6
affected from a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3, before 0217c7fb4de4a40cee667eb21901f3204effe5ac
Other versions: unaffected
Linux
affected 6.7
unaffected before 6.7
unaffected from 6.12.84 up to and including 6.12.*
unaffected from 6.18.24 up to and including 6.18.*
unaffected from 6.19.14 up to and including 6.19.*
unaffected from 7.0.1 up to and including 7.0.*
unaffected 7.1 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-31575 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31575

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

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-31575 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.