[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 4 Apr 2019 13:55:34 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: "Singh, Brijesh" <brijesh.singh@....com>
cc: Joerg Roedel <joro@...tes.org>,
Paolo Bonzini <pbonzini@...hat.com>,
Radim Krčmář <rkrcmar@...hat.com>,
Borislav Petkov <bp@...e.de>,
"x86@...nel.org" <x86@...nel.org>,
"kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [patch] KVM: SVM: prevent DBG_DECRYPT and DBG_ENCRYPT overflow
On Thu, 28 Mar 2019, Singh, Brijesh wrote:
> > This ensures that the address and length provided to DBG_DECRYPT and
> > DBG_ENCRYPT do not cause an overflow.
> >
> > At the same time, pass the actual number of pages pinned in memory to
> > sev_unpin_memory() as a cleanup.
> >
> > Reported-by: Cfir Cohen <cfir@...gle.com>
> > Signed-off-by: David Rientjes <rientjes@...gle.com>
> > ---
> > arch/x86/kvm/svm.c | 12 +++++++++---
> > 1 file changed, 9 insertions(+), 3 deletions(-)
> >
>
>
> Reviewed-by: Brijesh Singh <brijesh.singh@....com>
>
> thanks
>
Paolo, Radim, I don't see this in kvm.git, is it ready to be staged?
Powered by blists - more mailing lists