KVM: arm64: nv: Fix a couple NULL dereferences in kvm_inject_nested()
Status from this message: Applied to fixes, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 4 repliesApplied
- v11 patch 3 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: arm64: Load the vcpu in KVM_SET_VCPU_EVENTSarch/ | +6 | 3 replies | |
| 2/2 | KVM: arm64: nv: Fix NULL dereference in kvm_pmu_nested_transition()arch/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] KVM: arm64: nv: Fix a couple NULL dereferences in kvm_inject_nested()
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(-)
Signature · 1 line
2.53.0