Skip to main content

Linux Kernel CVE-2026-31575

| EUVDEUVD-2026-25468 MEDIUM
2026-04-24 Linux GHSA-2cxr-hf6j-p3mc
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain local user account
  2. Delivery
    Map hugetlb memory via userfaultfd registration
  3. Exploit
    Spawn concurrent threads triggering mfill_atomic_hugetlb on same huge page
  4. Install
    Mutex mismatch allows concurrent reservation map writes
  5. C2
    Corrupt hugetlb resv_map internal state
  6. Execute
    Trigger BUG_ON in resv_map_release
  7. Impact
    Kernel panic (denial of service)

Vulnerability Assessment

Exploitation Conditions

Exploitation requires: (1) a local user account with at least low-privilege access to the system; (2) the target kernel must have hugetlb pages configured (vm.nr_hugepages > 0 or hugetlbfs mounted); (3) the attacker must be permitted to create userfaultfd file descriptors - systems with vm.unprivileged_userfaultfd=0 (the default on RHEL-family and many hardened Ubuntu configurations) restrict this to CAP_SYS_PTRACE or root, raising the effective privilege bar to high; (4) the attacker must be able to mmap hugetlb memory, which may require membership in a group permitted to use the hugetlbfs mount or explicit hugepage allocation permissions. The race requires concurrent fault threads targeting addresses within the same huge page, making single-threaded exploitation impossible. Systems without hugetlb configured, or with unprivileged userfaultfd disabled, are not practically exploitable.

Impact

The NVD/vendor CVSS 3.1 score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) correctly identifies this as a local, low-privilege, availability-only issue. EPSS at 0.02% (4th percentile) confirms negligible exploitation probability, and there is no CISA KEV listing and no public proof-of-concept code. The independent assessed vector raises AC to High because reliable triggering requires a concurrent race across fault threads within the same huge page - not a single-shot operation. Real-world impact is constrained further: systems must have hugetlb pages configured, the workload must use userfaultfd with hugetlb memory (e.g., QEMU/KVM live migration, some container runtimes), and the kernel must not restrict unprivileged userfaultfd access. Hardened distributions that set vm.unprivileged_userfaultfd=0 (default on RHEL-family and some Ubuntu configurations) limit exposure to root or specifically privileged processes, reducing practical risk significantly. The ENISA 'Information Disclosure' tag is discordant with CVSS (C:N) and description - treat it as a metadata artifact, not a confirmed confidentiality impact. Patch availability across 6.18.24, 6.19.14, and 7.0.1 stable releases makes remediation straightforward for most environments.

Exploit ScenarioDerived

A local user with a low-privilege account on a system running QEMU-KVM or another hugetlb-backed workload writes a multithreaded program that registers a userfaultfd handler on a hugetlb mapping and concurrently triggers fault copy operations from multiple threads targeting different 4 KB offsets within the same 2 MB huge page. The mutex mismatch allows simultaneous reservation map mutations, corrupting internal kernel accounting structures and triggering the BUG_ON assertion in resv_map_release(), causing an immediate kernel panic and system reboot. No public proof-of-concept code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Race condition in the Linux kernel's userfaultfd hugetlb path allows a local low-privilege user to crash the kernel by triggering a BUG_ON assertion in resv_map_release(). The root cause is a unit mismatch in mfill_atomic_hugetlb(): linear_page_index() returns a PAGE_SIZE-unit index while hugetlb_fault_mutex_hash() expects a huge-page-granularity index, causing concurrent fault threads within the same huge page to acquire different mutexes and corrupt the reservation map. No public exploit has been identified and EPSS is 0.02% (4th percentile), placing real-world risk firmly in the low tier despite reliable kernel crash reproducibility under the right conditions.

RemediationAI

Upgrade the Linux kernel to a patched stable release: 6.18.24, 6.19.14, or 7.0.1. Upstream fix commits are available at https://git.kernel.org/stable/c/574501ede47ac439afd67ba9812bc66722d500ba, https://git.kernel.org/stable/c/08282b1bf74c69fc8ecd25493e7fdb5460f01290, and https://git.kernel.org/stable/c/f4689fc089765d36c026063fb22d23533e883eb6. Ubuntu users should apply the update described in USN-8488-1 (https://ubuntu.com/security/notices/USN-8488-1); Red Hat and SUSE users should monitor their respective security portals for patched kernel packages. Where immediate patching is not possible, set the sysctl vm.unprivileged_userfaultfd=0 (echo 0 > /proc/sys/vm/unprivileged_userfaultfd) to restrict userfaultfd to privileged processes only - note this may break QEMU/KVM live migration and some container checkpoint/restore workflows that rely on unprivileged userfaultfd. If hugetlb pages are not required by any workload, removing them from the system configuration (setting vm.nr_hugepages=0) eliminates the vulnerable code path entirely with no functional side effects on non-hugetlb workloads.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <08282b1bf74c69fc8ecd25493e7fdb5460f01290
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f4689fc089765d36c026063fb22d23533e883eb6
Linux patch: 6.19.14
Linux patch: 6.18.24
Linux patch: 7.0.1
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <574501ede47ac439afd67ba9812bc66722d500ba

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is in mm/userfaultfd.c within the Linux kernel memory management subsystem, specifically the mfill_atomic_hugetlb() function used for userfaultfd copy/zeropage operations on hugetlb-backed mappings. The bug is a unit mismatch: linear_page_index() computes a page frame number in PAGE_SIZE (typically 4 KB) units, but hugetlb_fault_mutex_hash() indexes its mutex array in huge page units (2 MB on x86-64, larger on other architectures). Two threads faulting at addresses within the same 2 MB huge page but at different 4 KB offsets will compute different hash values, acquire different mutexes, and concurrently mutate the hugetlb reservation map - a structure that assumes single-mutex serialization. This leads to map corruption and a BUG_ON panic in resv_map_release(). The fix introduces hugetlb_linear_page_index() which right-shifts by the huge page order before hashing. CPE cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:* covers all affected versions. No CWE was assigned, but the root cause class is CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization). The 'Information Disclosure' tag from ENISA/EUVD is inconsistent with both the CVSS vector (C:N) and the description - the actual impact is availability (kernel panic), not confidentiality.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.7 MEDIUM

Race condition requires concurrent thread execution within the same huge page, justifying AC:H; local low-privilege userfaultfd access required (PR:L); impact is kernel panic only (A:H, C:N, I:N).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
Patch released
Apr 27, 2026 - 23:15 nvd
Patch available
CVSS changed
Apr 27, 2026 - 20:52 NVD
5.5 (MEDIUM)
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:42 nvd
MEDIUM 5.5

DescriptionNVD

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().

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Prevalence
Ubiquitous
Linux kernel underlies the vast majority of servers, cloud instances, containers, and embedded devices globally.
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy