[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210506175826.2166383-1-seanjc@google.com>
Date: Thu, 6 May 2021 10:58:24 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: Sean Christopherson <seanjc@...gle.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Dan Carpenter <dan.carpenter@...cle.com>,
Steve Rutherford <srutherford@...gle.com>,
Brijesh Singh <brijesh.singh@....com>,
Ashish Kalra <ashish.kalra@....com>
Subject: [PATCH 0/2] KVM: SVM: Fix error handling bugs in SEV migration
Fixes for bugs reported by Dan Carpenter, found by static analysis. All
credit goes to Dan, the bug report all but wrote the code for me.
Compile tested only, I don't have a SEV migration sussed out yet.
Sean Christopherson (2):
KVM: SVM: Return -EFAULT if copy_to_user() for SEV mig packet header
fails
KVM: SVM: Fix sev_pin_memory() error checks in SEV migration utilities
arch/x86/kvm/svm/sev.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
--
2.31.1.607.g51e8a6a459-goog
Powered by blists - more mailing lists