summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorMarios Pomonis <pomonis@google.com>2019-12-11 12:47:46 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-14 16:30:00 -0500
commit7cbb0333aed407c32be635bcd5802caa538466a5 (patch)
treef81d8ad71243fe35bdb55ba96036302c3223e7be /fs/btrfs/extent_io.c
parentc3ccf2fdfc89871042659ae1463fd1d9665fdfef (diff)
KVM: x86: Protect kvm_lapic_reg_write() from Spectre-v1/L1TF attacks
[ Upstream commit 4bf79cb089f6b1c6c632492c0271054ce52ad766 ] 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: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions