kvm: sev: Fix issues reported by Sashiko
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | kvm: sev: Fix user-space triggerable WARN_ON on snp_launch_update patharch/ | +7 | 3 replies | |
| 2/4 | kvm: sev: Unmap pages in correct order in sev_gmem_post_populate()arch/ | +1 | 2 replies | |
| 3/4 | KVM: guest_memfd: Add `write` parameter to kvm_gmem_populate()arch/ arch/ include/ +1 more | +7 | 1 reply | |
| 4/4 | kvm: sev: Acquire a writeable page reference for CPUID pagesarch/ | +5 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] kvm: sev: Fix issues reported by Sashiko
From: Joerg Roedel <[email protected]>
Hi,
On the post of my direct-VMSA patch-set Sashiko reported a few real pre-existing issues in the SEV-SNP launch_update code. This patch-set addresses three of them:
* Fix user-triggerable WARN_ON on LAUNCH_UPDATE path.
* Check that CPUID pages are writable before writing error information to it.
* Fix kunmap_local() order.
Please review.
-Joerg
Joerg Roedel (4):
kvm: sev: Fix user-space triggerable WARN_ON on snp_launch_update path
kvm: sev: Unmap pages in correct order in sev_gmem_post_populate()
KVM: guest_memfd: Add write parameter to kvm_gmem_populate()
kvm: sev: Acquire a writeable page reference for CPUID pages
arch/x86/kvm/svm/sev.c | 15 +++++++++++++-- arch/x86/kvm/vmx/tdx.c | 2 +- include/linux/kvm_host.h | 4 +++- virt/kvm/guest_memfd.c | 4 ++-- 4 files changed, 19 insertions(+), 6 deletions(-)
Signature · 1 line
2.53.0