[PATCH 0/2] KVM: Miscallenous SEV/SNP fixes

From: Atish Patra

Date: Thu May 28 2026 - 19:17:35 EST


This series addresses a few issues found during code audit of the
KVM SEV/SNP and CCP driver code. The fixes include a incorrect lock state
and incomplete state handling during intra-host migration for SNP VMs.

To: Sean Christopherson <seanjc@xxxxxxxxxx>
To: Paolo Bonzini <pbonzini@xxxxxxxxxx>
To: Borislav Petkov <bp@xxxxxxxxx>
To: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
To: x86@xxxxxxxxxx
To: H. Peter Anvin <hpa@xxxxxxxxx>
To: Tom Lendacky <thomas.lendacky@xxxxxxx>
To: Marc Orr <marcorr@xxxxxxxxxx>
To: Peter Gonda <pgonda@xxxxxxxxxx>
To: Brijesh Singh <brijesh.singh@xxxxxxx>
To: Youngjae Lee <youngjaelee@xxxxxxxx>
To: Ashish Kalra <ashish.kalra@xxxxxxx>
To: Michael Roth <michael.roth@xxxxxxx>
To: John Allen <john.allen@xxxxxxx>
To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Cc: clm@xxxxxxxx
Cc: kvm@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-crypto@xxxxxxxxxxxxxxx
Cc: stable@xxxxxxxxxxxxxxx

Signed-off-by: Atish Patra <atishp@xxxxxxxx>
---
Atish Patra (2):
KVM: SEV: Do not allow SEV-SNP VMs from intra-host migration
crypto: ccp: Fix possible deadlock in SEV init failure path

arch/x86/kvm/svm/sev.c | 3 ++-
drivers/crypto/ccp/sev-dev.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
---
base-commit: e7ae89a0c97ce2b68b0983cd01eda67cf373517d
change-id: 20260525-sev_snp_fixes-0b73789c1a91

Best regards,
--
Atish Patra <atishp@xxxxxxxx>