aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorJim Mattson <[email protected]>2020-05-11 22:56:16 +0000
committerPaolo Bonzini <[email protected]>2020-05-15 17:48:56 +0000
commitc4e0e4ab4cf3ec2b3f0b628ead108d677644ebd9 (patch)
tree01d05bcdd585fd47de9fe8b29e8e8d8d1276c9fd /tools/perf/scripts/python/intel-pt-events.py
parentMerge branch 'kvm-amd-fixes' into HEAD (diff)
downloadkernel-c4e0e4ab4cf3ec2b3f0b628ead108d677644ebd9.tar.gz
kernel-c4e0e4ab4cf3ec2b3f0b628ead108d677644ebd9.zip
KVM: x86: Fix off-by-one error in kvm_vcpu_ioctl_x86_setup_mce
Bank_num is a one-based count of banks, not a zero-based index. It overflows the allocated space only when strictly greater than KVM_MAX_MCE_BANKS. Fixes: a9e38c3e01ad ("KVM: x86: Catch potential overrun in MCE setup") Signed-off-by: Jue Wang <[email protected]> Signed-off-by: Jim Mattson <[email protected]> Reviewed-by: Peter Shier <[email protected]> Message-Id: <[email protected]> Reviewed-by: Vitaly Kuznetsov <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions