KVM: SVM: Fix AVIC Physical ID table UAF
Status from this message: Applied to kvm-x86 fixes, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: SVM: Add paranoid helper for checking if vCPU is AVIC-addressablearch/ | +6 | 1 reply | |
| 2/3 | KVM: SVM: Use "is AVIC-addressable" helper to sanity check load()/put()arch/ | +2 | 1 reply | |
| 3/3 | KVM: SVM: Clear AVIC Physical ID table entry if vCPU creation failsarch/ arch/ arch/ | +14 | 2 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Atish Patra | Naveen N Rao (AMD) |
|---|---|---|
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] KVM: SVM: Fix AVIC Physical ID table UAF
Naveen's fix to clear AVIC Physical ID table entries if vCPU creation fails, to ensure the CPU doesn't access the freed virtual APIC state.
v2: Add prep patches to consolidate the table bounds checks.
v1: https://lore.kernel.org/all/[email protected]
Naveen N Rao (1):
KVM: SVM: Clear AVIC Physical ID table entry if vCPU creation fails
Sean Christopherson (2):
KVM: SVM: Add paranoid helper for checking if vCPU is AVIC-addressable
KVM: SVM: Use "is AVIC-addressable" helper to sanity check
load()/put()
arch/x86/kvm/svm/avic.c | 22 ++++++++++++++++------ arch/x86/kvm/svm/svm.c | 6 +++++- arch/x86/kvm/svm/svm.h | 1 + 3 files changed, 22 insertions(+), 7 deletions(-)
base-commit: d4b7fb647204f0c81dfeae2d1a708e4d858e0c94
Signature · 1 line
2.55.0.1082.g2b9226bbc0-goog