Re: [PATCH v5 0/6] KVM: nVMX: Synthesize SHUTDOWN on RSM with bad state

Sean Christopherson <[email protected]>
Newsgroups org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Fri, 31 Jul 2026 10:33:34 -0700, Sean Christopherson wrote:
> Synthesize SHUTDOWN if invalid guest state is detected a RSM, i.e. if SMRAM
> is clobbered by L1 (or host userspace) while handling an SMI that occurred
> while L2 was active.  This fixes yet another case of syzkaller tripping KVM's
> sanity check that KVM doesn't cancel a pending nested VM-Enter.
> 
> v5:
>  - Fix goofs in patch 1. [Sashiko]
>  - Print out correct target L1 vs. L2. [Sashiko]
> 
> [...]

Applied to kvm-x86 misc, thanks!

[1/6] KVM: x86: Extract VMX's unhandleable emulation check to common x86
      https://github.com/kvm-x86/linux/commit/a40764607eab
[2/6] KVM: nVMX: Synthesize SHUTDOWN on RSM if L2 requires emulation
      https://github.com/kvm-x86/linux/commit/281a4e5f1086
[3/6] KVM: x86: Rework kvm_x86_ops.vcpu_pre_run() into .vcpu_needs_initialization()
      https://github.com/kvm-x86/linux/commit/9fd7a4433d74
[4/6] KVM: selftests: Use port 0x80 in invalid nVMX guest state test
      https://github.com/kvm-x86/linux/commit/6fc510e1f101
[5/6] KVM: selftests: Refactor invalid nVMX state test to prepare for RSM testcase
      https://github.com/kvm-x86/linux/commit/2cb49770e28f
[6/6] KVM: selftests: Extend the invalid nVMX guest state test to cover RSM
      https://github.com/kvm-x86/linux/commit/bc44a9ce73cd

--
https://github.com/kvm-x86/linux/tree/next
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.