diff options
author | Marios Pomonis <pomonis@google.com> | 2019-12-11 23:47:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-15 00:31:03 +0300 |
commit | 19fe4b17e767f6da3fd2a20b93e4ce97426b2c36 (patch) | |
tree | 6ffee636c92c530d8b8cf048ff0f32d2fe99459f /security | |
parent | 05ce39865ce9b2f35e516a6ff3e7db7f4fc6db63 (diff) | |
download | linux-19fe4b17e767f6da3fd2a20b93e4ce97426b2c36.tar.xz |
KVM: x86: Protect kvm_lapic_reg_write() from Spectre-v1/L1TF attacks
commit 4bf79cb089f6b1c6c632492c0271054ce52ad766 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions