diff options
author | Wanpeng Li <wanpengli@tencent.com> | 2019-09-02 15:43:32 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-16 08:22:18 +0200 |
commit | beeeead95b2fd2b2c1662357d7f02de437fd421b (patch) | |
tree | 54d8c8546482c86f256f563c0848cc170f4f4f70 /arch/powerpc/kvm/book3s_pr.c | |
parent | 891011ca564ddc66976345a6d8b84775a92d244e (diff) | |
download | linux-stable-beeeead95b2fd2b2c1662357d7f02de437fd421b.tar.gz linux-stable-beeeead95b2fd2b2c1662357d7f02de437fd421b.tar.bz2 linux-stable-beeeead95b2fd2b2c1662357d7f02de437fd421b.zip |
KVM: VMX: check CPUID before allowing read/write of IA32_XSS
[ Upstream commit 4d763b168e9c5c366b05812c7bba7662e5ea3669 ]
Raise #GP when guest read/write IA32_XSS, but the CPUID bits
say that it shouldn't exist.
Fixes: 203000993de5 (kvm: vmx: add MSR logic for XSAVES)
Reported-by: Xiaoyao Li <xiaoyao.li@linux.intel.com>
Reported-by: Tao Xu <tao3.xu@intel.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/powerpc/kvm/book3s_pr.c')
0 files changed, 0 insertions, 0 deletions