linux-stable/arch/x86
Vitaly Kuznetsov bcf0a450fb KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()
commit 00b5f37189 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>
2022-08-25 11:11:30 +02:00
..
boot x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments 2022-08-25 11:11:10 +02:00
configs x86/defconfig: Enable CONFIG_USB_XHCI_HCD=y 2020-09-23 10:46:37 +02:00
crypto crypto: aesni - add compatibility with IAS 2020-08-21 09:48:13 +02:00
entry x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments 2022-08-25 11:11:10 +02:00
events perf/x86/intel/pt: Fix address filter config for 32-bit kernel 2022-04-20 09:08:14 +02:00
hyperv x86/hyperv: mark hyperv_init as __init function 2019-12-01 09:14:37 +01:00
ia32 x86/ia32: Fix ia32_restore_sigcontext() AC leak 2019-05-31 06:47:31 -07:00
include kexec_file: drop weak attribute from arch_kexec_apply_relocations[_add] 2022-07-02 16:18:11 +02:00
kernel x86/pmem: Fix platform-device leak in error path 2022-08-25 11:11:15 +02:00
kvm KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast() 2022-08-25 11:11:30 +02:00
lib x86/delay: Fix the wrong asm constraint in delay_loop() 2022-06-14 16:53:47 +02:00
math-emu x86: math-emu: Fix up 'cmp' insn for clang ias 2020-07-29 07:42:56 +02:00
mm x86/numa: Use cpumask_available instead of hardcoded NULL check 2022-08-25 11:11:26 +02:00
net bpf, x86: Validate computation of branch displacements for x86-64 2021-04-10 13:20:11 +02:00
oprofile x86/oprofile: Fix bogus GCC-8 warning in nmi_setup() 2018-02-28 10:19:41 +01:00
pci x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests 2022-06-06 08:20:56 +02:00
platform x86/olpc: fix 'logical not is only applied to the left hand side' 2022-08-25 11:11:27 +02:00
power x86/cpu: Load microcode during restore_processor_state() 2022-05-12 12:17:08 +02:00
purgatory
ras
realmode x86/64/mm: Map all kernel memory into trampoline_pgd 2021-12-08 08:46:56 +01:00
tools x86/tools: Fix objdump version check again 2021-08-26 08:37:03 -04:00
um um: Fix out-of-bounds read in LDT setup 2022-06-14 16:53:54 +02:00
video
xen xen: fix is_xen_pmu() 2022-04-20 09:08:21 +02:00
.gitignore
Kbuild
Kconfig x86/sme: Explicitly map new EFI memmap table as encrypted 2021-12-22 09:17:59 +01:00
Kconfig.cpu
Kconfig.debug x86, perf: Fix the dependency of the x86 insn decoder selftest 2020-01-27 14:46:45 +01:00
Makefile x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS) 2021-05-22 10:57:16 +02:00
Makefile.um
Makefile_32.cpu