diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2022-03-25 14:21:39 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-29 13:22:01 -0400 |
commit | 00b5f37189d24ac3ed46cb7f11742094778c46ce (patch) | |
tree | 352913dc8484c5ce9b5598b8775619cddb8791df /arch/x86/kvm/debugfs.c | |
parent | 7ec37d1cbe17d8189d9562178d8b29167fe1c31a (diff) |
KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()
When kvm_irq_delivery_to_apic_fast() is called with APIC_DEST_SELF
shorthand, 'src' must not be NULL. Crash the VM with KVM_BUG_ON()
instead of crashing the host.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20220325132140.25650-3-vkuznets@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/debugfs.c')
0 files changed, 0 insertions, 0 deletions