CVE-2026-31575mm/userfaultfd: fix hugetlb fault mutex hash calculation
- 5.5MediumCVSS base score
- 0.12%Exploitation in 30 daysEPSS · top 98% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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().
Timeline
ID reserved
By Linux
- 46 days later
· 46 days later
Published
- 7 months later
· 7 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.12% · top 98% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3 – < 5a525c43baaba0bf3063f86996ca3623b71e4172
- affected a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3 – < 574501ede47ac439afd67ba9812bc66722d500ba
- affected a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3 – < 08282b1bf74c69fc8ecd25493e7fdb5460f01290
- affected a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3 – < f4689fc089765d36c026063fb22d23533e883eb6
- affected a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3 – < 0217c7fb4de4a40cee667eb21901f3204effe5ac
- affected 6.7
- unaffected < 6.7
- unaffected 6.12.84 – ≤ 6.12.*
- unaffected 6.18.24 – ≤ 6.18.*
- unaffected 6.19.14 – ≤ 6.19.*
- unaffected 7.0.1 – ≤ 7.0.*
- unaffected 7.1 – ≤ *
References
References5
- https://git.kernel.org/stable/c/5a525c43baaba0bf3063f86996ca3623b71e4172 (opens in a new tab)
- https://git.kernel.org/stable/c/574501ede47ac439afd67ba9812bc66722d500ba (opens in a new tab)
- https://git.kernel.org/stable/c/08282b1bf74c69fc8ecd25493e7fdb5460f01290 (opens in a new tab)
- https://git.kernel.org/stable/c/f4689fc089765d36c026063fb22d23533e883eb6 (opens in a new tab)
- https://git.kernel.org/stable/c/0217c7fb4de4a40cee667eb21901f3204effe5ac (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-25468 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-31575)Record last updated .