Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local device access only (AV:L/PR:L); relies on a huge-folio/range boundary condition (AC:H); impact is kernel memory corruption/crash so A:H, minor I:L, no disclosure (C:N).
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
6DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
mm/migrate_device: avoid out-of-bounds writes for compound folios
migrate_device_range() and migrate_device_pfns() clear the entries following a compound folio so that the PFN arrays retain their page-granular representation.
If a compound folio extends beyond the end of the caller-provided range, the loops clear all following folio entries without limiting them to the number of slots remaining in the npages-sized array, causing an out-of-bounds write.
Do not proceed with a compound folio if its page-granular representation does not fit entirely in the remaining PFN array. If this happens, drop any reference and lock acquired for the folio, clear the remaining entries, and stop collecting.
Observed with a KASAN x86 QEMU kernel using the HMM migrate_anon_huge_zero selftest. Closing /dev/hmm_dmirror0 after migrating an anonymous huge page to device memory exercises:
dmirror_fops_release() -> dmirror_device_evict_chunk() -> migrate_device_range()
AnalysisAI
An out-of-bounds write in the Linux kernel's device-memory migration helpers (mm/migrate_device) allows a local user who holds a file descriptor to a ZONE_DEVICE/HMM-capable device to corrupt kernel memory. When a compound (transparent huge) folio is migrated into device memory and its page-granular span extends past the end of the caller-supplied npages PFN array, migrate_device_range() and migrate_device_pfns() clear folio entries past the array boundary; the path is exercised in practice by dmirror_fops_release() on /dev/hmm_dmirror0 and by GPU shared-virtual-memory drivers such as nouveau or amdgpu SVM. …
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 | Requires local access to a driver that uses the device-memory migration helpers migrate_device_range()/migrate_device_pfns() - i.e. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | This is a locally-triggered out-of-bounds write (CWE-787) in the Linux kernel's device-memory migration path (mm/migrate_device). … 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 | Apply the vendor-released fixes: update to a kernel containing the stable commits dc41e961a269f2ca4196e669d6d8e05480899cd4 or 99186b185c245f5987d7f8715d5504c8d8cc04a0, or to the versions EUVD lists as patched (Linux 7.2.5 and 7.3-rc2), from https://git.kernel.org/stable/c/dc41e961a269f2ca4196e669d6d8e05480899cd4. … Detailed patch versions, workarounds, and compensating controls in full report. |
Recommended ActionAI
Within 24 hours, inventory every Linux host, container host, and virtual machine that exposes ZONE_DEVICE/HMM device-memory interfaces, GPU SVM paths (nouveau, amdgpu), or the /dev/hmm_dmirror test module, and confirm whether the running kernel was built with device-memory migration support; restrict access to those device nodes to trusted administrative accounts only, and confirm no unprivileged or tenant workloads have direct access. …
Sign in for detailed remediation steps and compensating controls.
Threat intelligence, references, and detailed analysis are available after sign-in.
Same technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-80567
GHSA-mmrq-wq59-jg48