{"id":24595,"date":"2026-09-16T20:32:31","date_gmt":"2026-09-16T12:32:31","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89908"},"modified":"2026-09-16T20:32:31","modified_gmt":"2026-09-16T12:32:31","slug":"cve-2026-89908","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89908","title":{"rendered":"CVE-2026-89908 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: KVM: Prese"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>LoongArch: KVM: Preserve memslot arch flags on KVM_MR_FLAGS_ONLY<\/p>\n<p>kvm_arch_prepare_memory_region() computes new-&gt;arch.flags, i.e. whether<br \/>\na memslot is KVM_MEM_HUGEPAGE_CAPABLE or KVM_MEM_HUGEPAGE_INCAPABLE,<br \/>\nonly for KVM_MR_CREATE and KVM_MR_MOVE, and returns early for every<br \/>\nother change. But the generic code allocates a zeroed memslot for every<br \/>\nchange and never copies old-&gt;arch, so after a KVM_MR_FLAGS_ONLY update,<br \/>\ne.g. toggling KVM_MEM_LOG_DIRTY_PAGES for live migration, the active<br \/>\nmemslot has arch.flags == 0.<\/p>\n<p>With both flags clear, fault_supports_huge_mapping() falls through to<br \/>\nthe alignment check on the HVA range alone, which no longer verifies<br \/>\nthat the GPA and HVA have the same offset within a PMD. A memslot that<br \/>\nwas marked KVM_MEM_HUGEPAGE_INCAPABLE because of a GPA\/HVA offset<br \/>\nmismatch can then be mapped with PMD entries on read faults, and since<br \/>\nkvm_map_page() aligns the gfn and the pfn independently, the guest ends<br \/>\nup accessing the wrong host pages, exactly the &#8220;d -&gt; f, e -&gt; g&#8221; case<br \/>\ndescribed in the comment above the check.<\/p>\n<p>Carry the arch flags over from the old memslot for KVM_MR_FLAGS_ONLY,<br \/>\nas the GPA, HVA and size are guaranteed to be unchanged for that case.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>LoongArch: KVM: Preserve memslot arch flags on KVM_MR_FLAGS_ONLY<\/p>\n<p>kvm_arch_prepare_memory_region() computes new-&gt;arch.flags, i.e. w<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-24595","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/24595","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=24595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}