diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-12-10 15:24:32 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-21 13:57:50 +0100 |
commit | fe6ed369fca98e99df55c932b85782a5687526b5 (patch) | |
tree | 6bc5c4ec20e952e8a05eb5fefb8db019df22ea9b /arch/mips/lib/bitops.c | |
parent | 311497e0c5565e7d9cf7b0987d17626b228b8fec (diff) |
KVM: VMX: Add non-canonical check on writes to RTIT address MSRs
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>
Diffstat (limited to 'arch/mips/lib/bitops.c')
0 files changed, 0 insertions, 0 deletions