kvm: x86: fix kvm_apic_has_events to check for NULL pointer
commit ce40cd3f upstream. Malicious (or egregiously buggy) userspace can trigger it, but it should never happen in normal operation. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reference: CVE-2015-4692 Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Showing
Please register or sign in to comment