diff options
author | Marios Pomonis <pomonis@google.com> | 2019-12-11 12:47:46 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-27 19:59:39 +0100 |
commit | 4bf79cb089f6b1c6c632492c0271054ce52ad766 (patch) | |
tree | f0caada64f35a5d32a7bff4cde1d4d7efc87d3ae /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 670564559ca35b439c8d8861fc399451ddf95137 (diff) |
KVM: x86: Protect kvm_lapic_reg_write() from Spectre-v1/L1TF attacks
This fixes a Spectre-v1/L1TF vulnerability in kvm_lapic_reg_write().
This function contains index computations based on the
(attacker-controlled) MSR number.
Fixes: 0105d1a52640 ("KVM: x2apic interface to lapic")
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
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions