Re: [PATCH v2 0/2] KVM: x86: Ensure userspace can't run L2 with stale PFNs
From: Sean Christopherson
Date: Thu Sep 24 2026 - 17:55:58 EST
On Mon, 21 Sep 2026 14:16:06 -0700, Sean Christopherson wrote:
> Fix a class of bugs where KVM (a) lets userspace run L2 with potentially stale
> PFNs and (b) fails to set kvm_run appropriately and so could unintentionally
> cause a well-behaved VMM to run afoul of (a).
>
> v2:
> - Re-pend KVM_REQ_GET_NESTED_STATE_PAGES in the common vcpu_enter_guest()
> path.
> - Fix the kvm_run bug(s).
>
> [...]
Applied to kvm-x86 fixes, thanks!
[1/2] KVM: x86: Re-pend GET_NESTED_STATE_PAGES if getting said pages fails
https://github.com/kvm-x86/linux/commit/10180a277549
[2/2] KVM: x86: Fill kvm_run exit fields in common get_nested_state_pages() error paths
https://github.com/kvm-x86/linux/commit/c1214f293d77
--
https://github.com/kvm-x86/linux/tree/next