{"id":21680,"date":"2026-09-12T04:31:30","date_gmt":"2026-09-11T20:31:30","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89758"},"modified":"2026-09-12T04:31:30","modified_gmt":"2026-09-11T20:31:30","slug":"cve-2026-89758","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89758","title":{"rendered":"CVE-2026-89758 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nmm\/mempolicy: skip no"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mm\/mempolicy: skip non-present PMDs when queueing folios<\/p>\n<p>Patch series &#8220;mm: handle device-private PMDs in walk callbacks&#8221;, v3.<\/p>\n<p>Since commit 368076f52ebe (&#8220;mm\/huge_memory: add device-private THP support<br \/>\nto PMD operations&#8221;) a PMD may hold a device-private swap entry whenever an<br \/>\nHMM-based GPU driver migrates an anonymous THP folio to device memory via<br \/>\nmigrate_vma_pages().<\/p>\n<p>pmd_trans_huge_lock() succeeds for such PMDs (pmd_is_huge() returns true<br \/>\nfor any non-present, non-none huge PMD), so several MM walk callbacks that<br \/>\nused to assume present THP or migration entry are now reachable with a<br \/>\ndevice-private PMD.  The results range from a VM_BUG_ON() firing on debug<br \/>\nkernels, to an oops on a bogus vmemmap dereference, to silently isolating<br \/>\nan unrelated live folio from LRU in the aliasing case.<\/p>\n<p>This patch (of 3):<\/p>\n<p>queue_folios_pmd() is called under pmd_trans_huge_lock(), whose<br \/>\npmd_is_huge() check returns true for any non-present, non-none PMD<br \/>\nsoftleaf.  Passing such a PMD to pmd_folio() treats the softleaf encoding<br \/>\nas a hardware PFN and can return a bogus folio pointer.<\/p>\n<p>Mirror queue_folios_pte_range(): handle non-present entries before looking<br \/>\nup a folio.  Keep migration entries counted as failures, but skip other<br \/>\nnon-present PMDs such as device-private entries.<\/p>\n<p>Potential trigger: an HMM-based GPU driver migrates an anonymous THP folio<br \/>\nto device memory via migrate_vma_pages(), leaving a device-private PMD.<br \/>\nUserspace then calls mbind(), migrate_pages() or set_mempolicy_home_node()<br \/>\non that range.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mm\/mempolicy: skip non-present PMDs when queueing folios<\/p>\n<p>Patch series &#8220;mm: handle device-private PMDs in walk callbacks&#8221;, v3.<\/p>\n<p>Sin<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21680","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}