Re: [PATCH] KVM: x86/mmu: Bug the VM if KVM attempts to unsync an upper-level shadow page

From: Sean Christopherson

Date: Mon Sep 21 2026 - 10:16:00 EST


On Thu, 06 Aug 2026 12:19:45 -0700, Sean Christopherson wrote:
> Bug the VM and skip marking a shadow page unsync if KVM attempts to unsync
> an upper-level shadow page, as marking an upper-level SP unsync is all but
> guaranteed to be far worse than terminating the VM. E.g. sync_spte()
> (rightly) assumes SPTEs in the SP are leaf SPTEs and so calls drop_spte()
> instead of drop_parent_pte(), which can effectively crash the host via
> when running with CONFIG_BUG_ON_DATA_CORRUPTION=y due to there not being an
> rmap entry for the SPTE.
>
> [...]

Applied to kvm-x86 mmu, thanks!

[1/1] KVM: x86/mmu: Bug the VM if KVM attempts to unsync an upper-level shadow page
https://github.com/kvm-x86/linux/commit/27f02d851410

--
https://github.com/kvm-x86/linux/tree/next