Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2943148iob; Mon, 16 May 2022 09:29:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3ULMTZ3gvyGQUhSvBmVaUS0KtbBeIQ0oFLIMxveDmcBZrE7iepIBS7CPPU+8VmKUq3rSS X-Received: by 2002:a63:dd09:0:b0:3f2:804a:cf11 with SMTP id t9-20020a63dd09000000b003f2804acf11mr2520164pgg.621.1652718565470; Mon, 16 May 2022 09:29:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652718565; cv=pass; d=google.com; s=arc-20160816; b=bt/ehqiUT3VC9HCG+2uM8HqRZSrRPYcsqCc/XE+v8dg9d5wvgVAnEojvp1GROn3+2v Hdb7So8p9mX2ghiWr6UkXt/8hPwRe2MJV/CdzMqI7wYelLBEaDLeVkJFHeewm1PvHCGL D2Ez9+AMWnF70Ez1T2CAB893dFNR+omMdXSO/mUaBfZl8eUCQafh1YS/EKui7WLvioJk kKBHQuoZy2RxBhy6nKn/AhhZGhVyapLgUt/auyhoHgEZQt9yybDMKXCFWH6co9fEf46H yJUQq+tmIeupLPeRfj5EukOeSVFz8lIZJ2/Sb0Id6eDw+Ho20zWlTsLRz5ZoqWlz1OqJ /WqQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_contentbits :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_actionid :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_siteid :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_name :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_method :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_setdate :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_enabled:msip_labels :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=JthlsO0Ru/TVC7DiTetTDbnFA9tMwgqx0ul4vBQS7nY=; b=z4DoOxPZObetOVClUlx/Bi4mRzzhruTKbHIMImhQsGk0IhW/FtDvDseBjegSIyfzwB 5yp2gTzaa0M9/b5+MeziDmCFa1tn9x5aQ8vzqFVFFp3WdGVooFnboV4i/93ZkYhp0JZQ 3NabNdQeY3VpmqvEfemND+sgJSdTepd4Iy+2ViNGerZ6AoBuel+MsiqKabxSX+9KMfpl NJFsexmhnFko9tTU3O713rLSaAvoaPZGPp6chqSf+Qr4gykuzOfrLpkw2tFNFxDpxIZb hPXK84RuU5Yk44TY+jo3MsuNkZisMwynksvhAVpJcj51xWBWA1FMyZIaYmnms7YvtFIe akwQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=bhkYWbbq; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gi1-20020a17090b110100b001dc7934acb3si16218103pjb.127.2022.05.16.09.29.03; Mon, 16 May 2022 09:29:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=bhkYWbbq; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245535AbiEPQCb (ORCPT + 99 others); Mon, 16 May 2022 12:02:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245487AbiEPQCa (ORCPT ); Mon, 16 May 2022 12:02:30 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2071.outbound.protection.outlook.com [40.107.243.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B21CAE56; Mon, 16 May 2022 09:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IoWvHhcGpARRt6GkFsyqxB5cEAWM7iop8d3SqiYTIcd8mAuPnqmzbJGkAH3Y3GRBK4CIGYlwbNPDXNlDP3nfY2GqcioAKr8dhV6Kxy/5lP06cvQf2Dw9e3aH/nubakW3f+hSXzop2TZ5te9LXQCGzhpbC+2qcuE8q1cwQgFSZEiUdKaldRzOenHu+dYTxDr10okJkuWnVmYYuCAYErlJdes9iDQGRQusLa5qUHXnu/9gLAdtqJ7A54+JPpX5/gbSKQIjh3+ferLamV49W2zfMaMmmFbBQxusnUYzWcl/b4R/jD7+2bbKbi8+HRW6mHPn4ElF1946Kh05kVJ26lVkgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JthlsO0Ru/TVC7DiTetTDbnFA9tMwgqx0ul4vBQS7nY=; b=kptqnkHplmosDiJxmhyjGVyOJC1k/vtw0VqRq3LIj+uGC9EyQrGTfji2dtvSdxAXtCvJjfAbnxP4FPklgysBDa3L9zr4aQt7JZmT9lNnN8RcRYfrBqjgSlCLsBddkE95pbcHzSsD2CqVHzv7rcz7c4hCCR5QPpXpkwONhV9ehbygONsytUkDlUEJU1ri8Tc2FSR6m5UPsRBycST6E5P89AB26FjBY80+34lXIebSp8K7QaoAQPwoKX4skf5Moim/Dnp6AWYX9UxKh2i/81GnIa0miUSfnDeqKWbutomro8jxInZfZcBcoa2XbpJW9+TuQzpguW66XTuKbv4kVRDZTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JthlsO0Ru/TVC7DiTetTDbnFA9tMwgqx0ul4vBQS7nY=; b=bhkYWbbqE1meBkCEl3JDkylWU6XeR9ZJWWEjT2+gFHt8aJUEPfi/bNnY5jOUnI29ydAFM3HercgOOsqwXL96jcZenMW/ssrtQoBjdrJkxgDPxHV0Tn3aVB744tE/qyXy++W/u0M9gffHsdX0XvJFgyhbhcmzXzI7oNAk1cf5Jy0= Received: from SN6PR12MB2767.namprd12.prod.outlook.com (2603:10b6:805:75::23) by MN2PR12MB3439.namprd12.prod.outlook.com (2603:10b6:208:cf::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.17; Mon, 16 May 2022 16:02:27 +0000 Received: from SN6PR12MB2767.namprd12.prod.outlook.com ([fe80::25d7:1ecc:64f2:f9c0]) by SN6PR12MB2767.namprd12.prod.outlook.com ([fe80::25d7:1ecc:64f2:f9c0%6]) with mapi id 15.20.5250.018; Mon, 16 May 2022 16:02:27 +0000 From: "Kalra, Ashish" To: Peter Gonda , "Allen, John" CC: Herbert Xu , Linux Crypto Mailing List , Sean Christopherson , "Lendacky, Thomas" , LKML , Andy Nguyen , David Rientjes , "stable@vger.kernel.org" Subject: RE: [PATCH v2] crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak Thread-Topic: [PATCH v2] crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak Thread-Index: AQHYaTwUxoMisTo8TEW3VgseD18R+K0hp6QAgAABb8A= Date: Mon, 16 May 2022 16:02:27 +0000 Message-ID: References: <20220516154512.259759-1-john.allen@amd.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2022-05-16T15:58:24Z; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=abb0ab40-4f8e-4b7c-a6c2-65fdac7a748a; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=1 msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_enabled: true msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_setdate: 2022-05-16T16:02:25Z msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_method: Standard msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_name: General msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_siteid: 3dd8961f-e488-4e60-8e11-a82d994e183d msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_actionid: a201740e-57c9-49de-a67d-44c86ec4a6fa msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_contentbits: 0 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 98a0b89e-aed3-4b53-c92f-08da3755794f x-ms-traffictypediagnostic: MN2PR12MB3439:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /XRLCrFnp1HmdZYYy2/LuImGfviqj/bewHmJIFnk87W8gO7RIMrMI3UEFfsZAjbOt1x8IMF+hshu3R5CX+yiiRX40Sw3SsEZewQpZapWkXidTUiv0pirBlxXLaiDLN5uEp6XL5ojcdkQlDvRWOtyQ7Z9X7W0G6qUVh0GQLMrnl4mSS5aspDFOuHaXuA8PYVJzHkSPYPLaBwVvgbYJh1yJ5Zzh+UEfRXO1p2xpDg9xT6ux9/Zdg8nWH8qHMYDkK0AceTBoblIMYhV3diwgVQGtehvyoGkU9HdIdvPw9FVTMkWZlCyzZFpiHudJvk8dVO4m693Z6O3wExTxA7U9Y9xEzvDGuUquY6G6aMNKnCVSZ+bmf4EJRnoEtBMVO10qyjfatWFSX4TxSf320nds8b2594m0xbN6GAN/eknc0xHi6P+hDeg2FD8/BwsZysQCa6UQMbquDB2xHDJRUX+QCxZ0E6b0o+SyQ/cqbYrgfjEAb3mGcS4HnulbJTXK/tbK/CV60pMIcBe8NmV4Zp2fYinvH9tafVak0akgN7cvmu0GPs+MiwlTBweBVgH0DSYg9zp3iEdeyrP3NzWu4kjg5aAlZaUeA23/s39zCF03DdxCscxUsdSL0WbfRZVM5WEKAxiTVWeqwbdLsxzZ9byv+hMGqESoHbR2EZtuhwekRsMks38wfmWEkmm+qOlIYfsUHgcfLEQArSXQdXlaXLHeijpFg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR12MB2767.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(508600001)(71200400001)(53546011)(6506007)(122000001)(54906003)(8936002)(9686003)(26005)(316002)(86362001)(7696005)(110136005)(83380400001)(38100700002)(38070700005)(66446008)(4326008)(8676002)(64756008)(66556008)(66946007)(76116006)(66476007)(52536014)(2906002)(55016003)(6636002)(33656002)(5660300002)(186003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?QTAwVWpFZWxQNkpuOUp5QngybUpHaFNXTmdVWXlpSkFMeFdRQ21nZG9JY0Zn?= =?utf-8?B?a2N0UDQ1aTQyZll5NXhVNVBWY2QwUzNjZXN3NlphQW9WRFA3dGREVUZTTTFV?= =?utf-8?B?WjlYc0FVU085ZFNxckl3OFZJVkIya09RTW5JbE9JOWZxdis2bmdwYXY5bzBQ?= =?utf-8?B?NVowYjcxeFlCd2M2czZsbTVvYUlURDdnVDBleVdGVkkyVUFUc3FKc24yZkYw?= =?utf-8?B?UXNvaE9VNGNnc3VFemkzUUFvZWI0SU1VOFZOT0JpcWlnL1E2c3ZmRzdsY0N5?= =?utf-8?B?SVZKNUREd1FaQ0JnSFJ3b1RvcWlFSGVvQ2JsLzZDUGhyOHR1dEdsZGlNaE9s?= =?utf-8?B?L2ROQnFUa21RNW1rOFhxejN2Q2tuc2dERzZtSU5lRmVoc0NWdG41TlkxdE9q?= =?utf-8?B?YW5PZ0xPaXRaeHVLdW5rSno0SEVQclZjSjE3NkZyVXFIS3ZsdW1sSFY3ZXFl?= =?utf-8?B?anc2OHpGVEZPM2FsY0V1SHB1TFc4akd5Y3RFa3c5VGJrMWFGZklobkY4clU0?= =?utf-8?B?a2M0aU5qUjJySHp6aC9uTlQxcitkRk9Reks1NmpDNW5ielFnbGRFdTFSZC92?= =?utf-8?B?VmVDempwWUgzOW5VenE0azNMcnozS2I3aGtuYXFxb3pWUmIrMCsxakdNRlZ2?= =?utf-8?B?Z0ZTcW5lVEV4YUdwQ3RhdldxSmdKVUhmeExER3gvNW9HVG1DN0xzQUIyNDd3?= =?utf-8?B?S29wWnNycGxTc2VrK09vL1N5Z0w3WlN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q1NydiswUkVVVUd6aTBxZkdtZVNubmhsa0ppMFhZSWFjS3BBUXJP?= =?utf-8?B?RnFvWE1HMEtxVmxqZStkYUE1SUhiaDRZRjF2alZSTm40d05sN2tyb3owVENT?= =?utf-8?B?TTQ4T0FVSytvUWludnQ2N25YZk1yZDM4Y2MvZjgxcmMyUWpYNW5rUnI4cVZE?= =?utf-8?B?NHE5cXR1aGN0Ylp5bHQ2R2oxaWN4Sjl4MGo3NHZzQTJGbElCQ2FnelpuenBR?= =?utf-8?B?VUs5WE0vRHJBWWFiZGJQYU9EVE1ZdUdxbko2cWdiNW9rQXNqQmpwSEUrNkdu?= =?utf-8?B?cE1GekE5Mnh1SWt5MFZwVDZTbGhaV01SS3ExaWhXemJDQjJ6VFFMQkRxZmpZ?= =?utf-8?B?OVErbjNLYkJyWnVsK283OHNKVVBFSExSRlhBUzlQSEJnb3IvYVV5K2JFUlF2?= =?utf-8?B?a3lqck5qN1J3bG9vRFVLUlhMVkdMeUI0eGNFWTFOdHlZWlAzVUZGNWllTFoz?= =?utf-8?B?Vkc4d1o2akcxWWNpNmR0Y25oQnZZMUVlMVU3QmFtSnB0TnpLSS93eHdnL3hZ?= =?utf-8?B?emRFUGVkaFkzd3dRZXJQc0pqdVZidDlCZ3k4MkR5MVdjbXUzNlhPWi9qWXl1?= =?utf-8?B?N2ZzSlJ1dElJLzMzR3htTDZUSXM2bG5SQW1VTi8xYitGU1ZpeDdyLzR3dUVv?= =?utf-8?Q?pRugN05kk4LHBJoeWs?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR12MB2767.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98a0b89e-aed3-4b53-c92f-08da3755794f X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2022 16:02:27.2897 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tcum0ooKv0W0KpgF8oJCagpGco+g1K8dh3+EhUTJqRkspFgiS9ZJyyJNTOGubQg6DY/pxE3r18q1TyJ/cKjAsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3439 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org W0FNRCBPZmZpY2lhbCBVc2UgT25seSAtIEdlbmVyYWxdDQoNCkhlbGxvIFBldGVyLA0KDQotLS0t LU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogUGV0ZXIgR29uZGEgPHBnb25kYUBnb29nbGUu Y29tPiANClNlbnQ6IE1vbmRheSwgTWF5IDE2LCAyMDIyIDEwOjUzIEFNDQpUbzogQWxsZW4sIEpv aG4gPEpvaG4uQWxsZW5AYW1kLmNvbT4NCkNjOiBIZXJiZXJ0IFh1IDxoZXJiZXJ0QGdvbmRvci5h cGFuYS5vcmcuYXU+OyBMaW51eCBDcnlwdG8gTWFpbGluZyBMaXN0IDxsaW51eC1jcnlwdG9Admdl ci5rZXJuZWwub3JnPjsgU2VhbiBDaHJpc3RvcGhlcnNvbiA8c2VhbmpjQGdvb2dsZS5jb20+OyBM ZW5kYWNreSwgVGhvbWFzIDxUaG9tYXMuTGVuZGFja3lAYW1kLmNvbT47IEthbHJhLCBBc2hpc2gg PEFzaGlzaC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