{"id":17475,"date":"2026-09-05T02:31:09","date_gmt":"2026-09-04T18:31:09","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80895"},"modified":"2026-09-05T02:31:09","modified_gmt":"2026-09-04T18:31:09","slug":"cve-2026-80895","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80895","title":{"rendered":"CVE-2026-80895 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nmshv: Order pt_vp_arr"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mshv: Order pt_vp_array publish against irqfd assertion path<\/p>\n<p>mshv_partition_ioctl_create_vp() initialises a VP struct (allocations,<br \/>\nmutex_init, init_waitqueue_head, page mappings) and then publishes the<br \/>\npointer into partition-&gt;pt_vp_array.  Several ISR paths read this array<br \/>\nlocklessly: the intercept ISR, the two scheduler ISRs, and<br \/>\nmshv_try_assert_irq_fast() on the irqfd fast path.<\/p>\n<p>Of these, only mshv_try_assert_irq_fast() can structurally race the<br \/>\npublish.  It runs from an eventfd waker without holding pt_mutex, and<br \/>\nMSHV_IRQFD does not require the target lapic_apic_id (== vp_index) to<br \/>\nrefer to an existing VP at registration time.  A user can therefore<br \/>\nregister an irqfd targeting a yet-to-be-created VP, then trigger<br \/>\nmshv_try_assert_irq_fast() concurrently with MSHV_CREATE_VP for the<br \/>\nsame index.  On weakly-ordered architectures the reader can observe a<br \/>\nnon-NULL pointer in pt_vp_array before the initialising stores to the<br \/>\nVP struct become visible, leading to use of partially-initialised<br \/>\nfields (e.g. vp_register_page).<\/p>\n<p>The other ISR readers cannot reach this race: the hypervisor will not<br \/>\ngenerate intercept or scheduler messages for a VP that has never been<br \/>\ntold to run, and the user can only call MSHV_RUN_VP on the VP fd<br \/>\nreturned by MSHV_CREATE_VP, which by construction is returned after<br \/>\nthe publish.  Leave those readers as plain loads.<\/p>\n<p>Use smp_store_release() in mshv_partition_ioctl_create_vp() to publish<br \/>\nthe pointer, and pair it with smp_load_acquire() in<br \/>\nmshv_try_assert_irq_fast().  On x86 these compile to plain accesses<br \/>\nunder TSO; on ARM64 they emit one-instruction acquire\/release barriers,<br \/>\nacceptable on this fast path.<\/p>\n<p>The destroy-side path (destroy_partition() clearing pt_vp_array[i] to<br \/>\nNULL after kfree(vp)) has a separate ordering and lifetime concern<br \/>\nthat is out of scope here.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mshv: Order pt_vp_array publish against irqfd assertion path<\/p>\n<p>mshv_partition_ioctl_create_vp() initialises a VP struct (allocations<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-17475","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/17475","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=17475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}