Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D101C433F5 for ; Mon, 23 May 2022 19:28:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229603AbiEWT2P (ORCPT ); Mon, 23 May 2022 15:28:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbiEWT1z (ORCPT ); Mon, 23 May 2022 15:27:55 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 760AF21828 for ; Mon, 23 May 2022 12:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653332857; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cyh9GNwkSeiWX8VVWJet6cmrStrv1Y1BhHYKMAKCy08=; b=HbgDc0yYnr/i/lflI5m0ctAGhenqEUDVxobO7FXAvaTxEZ0wOlyvxYSU4sHjD8cvUmsVd9 NMyKj/OuNX4hcHxfRpDwH91HNVG32Q5FrLwKpABdueBw2Xrgftvf1xGScnWhl4iIwJYqVV 14D+ofImKzNsa2jZGbFT1d9PuddmG9E= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-91-DTHuyVKtMrCt--Nfyuy6tA-1; Mon, 23 May 2022 15:07:34 -0400 X-MC-Unique: DTHuyVKtMrCt--Nfyuy6tA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 39AC11C3E985; Mon, 23 May 2022 19:07:33 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4033F492C14; Mon, 23 May 2022 19:07:32 +0000 (UTC) From: Paolo Bonzini To: Ashish Kalra Cc: pbonzini@redhat.com, seanjc@google.com, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, joro@8bytes.org, Thomas.Lendacky@amd.com, bp@alien8.de, x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, theflow@google.com, rientjes@google.com, pgonda@google.com, john.allen@amd.com, stable@vger.kernel.org, michael.roth@amd.com Subject: Re: [PATCH v2] KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel memory leak. Date: Mon, 23 May 2022 15:07:30 -0400 Message-Id: <20220523190730.148395-1-pbonzini@redhat.com> In-Reply-To: <20220516154310.3685678-1-Ashish.Kalra@amd.com> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Queued, thanks. Paolo