linux/arch
Yosry Ahmed 264edbfc3b KVM: SVM: Clear current_vmcb during vCPU free for all *possible* CPUs
commit 1bee4838eb upstream.

When freeing a vCPU and thus its VMCB, clear current_vmcb for all possible
CPUs, not just online CPUs, as it's theoretically possible a CPU could go
offline and come back online in conjunction with KVM reusing the page for
a new VMCB.

Link: https://lore.kernel.org/all/20250320013759.3965869-1-yosry.ahmed@linux.dev
Fixes: fd65d3142f ("kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb")
Cc: stable@vger.kernel.org
Cc: Jim Mattson <jmattson@google.com>
Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
[sean: split to separate patch, write changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-06-27 11:11:22 +01:00
..
alpha alpha/elf: Fix misc/setarch test of util-linux by removing 32bit support 2025-03-22 12:54:15 -07:00
arc ARC: build: Try to guess GCC variant of cross compiler 2025-01-09 13:33:47 +01:00
arm ARM: omap: pmic-cpcap: do not mess around without CPCAP or OMAP4 2025-06-27 11:11:19 +01:00
arm64 arm64/mm: Close theoretical race where stale TLB entry remains valid 2025-06-27 11:11:18 +01:00
csky of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify 2024-12-05 14:01:32 +01:00
hexagon hexagon: Fix unbalanced spinlock in die() 2025-02-08 09:58:11 +01:00
loongarch Fix mis-uses of 'cc-option' for warning disablement 2025-05-29 11:03:25 +02:00
m68k m68k: mac: Fix macintosh_config for Mac II 2025-06-19 15:31:36 +02:00
microblaze of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify 2024-12-05 14:01:32 +01:00
mips MIPS: Loongson64: Add missing '#interrupt-cells' for loongson64c_ls7a 2025-06-19 15:32:12 +02:00
nios2 of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify 2024-12-05 14:01:32 +01:00
openrisc of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify 2024-12-05 14:01:32 +01:00
parisc parisc: fix building with gcc-15 2025-06-27 11:11:22 +01:00
powerpc powerpc/pseries/msi: Avoid reading PCI device registers in reduced power states 2025-06-27 11:11:14 +01:00
riscv riscv: misaligned: fix sleeping function called during misaligned access handling 2025-06-19 15:32:20 +02:00
s390 s390/pci: Serialize device addition and removal 2025-06-27 11:11:14 +01:00
sh sh: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK 2024-12-05 14:02:55 +01:00
sparc sparc/mm: avoid calling arch_enter/leave_lazy_mmu() in set_ptes 2025-04-20 10:15:48 +02:00
um um: let 'make clean' properly clean underlying SUBARCH as well 2025-06-04 14:43:52 +02:00
x86 KVM: SVM: Clear current_vmcb during vCPU free for all *possible* CPUs 2025-06-27 11:11:22 +01:00
xtensa of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify 2024-12-05 14:01:32 +01:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig cfi: tweak llvm version for HAVE_CFI_ICALL_NORMALIZE_INTEGERS 2024-10-31 00:41:37 +01:00