Re: [patch] KVM: SVM: prevent DBG_DECRYPT and DBG_ENCRYPT overflow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> > Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx>
> > ---
> >   arch/x86/kvm/svm.c | 12 +++++++++---
> >   1 file changed, 9 insertions(+), 3 deletions(-)
> > 
> 
> 
> Reviewed-by: Brijesh Singh <brijesh.singh@xxxxxxx>
> 
> thanks
> 

Paolo, Radim, I don't see this in kvm.git, is it ready to be staged?



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux