Messages in this thread | | | Date | Fri, 13 May 2022 19:56:01 +0000 | From | Sean Christopherson <> | Subject | Re: [PATCH] KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel memory leak. |
| |
On Fri, May 13, 2022, Ashish Kalra wrote: > Hello Sean & Peter, > > Looking through other copy_to_user() calls: > > > > - "blob" in sev_ioctl_do_pek_csr() > > - "id_blob" in sev_ioctl_do_get_id2() > > - "pdh_blob" and "cert_blob" in sev_ioctl_do_pdh_export() > > These functions are part of the ccp driver and a fix for them has already > been sent upstream to linux-crypto@vger.kernel.org and > linux-kernel@vger.kernel.org: > > [PATCH] crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel > memory leak
Ha, that's why I was getting a bit of deja vu. I saw that fly by and then got it confused with this patch.
| |