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 17A07A034F; Tue, 8 Feb 2022 22:25:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A39F541144; Tue, 8 Feb 2022 22:25:48 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 7B7A641101; Tue, 8 Feb 2022 22:25:46 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 218GUYY3000850; Tue, 8 Feb 2022 13:25:45 -0800 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2175.outbound.protection.outlook.com [104.47.56.175]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3e3mhskfrd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Feb 2022 13:25:45 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G2gwlNyoNpceTlsRWaDoKrN5dr03XlWCCPxH6CLINpumYB+Dq1xIvEBKDvA0Aq1rjOnAjWYUbifnQ2VsgUH7bzXGFM+Lh3E2VSuSqtCPMyllGTaIcyoZkR6iJbnk7oo5MfJpo3RkkL1kQHef7ZBboUkroALqiRZVPuS8WqNPu0xQW4tQCBmSbgotaaU5K0vGyGstaWOAur6VJWa7D3cbNUYC0kfeSiO9msHAPe2W6dQJex4WEb5DRjWcqkRIjJOAT5uvRnjuIOQy0CeKlIvmth6JvV7JxnyMGjakfMoeJf0eNZAQvtxOa8tiQhPipJ+rks7zDRu1GLzWhS+9idmZgA== 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=x76IDb6ztFO3NiabShbMB0T1aeobXm4pTe4vkW0Xs30=; b=A859fQV6yBfnD+pZMGiGrMd2vDt/vYig5EUSrNQgUeVXzKLNiAuKfJAv1k2fP8NxfX8pcFk/gq4nZjfzwRx2jLb4Tga1UA3MWxdS8uZc/J6StM9AYJGKJRdJbRxkoKVLCF6MKIKyx5Bp2LH+Jennv9mi0RouqrnMqkmj3Uv3RME+k6+jj8ZaXFMWxCGV9bXJdtb8EdFWqihupFCVxWBB9jNwFrsOOMtPND53J+QyLutcYYESCjLC3GFrup8+uvrgCc+CTuMyuPkDHqv8rf+LFaCuul+O/mhXzuuE1IguyT2K9sSiAfmX49yMLd+l+fgoGSuWUSrVn5OBM59xlbJldA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=x76IDb6ztFO3NiabShbMB0T1aeobXm4pTe4vkW0Xs30=; b=QgHb52hPqQM8rPhtIBYwtuy1nM3Cz6xO+yaj0+MQaUR+K31ivcq1hRmJ4Wmki19ewSj64+Vkh1A1Y+moebjOpJLyPlbR+FSQgKepiH+TGx7ydqSqiSzsNbEw+FgJSQKsYCyQentciJr6gpCpDIXnwkYS3PellY8a3TocQ7UR9rM= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by BN6PR1801MB1937.namprd18.prod.outlook.com (2603:10b6:405:6a::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.19; Tue, 8 Feb 2022 21:25:41 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9985:c3ca:2f91:7fc]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9985:c3ca:2f91:7fc%5]) with mapi id 15.20.4951.019; Tue, 8 Feb 2022 21:25:40 +0000 From: Akhil Goyal To: "Power, Ciara" , "De Lara Guarch, Pablo" , "Zhang, Roy Fan" CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH] crypto/ipsec_mb: fix buffer overrun Thread-Topic: [PATCH] crypto/ipsec_mb: fix buffer overrun Thread-Index: AQHYETykVgv78tFm80SCIkdrApj/5KyKQj9A Date: Tue, 8 Feb 2022 21:25:40 +0000 Message-ID: References: <20220120170455.41407-1-pablo.de.lara.guarch@intel.com> In-Reply-To: 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: 993784f4-3e27-474e-c0e0-08d9eb498ebe x-ms-traffictypediagnostic: BN6PR1801MB1937:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3383; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wY+b1FHyf95JvpjoNKiZ30zDzcmHM702R0d+1DdnwxbedSlS/Fb46m952xLX61LV64vViuPiOfE1xgWsV8aqbSNvidtiaD3MK1Ep6nHLmRFKhgow7ij4QFjthyrJSkdNtN5kap8l+uzW97yuNR9kIOiVz0ku/zCwTBzTpI0NrsmN8s17LBorkOLtBTX/uxKvDERqvIF/vCTKlrudylqTCiey8DaGhKGI/PBNsCQxGnaCA5Wj1lT4vuy55FdBp6VQ04CF9/wP0bY9imrB/1YYF1em7cVJy+5eU3Yfw3p2www1diehyeWsqEKRYb1TjFJSJ8XbPii+eor8Rj1MiH7RR7j4TSYp2cKzbtfC+yX3e2zSCl32nGoD6itCIp79BUFo5h5AmFku2MzcDqPlYI9x4vYtthVB1qbQ84PWUk4TMel1RAq2wBS4QIdG5peMYb7E/xuXzXeEAWcC4WfmZxWe5jeravLm4kD6fOrYUmK236AcyG4wikWia44StOmnNQw3PWfqHw9ijt1F6gU16CvTgzrtNHa4sgX7kgpN8ccpoJ8eXp58g/r6FPy8O9wOZ6vFmP0sMyWQWDhB86hBk+YFBmrERUH2GCcKHDwilonDCXyYlh5HGN09dwqOWFv5Bff3L5r3SuE33Bt1yF1hdaptjFjDklD+itybYYvVwiABD040KfYOw6oMcwdps6JsuVDzEnYwIzAhokCEi20fhLEPGg== 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:(13230001)(4636009)(366004)(38100700002)(4326008)(66476007)(66556008)(508600001)(66946007)(76116006)(64756008)(66446008)(86362001)(71200400001)(38070700005)(2906002)(5660300002)(8676002)(26005)(6506007)(9686003)(7696005)(186003)(52536014)(33656002)(4744005)(110136005)(122000001)(316002)(8936002)(54906003)(55236004)(55016003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?yggWgpr0sndmFL3PKs4aTE5R/2SuffQmW+kZRt1+PMXpYH+r/FmfWuGzklcT?= =?us-ascii?Q?9mhzzrOWANplZpgE6H7UILGQJjLoTd3w0PnFjfkyAUO+kLZ2PUPCDWMcGvBx?= =?us-ascii?Q?LBD3U8ZmuFyT1qnrwTOGOn3nQ8pD8PKshMQc78XBoynbfbB9Jgpg3yt3Wdwf?= =?us-ascii?Q?QSjutwndUnnMBWDyBzS5SYzANWQaQV281U+wdh5uSa3rirfQyEcRcuUhPaOR?= =?us-ascii?Q?MAxq23lYe+X6lRh9+S6bA3vn1S7l30+TlbaOSWHwyt6SKkmMMEj145tMAdUj?= =?us-ascii?Q?/TuwQ8ko6DvFONhG22L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= =?us-ascii?Q?JPtrOJ76pJ8XRlikz4Xn9dT9LAUaHUl1Q1ePJVGmszqtI9AiU8rVBWC5VMS4?= =?us-ascii?Q?dAlrzG/MIRQgayJb9AeQ9M3YiJcvClYc4XD9wT/L5K/bveUWyzA20ywDsiiP?= =?us-ascii?Q?YdNaeB7DoOXMPdWLI9u4f35Ldxq27dcSYbffWzqPPU8qZgsJyXTsEGrX5jsH?= =?us-ascii?Q?6q0ixor2PEtfMAk3P964hJ0n+5X4MDA7S+gzeZRIFKJYzzWUayAr9izNROtI?= =?us-ascii?Q?b8DFYA9S1ZeAdFpM7hmS6g++B84VH4E3CRGgof6IY7Dk9w0dwwxEbuk3iDCt?= =?us-ascii?Q?FwaIW6Cf5VpIbLPW+44bEVCf9SluCfw/4C8KqbNotEaHQcB2vBc0F1UL5+Ch?= =?us-ascii?Q?afPZHZCRrFXG8SWNkleNoU7Ol5iszZODQYkNs70OXAAyH5cKZGW7mbx7etlo?= =?us-ascii?Q?If+WAbK29tJm+UpsCd5nDYs=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: 993784f4-3e27-474e-c0e0-08d9eb498ebe X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Feb 2022 21:25:40.8860 (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: S7Kx8pU0kGydgaVVG7h8qCdwHogozH67xJD5241SecWyNzLq+iAt87P/EdRWgMCWDg1HggneSOXlpAoqcpbNUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1801MB1937 X-Proofpoint-ORIG-GUID: 4Ceq1Dm2udEVMjBSB4_pkxUEmbmcoHTi X-Proofpoint-GUID: 4Ceq1Dm2udEVMjBSB4_pkxUEmbmcoHTi X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-08_06,2022-02-07_02,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 > >Memory for ZUC cipher/auth key in session had to be expanded to 32 bytes= , > >instead of 16 bytes, when adding ZUC-256 support. > >However, impact is low as this memory is part of a union with bigger siz= e than > >32 bytes. > > > >Coverity issue: 374374 > >Coverity issue: 374379 > >Fixes: 8c835018de84 ("crypto/ipsec_mb: support ZUC-256 for aesni_mb") > >Cc: stable@dpdk.org > > > >Signed-off-by: Pablo de Lara > >=20 > Acked-by: Ciara Power Applied to dpdk-next-crypto