aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYu Zhang <[email protected]>2017-09-18 10:45:01 +0000
committerRadim Krčmář <[email protected]>2017-09-19 12:28:58 +0000
commitd6500149bc4fddc5a91cd1a0c31b38fa36bff3ee (patch)
tree63bebe3b669b051526b608e50db1fbdc4c753d94 /tools/perf/scripts/python
parentRevert "KVM: Don't accept obviously wrong gsi values via KVM_IRQFD" (diff)
downloadkernel-d6500149bc4fddc5a91cd1a0c31b38fa36bff3ee.tar.gz
kernel-d6500149bc4fddc5a91cd1a0c31b38fa36bff3ee.zip
KVM: x86: Fix the NULL pointer parameter in check_cr_write()
Routine check_cr_write() will trigger emulator_get_cpuid()-> kvm_cpuid() to get maxphyaddr, and NULL is passed as values for ebx/ecx/edx. This is problematic because kvm_cpuid() will dereference these pointers. Fixes: d1cd3ce90044 ("KVM: MMU: check guest CR3 reserved bits based on its physical address width.") Reported-by: Jim Mattson <[email protected]> Signed-off-by: Yu Zhang <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Reviewed-by: Jim Mattson <[email protected]> Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions