All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] KVM: arm64: nv: Fix a couple NULL dereferences in kvm_inject_nested()
@ 2026-11-18 13:05 Dan Carpenter
  2026-11-18 13:05 ` [PATCH v2 1/2] KVM: arm64: Load the vcpu in KVM_SET_VCPU_EVENTS Dan Carpenter
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Dan Carpenter @ 2026-11-18 13:05 UTC (permalink / raw)
  To: Congkai Tan
  Cc: Catalin Marinas, Fuad Tabba, Haris Okanovic, Joey Gouly, kvmarm,
	linux-arm-kernel, Marc Zyngier, Mark Rutland, Oliver Upton,
	Stanislav Spassov, Steffen Eiden, Suzuki K Poulose, Will Deacon,
	Zenghui Yu, Karthik Bhargavan, Clément Blaudeau

This is part of our formal verification work at Pereq.  It's a couple
of NULL dereference bugs that affect nested virt.

The first version added checks for if the vcpu was loaded but the
new version loads it unconditionally instead.  Also add a fix for
the related bug that Sashiko found.

Dan Carpenter (2):
  KVM: arm64: Load the vcpu in KVM_SET_VCPU_EVENTS
  KVM: arm64: nv: Fix NULL dereference in kvm_pmu_nested_transition()

 arch/arm64/kvm/arm.c      | 8 ++++++--
 arch/arm64/kvm/pmu-emul.c | 3 +++
 2 files changed, 9 insertions(+), 2 deletions(-)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-19 12:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18 13:05 [PATCH v2 0/2] KVM: arm64: nv: Fix a couple NULL dereferences in kvm_inject_nested() Dan Carpenter
2026-11-18 13:05 ` [PATCH v2 1/2] KVM: arm64: Load the vcpu in KVM_SET_VCPU_EVENTS Dan Carpenter
2026-11-18 13:45   ` sashiko-bot
2026-11-18 17:44     ` Marc Zyngier
2026-11-19  8:18       ` Dan Carpenter
2026-11-19  9:53         ` Marc Zyngier
2026-11-18 13:05 ` [PATCH v2 2/2] KVM: arm64: nv: Fix NULL dereference in kvm_pmu_nested_transition() Dan Carpenter
2026-11-19 12:43 ` [PATCH v2 0/2] KVM: arm64: nv: Fix a couple NULL dereferences in kvm_inject_nested() Marc Zyngier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.