Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AC:H because exploitation requires specific HMM GPU hardware and an active THP-to-device migration; PR:L because any unprivileged local user can call mbind().
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
6DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
mm/mempolicy: skip non-present PMDs when queueing folios
Patch series "mm: handle device-private PMDs in walk callbacks", v3.
Since commit 368076f52ebe ("mm/huge_memory: add device-private THP support to PMD operations") a PMD may hold a device-private swap entry whenever an HMM-based GPU driver migrates an anonymous THP folio to device memory via migrate_vma_pages().
pmd_trans_huge_lock() succeeds for such PMDs (pmd_is_huge() returns true for any non-present, non-none huge PMD), so several MM walk callbacks that used to assume present THP or migration entry are now reachable with a device-private PMD. The results range from a VM_BUG_ON() firing on debug kernels, to an oops on a bogus vmemmap dereference, to silently isolating an unrelated live folio from LRU in the aliasing case.
This patch (of 3):
queue_folios_pmd() is called under pmd_trans_huge_lock(), whose pmd_is_huge() check returns true for any non-present, non-none PMD softleaf. Passing such a PMD to pmd_folio() treats the softleaf encoding as a hardware PFN and can return a bogus folio pointer.
Mirror queue_folios_pte_range(): handle non-present entries before looking up a folio. Keep migration entries counted as failures, but skip other non-present PMDs such as device-private entries.
Potential trigger: an HMM-based GPU driver migrates an anonymous THP folio to device memory via migrate_vma_pages(), leaving a device-private PMD. Userspace then calls mbind(), migrate_pages() or set_mempolicy_home_node() on that range.
AnalysisAI
Memory corruption in the Linux kernel's mm/mempolicy subsystem allows a local unprivileged user to trigger a bogus folio pointer dereference, a VM_BUG_ON() panic, or silent LRU isolation of an unrelated live folio when an HMM-based GPU driver has migrated a transparent huge page (THP) to device memory. The flaw exists because queue_folios_pmd() does not guard against device-private PMDs before calling pmd_folio(), which misinterprets the device-private swap entry encoding as a hardware PFN. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Exploitation requires all of the following simultaneously: (1) an HMM-based GPU driver must be loaded and active (e.g., NVIDIA proprietary driver with NvLink/HMM support, or AMD ROCm driver), as standard kernels without GPU offload drivers are not vulnerable; (2) a GPU workload must have migrated an anonymous transparent huge page to device memory via migrate_vma_pages(), installing a device-private PMD in the process table; (3) a local user (no special privileges beyond normal process capabilities) must then invoke mbind(2), migrate_pages(2), or set_mempolicy_home_node() on that virtual address range, triggering the page-walk callback. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | The NVD-assigned CVSS 3.1 vector of AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (7.8) overstates the practical exploitability. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | Full exploit scenario with step-by-step reproduction available after sign-in. |
| Remediation | Upgrade to Linux kernel 7.2.4 (stable) or apply the 7.3-rc1 mainline fix. … Detailed patch versions, workarounds, and compensating controls in full report. |
Recommended ActionAI
Within 24 hours, identify all systems using GPU drivers with HMM support by reviewing your GPU deployments and driver configurations with your hardware vendors (NVIDIA CUDA with HMM or AMD ROCm systems). …
Sign in for detailed remediation steps and compensating controls.
Threat intelligence, references, and detailed analysis are available after sign-in.
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-76670
GHSA-rw23-9h76-pf6x