Files
linux-stable-mirror/arch/arm64/include/asm
Fuad Tabba 9812d79dee KVM: arm64: Fix kvm_vcpu_initialized() macro parameter
commit d89fdda7dd upstream.

The macro is defined with parameter 'v' but the body references the
literal token 'vcpu' instead, causing it to silently operate on whatever
'vcpu' resolves to in the caller's scope rather than the value passed by
the caller. All current call sites happen to use a variable named 'vcpu',
so the bug is latent.

Fixes: e016333745 ("KVM: arm64: Only reset vCPU-scoped feature ID regs once")
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260424084908.370776-5-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-05-14 15:29:21 +02:00
..
2024-09-04 12:54:04 +01:00
2024-09-10 18:19:59 +01:00
2024-09-04 12:54:04 +01:00