CVE-2026-89758
mm/mempolicy: skip non-present PMDs when queueing folios
Mitigation
- Upgrade Linux to 2858b4027f491e6fdb8ee2d8923798b619bf2791 or later.
Who should check
- Anyone running Linux >= 368076f52ebeecd33e10a9f80905d7508b6b6149, < 3d927093b2add7ced588a926c3dc5d7a83f18596; >= 368076f52ebeecd33e10a9f80905d7508b6b6149, < 2858b4027f491e6fdb8ee2d8923798b619bf2791
- Anyone running Linux 6.19
Vulnerability facts
- Affected
- Linux >= 368076f52ebeecd33e10a9f80905d7508b6b6149, < 3d927093b2add7ced588a926c3dc5d7a83f18596; >= 368076f52ebeecd33e10a9f80905d7508b6b6149, < 2858b4027f491e6fdb8ee2d8923798b619bf2791; Linux 6.19
- Fixed in
- Linux 3d927093b2add7ced588a926c3dc5d7a83f18596, Linux 2858b4027f491e6fdb8ee2d8923798b619bf2791
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- Modified
Description
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-89758. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-89758.md Affected: Linux >= 368076f52ebeecd33e10a9f80905d7508b6b6149, < 3d927093b2add7ced588a926c3dc5d7a83f18596; >= 368076f52ebeecd33e10a9f80905d7508b6b6149, < 2858b4027f491e6fdb8ee2d8923798b619bf2791; Linux 6.19 Fixed in: Linux 3d927093b2add7ced588a926c3dc5d7a83f18596, Linux 2858b4027f491e6fdb8ee2d8923798b619bf2791 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-89758 being exploited?
There is no confirmed exploitation: CVE-2026-89758 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-89758?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-89758?
Linux >= 368076f52ebeecd33e10a9f80905d7508b6b6149, < 3d927093b2add7ced588a926c3dc5d7a83f18596; >= 368076f52ebeecd33e10a9f80905d7508b6b6149, < 2858b4027f491e6fdb8ee2d8923798b619bf2791; Linux 6.19.
Is there a fix for CVE-2026-89758?
Yes. Fixed in Linux 3d927093b2add7ced588a926c3dc5d7a83f18596, Linux 2858b4027f491e6fdb8ee2d8923798b619bf2791. Upgrade Linux to 2858b4027f491e6fdb8ee2d8923798b619bf2791 or later.
How do I check if I'm affected by CVE-2026-89758?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.