diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2022-08-10 23:24:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-21 16:16:25 +0300 |
commit | ac7de8c2ba1292856fdd4a4c0764669b9607cf0a (patch) | |
tree | 1bb3b630f10c1f4a47653c52ba84f052da97ff35 /net | |
parent | 4c85e207c1b58249ea521670df577324ad69442c (diff) | |
download | linux-ac7de8c2ba1292856fdd4a4c0764669b9607cf0a.tar.xz |
KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()
commit 00b5f37189d24ac3ed46cb7f11742094778c46ce upstream
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>
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions