aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMarios Pomonis <[email protected]>2019-12-11 12:47:52 -0800
committerPaolo Bonzini <[email protected]>2020-01-27 19:59:43 +0100
commitea740059ecb37807ba47b84b33d1447435a8d868 (patch)
tree34babb46daa16bbf8d8735b8aa9d9823c01af6ec /tools/perf/util/trace-event-scripting.c
parentc926f2f7230b1a29e31914b51db680f8cbf3103f (diff)
KVM: x86: Protect DR-based index computations from Spectre-v1/L1TF attacks
This fixes a Spectre-v1/L1TF vulnerability in __kvm_set_dr() and kvm_get_dr(). Both kvm_get_dr() and kvm_set_dr() (a wrapper of __kvm_set_dr()) are exported symbols so KVM should tream them conservatively from a security perspective. Fixes: 020df0794f57 ("KVM: move DR register access handling into generic code") Signed-off-by: Nick Finco <[email protected]> Signed-off-by: Marios Pomonis <[email protected]> Reviewed-by: Andrew Honig <[email protected]> Cc: [email protected] Reviewed-by: Jim Mattson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions