From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 41C32A00C5; Fri, 24 Dec 2021 13:55:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BE7A94068C; Fri, 24 Dec 2021 13:55:37 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 344034067B; Fri, 24 Dec 2021 13:55:36 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1BO3Sr1l010400; Fri, 24 Dec 2021 04:55:35 -0800 Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam07lp2042.outbound.protection.outlook.com [104.47.51.42]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3d4t6kkshq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Dec 2021 04:55:35 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FrXDM+58mlPGWwAuTNIE9/7BkMXWNRu7Pzi07yfa92zoYP6OZYz777EU7f3zCdcgfm3aOE+kGq5zy+qcandjYg8J68fCXyzwU5urovQNcx6dlx/3aZe4TYcUAaVD2LDq137ju9FSDCWy+avULCH4Dk6qHIUNvsH3XaBGpc9BFzJl+4znsjyvhOA0LzGq4WLyYThLSvuB4rWHf5KIo5JYo9ByWl97/Q5tJ18B2TnSj/r01KYRk/QeecnEV4OuK6Jex39hXO4s8oiclw3yz3+t8Ff1XQ3/vJCRh+MxU4Ykp32Wq/eMjulSgkVu9hwcjZhSS91Dwn8rbinmOZmc+cziOw== 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=zBQTxKGmEoT/z5b7LspMyZ0OPzu2/z7WbCH/a9B9Dbk=; b=UXeGgkhli6QYFu01f53pUJmQNpb2gvO9L7U1wuV7PRGqEPGvh/S8X869nCwFMJyyhjEYNcrUNb6sL/Xl+KjC5YpT/h3OoefOb5qDYK1McmMlYsqTHqPQwnQ3E/lmj+uG/lR8fPvsWu9e+hiiWuEPIkP708PrqLwY6HfI0COhKxSaK8NHwfjdHgGFzlG0DVEio+UcWWrFoIOnkVU1VKeImxSspFuzOC4KBUHqsvl1kq+0r4cRQx4OF6hWYwyNwbXQBmKotOGrWq0e52PQWmx4pC7SNrk1TKRffNYQka+p2EOf5TiikwTHIU66s6nHsLFs5a2mjzVzBQvaC1rnQ+N35g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zBQTxKGmEoT/z5b7LspMyZ0OPzu2/z7WbCH/a9B9Dbk=; b=gS+l+wf8aS13P60escSAbrQjPLHc7Pb6Ugh4Hn7rs1JfDmJXRsvId6Il8yuA7nna/BxQnFavV7fjYM/ZkPtmDXMEkxcovxuLz1pPA8B28VrzfYIMljJe/zvJzcPwBQkKgLK9cvNs+JLQWuKHUW4UzNc8748VVRXSvkWlfbaAoJI= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4732.namprd18.prod.outlook.com (2603:10b6:303:eb::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.18; Fri, 24 Dec 2021 12:55:30 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c074:d988:9c2f:896d]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c074:d988:9c2f:896d%6]) with mapi id 15.20.4823.021; Fri, 24 Dec 2021 12:55:30 +0000 From: Akhil Goyal To: Ciara Power , "dev@dpdk.org" CC: "stable@dpdk.org" , "john.mcnamara@intel.com" , "roy.fan.zhang@intel.com" , "piotrx.bronowski@intel.com" , Pablo de Lara Subject: RE: [EXT] [PATCH 3/3] crypto/ipsec_mb: fix tainted data for session Thread-Topic: [EXT] [PATCH 3/3] crypto/ipsec_mb: fix tainted data for session Thread-Index: AQHX7c+yEQGdbT7UHk+3K4iDIbMrVaxBr1pQ Date: Fri, 24 Dec 2021 12:55:30 +0000 Message-ID: References: <20211210140952.2907974-1-ciara.power@intel.com> <20211210140952.2907974-3-ciara.power@intel.com> In-Reply-To: <20211210140952.2907974-3-ciara.power@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4ba1fa68-6839-4345-c4f7-08d9c6dcaab2 x-ms-traffictypediagnostic: CO1PR18MB4732:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dLgMXJkRM2tyJmSFNuaV8QnaoZehcONqp+ydhPWC7byd4TfghEIUagiPNm0PyHaEzdIL/N7BZCzJDe9ARNoMl77jyHWtRTr/pvhWu6VNr+mXGPDutxwnTYIZ4qYDTmTNjrS0Hy74+bLtAqKT4g+SmhjmZbBdcseYWYt/AgxsHpyLaUe/8smB3YHvohZRsDrSKoelBf9AaAX3USEWvb6opyuAhGYNCP5il+5UeuTwZocLKhRT/7skYti00PD/mrtMGdKKXtlySuGXc0kU37KCZ3gnFaf14miA51JHeQqgQCLEp8TbFK9Un6wDwa1Roy2G3J3OPhTJsG/qf1QOmH1hEhnVM15lx+ypvPPNpHQJTC01Nkt4MbYev2VcOHqWyXfIDYkHmHxfbUEbsrEhTcl0HQN/VZQvlzr+lqKMJTu+9xFKXoWqHoTQNVr1SI/hH5jYN4C+6lx4gQVDW58G3HxZsrq6FELaRe+owvKaKiLGlcytBrSvXqHp0zkTuEpKqujbR6K/kWi594iuV3UEnhA9nhrmb4tdGH619+QVMXAB2ecTzjInnqC/NPuPKGtO6G/91TvLHlb/L3xaj/WzxbGbGv3k+MSQ4JYwtV5lK7K9pwAsHwSupTeMiitq8JliKCjGmVTPuvDePRBYYpsXwrznDFRnshaa08iyIO57CMHIoFqZMFaQMWZgMXLMTurprDIGE7f8JcrLt8t1Uv9cyDyKkg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(86362001)(76116006)(8676002)(110136005)(52536014)(55016003)(4744005)(316002)(54906003)(8936002)(2906002)(7696005)(64756008)(38070700005)(66946007)(66476007)(5660300002)(55236004)(6506007)(508600001)(186003)(66556008)(9686003)(122000001)(4326008)(33656002)(71200400001)(26005)(38100700002)(66446008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?yrx2/X2l4Q8skX39cMW4bpCSF24Q8z+5Ybff4B4mE1mxuFLkjLB1d40OL5qx?= =?us-ascii?Q?HMfNjZ3EhjcKW2ZEGASzIBp55XMAUKlOppFIMKAqNw/wUUp/yo7RNpH8qZYq?= =?us-ascii?Q?xoXN0d8KAKPOuj9g9NB7q6qI3edtEPlUu8gbEuDhLViDXdpmgD9pQLOhwav2?= =?us-ascii?Q?DF+RbnDlIN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HaQTQPiwO1d3zNDH?= =?us-ascii?Q?/+JZY4dc5lAU/RmzjaOoc/EuOvRN3VQfUQHwE+QAw7KIso/4HN7e+SKw6Nae?= =?us-ascii?Q?wB7PUsTbOBPCPNq75lAk+BC6k0lU+AP7vVUsm2zL0M5xD1pSrEAjqha5h1B+?= =?us-ascii?Q?8l7g9FTR7lZncU+KjrMu4wu4GhaQDoz6Y4o8hif4kD6Z8Doj0F1xGUD+Zn7+?= =?us-ascii?Q?1SLXSWnXrBmDATTVPDSCVH/gArc9OaCC1nxdpQYohF4FEhEViRZ2L8GHtehv?= =?us-ascii?Q?zKNvFrko+ZLTI3hD2Og8SjGDOK8t6T80gTrdubSPRtVAnp3kUymg9meD1u+e?= =?us-ascii?Q?UW/qLDf6NDHrMtupM08Bi0Wb7AbajkcMCdBW0c/Eom15C/J0ikQWhFj9w3Za?= =?us-ascii?Q?RqzpdA9EBEK8qogR4V9TsdF7IADdr0ICieX4DwPpRlMnDFXfHT5DmQaKQ0Mj?= =?us-ascii?Q?aN9wTHXyW2DiSikdcqcHMOlbfZsaepmAZF9DBivgnhm5Y80ztP+51kcfpHaF?= =?us-ascii?Q?+k4sUnXsYSttVB3L6Cg4PhFdgNeu4qeHR0aClsNJtuY8+KfW/E14NmfvMIqV?= =?us-ascii?Q?ay302E288LmVQnLtvRP3tIs=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ba1fa68-6839-4345-c4f7-08d9c6dcaab2 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Dec 2021 12:55:30.7458 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: EC3D5BWx2D5f7AQjBw6qWvj7WW6JCGfDWEt4kLrib0q3WLAZeYwYJM/PXg54LEGp53/wjciu+sjMdkMLvHZvjw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4732 X-Proofpoint-GUID: kcJWgHIvFgE-aHNKfQS8Q9GVnzNAh1qA X-Proofpoint-ORIG-GUID: kcJWgHIvFgE-aHNKfQS8Q9GVnzNAh1qA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2021-12-24_04,2021-12-24_01,2021-12-02_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > Downcasting a void * to struct aesni_gcm_session * caused the session > data to be treated as tainted. > Removing the void * temporary variable and adding a cast avoids this > issue. >=20 > Coverity issue: 374377 > Fixes: 746825e5c0ea ("crypto/ipsec_mb: move aesni_gcm PMD") > Cc: piotrx.bronowski@intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Ciara Power Series Applied to dpdk-next-crypto Thanks.