From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id A4C95A046B for ; Tue, 25 Jun 2019 14:47:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5C74F1BA8F; Tue, 25 Jun 2019 14:47:57 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00086.outbound.protection.outlook.com [40.107.0.86]) by dpdk.org (Postfix) with ESMTP id 7A0051BA83 for ; Tue, 25 Jun 2019 14:47:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6qfur6+G8rVkyLiJdoPE4Zw+/SxgP94R5iDRfZ2WAFE=; b=AcM0Fn+NKwH0UPAS1iomgtC+pyW41PE8s6tA9y6S3IiBWJ7jq9NTFSsbfgemicDrzwZMog6qHvmQz8tQDehIgXYwFYvkFBe14mChRGU4x4L2Fx+r+TPW1eYt7Crn0kGV8JTvjvw+F81ZBWQfnblJpPo9PMVX5xR8lT89QERmaLk= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (20.179.235.82) by VE1PR04MB6350.eurprd04.prod.outlook.com (10.255.118.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Tue, 25 Jun 2019 12:47:55 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::a929:3d03:7bb7:d5e0]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::a929:3d03:7bb7:d5e0%7]) with mapi id 15.20.2008.014; Tue, 25 Jun 2019 12:47:55 +0000 From: Akhil Goyal To: Fan Zhang , "dev@dpdk.org" CC: "pablo.de.lara.guarch@intel.com" Thread-Topic: [PATCH v3] aesni_mb: fix out-of-bounds access Thread-Index: AQHVKqQKyTp7Jr0WzEOBjjukp/SaPaasUrxA Date: Tue, 25 Jun 2019 12:47:55 +0000 Message-ID: References: <20190617143129.7106-1-roy.fan.zhang@intel.com> <20190624154052.13632-1-roy.fan.zhang@intel.com> In-Reply-To: <20190624154052.13632-1-roy.fan.zhang@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 16b8615f-d7d0-41a2-3b45-08d6f96b5820 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VE1PR04MB6350; x-ms-traffictypediagnostic: VE1PR04MB6350: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-forefront-prvs: 0079056367 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(376002)(136003)(366004)(346002)(199004)(189003)(81156014)(305945005)(86362001)(14444005)(9686003)(26005)(6116002)(186003)(44832011)(3846002)(229853002)(7736002)(102836004)(55016002)(7696005)(99286004)(68736007)(76176011)(53936002)(74316002)(2501003)(2906002)(66446008)(6436002)(5660300002)(66476007)(73956011)(14454004)(6506007)(33656002)(11346002)(71190400001)(81166006)(4326008)(446003)(71200400001)(4744005)(76116006)(66946007)(256004)(64756008)(66556008)(52536014)(25786009)(8676002)(66066001)(316002)(476003)(486006)(110136005)(8936002)(6246003)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6350; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: DzkL3ChqcoIj8V/+6l8AZHK+fcZqTNMs2NI2j3u310vgpDVv9JMnST/Ody6q/CdvUm2RrWQ5/RwDp01BtsWL+UwKd/gvJUwrP1Wg6NFgkTaYfVGGb1AYs21gjuSGKlEh2kM1ZLn90C6F6e7TZ9W8A+ueZab7cbcDqzwTIb8ivKIGciUmxD6Cr+fI2XyvMb9Cg1/kDEdhDe2U3ARziCxaMMCeVtKaL5N14fGO44iPbQIhRdkq3qNFtBH9u2OZnwwdqv44ZrkgxfR0ZLFTHVzuWpHIUCmUIOpscMsKyvBPomS996whBSbHVc2gf1tApX1qNRIFSOAe6U8ciBIibczupn3GxVsU90I0Ux4ghNbfT8SxDsWgG8G6y8D81BRCNkfMWpU73ThdFDl7z79OY239BQroeL/FZIM9GFQw3p7bYMw= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 16b8615f-d7d0-41a2-3b45-08d6f96b5820 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2019 12:47:55.3778 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: akhil.goyal@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6350 Subject: Re: [dpdk-dev] [PATCH v3] aesni_mb: fix out-of-bounds access X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >=20 > This patch fixes the out-of-bounds coverity issue by adding > missed algorithms to the array. >=20 > Coverity issue: 337683 >=20 > Fixes: c68d7aa354f6 ("crypto/aesni_mb: use architecture independent macro= s") >=20 > Signed-off-by: Fan Zhang > --- > v3: > - fixed a compile issue >=20 > v2: > - added missed size data. >=20 > drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 17 > ++++++++++++++++- > 1 file changed, 16 insertions(+), 1 deletion(-) >=20 @Pablo: I hope there are no more concerns on this patch. Applied to dpdk-next-crypto Thanks.