linux/arch/x86
Sean Christopherson fd4c14c7b7 KVM: nSVM: Clear exit_code_hi in VMCB when synthesizing nested VM-Exits
commit da01f64e74 upstream.

Explicitly clear exit_code_hi in the VMCB when synthesizing "normal"
nested VM-Exits, as the full exit code is a 64-bit value (spoiler alert),
and all exit codes for non-failing VMRUN use only bits 31:0.

Cc: Jim Mattson <jmattson@google.com>
Cc: Yosry Ahmed <yosry.ahmed@linux.dev>
Cc: stable@vger.kernel.org
Reviewed-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Link: https://patch.msgid.link/20251113225621.1688428-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-01-19 13:09:53 +01:00
..
boot arch: back to -std=gnu89 in < v5.18 2025-12-07 06:09:15 +09:00
configs x86/kbuild: Enable CONFIG_KALLSYMS_ALL=y in the defconfigs 2022-01-27 11:04:56 +01:00
crypto lib/crypto: x86/blake2s: Fix 32-bit arg treated as 64-bit 2026-01-19 13:09:49 +01:00
entry x86/vsyscall: Do not require X86_PF_INSTR to emulate vsyscall 2025-12-07 06:09:18 +09:00
events perf/x86/intel: Correct large PEBS flag check 2026-01-19 13:09:26 +01:00
hyperv x86/hyperv: Remove unregister syscore call from Hyper-V cleanup 2022-12-31 13:14:39 +01:00
ia32 binfmt: remove in-tree usage of MAP_DENYWRITE 2021-09-03 18:42:01 +02:00
include x86/ptrace: Always inline trivial accessors 2026-01-19 13:09:41 +01:00
kernel x86/dumpstack: Prevent KASAN false positive warnings in __show_regs() 2026-01-19 13:09:25 +01:00
kvm KVM: nSVM: Clear exit_code_hi in VMCB when synthesizing nested VM-Exits 2026-01-19 13:09:53 +01:00
lib x86/its: Add support for ITS-safe return thunk 2025-05-22 14:08:23 +02:00
math-emu x86: Prepare asm files for straight-line-speculation 2022-05-15 20:18:49 +02:00
mm minmax: add a few more MIN_T/MAX_T users 2025-10-19 16:21:52 +02:00
net bpf: Do not audit capability check in do_jit() 2025-12-07 06:09:13 +09:00
pci PCI: Detect and trust built-in Thunderbolt chips 2024-12-14 19:51:42 +01:00
platform x86/pvh: Call C code via the kernel virtual mapping 2025-05-02 07:44:18 +02:00
power x86/pm: Add enumeration check before spec MSRs save/restore setup 2022-12-02 17:41:09 +01:00
purgatory x86/purgatory: Switch to the position-independent small code model 2024-06-16 13:39:22 +02:00
ras treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
realmode x86/mm: Flush global TLB when switching to trampoline page-table 2022-01-27 11:04:35 +01:00
tools x86/boot: Ignore relocations in .notes sections in walk_relocs() too 2024-06-16 13:39:18 +02:00
um um: Add cmpxchg8b_emu and checksum functions to asm-prototypes.h 2025-07-10 15:57:33 +02:00
video treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
xen Grab mm lock before grabbing pt lock 2025-03-13 12:50:36 +01:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kbuild treewide: Add SPDX license identifier - Kbuild 2019-05-30 11:32:33 -07:00
Kconfig x86/vmscape: Enable the mitigation 2025-09-11 17:17:17 +02:00
Kconfig.assembler x86/delay: Introduce TPAUSE delay 2020-05-07 16:06:20 +02:00
Kconfig.cpu x86/Kconfig: Transmeta Crusoe is CPU family 5, not 6 2024-02-23 08:55:08 +01:00
Kconfig.debug x86/kconfig: Select ARCH_WANT_FRAME_POINTERS again when UNWINDER_FRAME_POINTER=y 2024-06-16 13:39:46 +02:00
Makefile arch: back to -std=gnu89 in < v5.18 2025-12-07 06:09:15 +09:00
Makefile.um um: allow not setting extra rpaths in the linux binary 2021-06-17 21:54:15 +02:00
Makefile_32.cpu x86/build: Do not add -falign flags unconditionally for clang 2021-09-19 10:35:53 +09:00