summaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorMarios Pomonis <pomonis@google.com>2019-12-11 12:47:43 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-27 19:59:37 +0100
commit14e32321f3606e4b0970200b6e5e47ee6f1e6410 (patch)
tree8ae38b2eaafc2b4e06137f28b413ef8cc9de8052 /net/bluetooth
parent8618793750071d66028584a83ed0b4fa7eb4f607 (diff)
KVM: x86: Refactor picdev_write() to prevent Spectre-v1/L1TF attacks
This fixes a Spectre-v1/L1TF vulnerability in picdev_write(). It replaces index computations based on the (attacked-controlled) port number with constants through a minor refactoring. Fixes: 85f455f7ddbe ("KVM: Add support for in-kernel PIC emulation") 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 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions