On Mon, 24 Feb 2025 09:45:22 -0800, Sean Christopherson wrote: > Inject a #GP if the memory operand received by INVCPID is non-canonical. > The APM clearly states that the intercept takes priority over all #GP > checks except the CPL0 restriction. > > Of course, that begs the question of how the CPU generates a linear > address in the first place. Tracing confirms that EXITINFO1 does hold a > linear address, at least for 64-bit mode guests (hooray GS prefix). > Unfortunately, the APM says absolutely nothing about the EXITINFO fields > for INVPCID intercepts, so it's not at all clear what's supposed to > happen. > > [...] Applied to kvm-x86 svm, thanks! [1/1] KVM: SVM: Inject #GP if memory operand for INVPCID is non-canonical https://github.com/kvm-x86/linux/commit/d4b69c3d1471 -- https://github.com/kvm-x86/linux/tree/next