KVM: VMX: Add non-canonical check on writes to RTIT address MSRs
[ Upstream commit fe6ed369 ] Reject writes to RTIT address MSRs if the data being written is a non-canonical address as the MSRs are subject to canonical checks, e.g. KVM will trigger an unchecked #GP when loading the values to hardware during pt_guest_enter(). Cc: stable@vger.kernel.org Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Showing
arch/x86/kvm/vmx/vmx.c
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment