diff options
author | 2019-12-11 12:47:42 -0800 | |
---|---|---|
committer | 2020-01-27 19:59:36 +0100 | |
commit | 8618793750071d66028584a83ed0b4fa7eb4f607 (patch) | |
tree | 26c516c0164da4d28f7a6ffac5e5187db4551827 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: Protect x86_decode_insn from Spectre-v1/L1TF attacks (diff) | |
download | linux-dev-8618793750071d66028584a83ed0b4fa7eb4f607.tar.xz linux-dev-8618793750071d66028584a83ed0b4fa7eb4f607.zip |
KVM: x86: Protect kvm_hv_msr_[get|set]_crash_data() from Spectre-v1/L1TF attacks
This fixes Spectre-v1/L1TF vulnerabilities in kvm_hv_msr_get_crash_data()
and kvm_hv_msr_set_crash_data().
These functions contain index computations that use the
(attacker-controlled) MSR number.
Fixes: e7d9513b60e8 ("kvm/x86: added hyper-v crash msrs into kvm hyperv context")
Signed-off-by: Nick Finco <nifi@google.com>
Signed-off-by: Marios Pomonis <pomonis@google.com>
Reviewed-by: Andrew Honig <ahonig@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions