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 124B9A04A8; Mon, 24 Jan 2022 17:08:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 856D84115B; Mon, 24 Jan 2022 17:08:24 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 3D05140040; Mon, 24 Jan 2022 17:08:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643040503; x=1674576503; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=TtaNk0CZKVEj9SRWO9pUrXxEED68buvHd3sHKy9i28k=; b=UwMTiIMCztjUc/ohL33Gq6lbFejURubzeh9DJ7pB+MqCsqOE4vCu2X0d jxGHjHem2KglF1ZCCpYJvXTEsvA9hbS/nbVK+hfpZToT2jff8HvSwp1Vw bmtpfv7Np1eBuCylH4u3mQf2udcsOMXR1AIp8r4C9n+C8XZXwh2Zz8KZh lsWVoi7ZDkH8ljiLUfUU8giMbedfUcsgk2wHwbLGoqiZiE3rVW6WFFfEY FiXFUXzVyVA98KK+ci0LlfyakNu1VTXu2Ak+fiySnClHnyRj4TdSFiwDK 4HHOv+Dh2mgUNJjtExpLUhhUivHxqdkYuk1m//7vGRvskkyYXTNMz+UuM g==; X-IronPort-AV: E=McAfee;i="6200,9189,10236"; a="306792476" X-IronPort-AV: E=Sophos;i="5.88,311,1635231600"; d="scan'208";a="306792476" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2022 08:08:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,311,1635231600"; d="scan'208";a="580433033" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga008.fm.intel.com with ESMTP; 24 Jan 2022 08:08:21 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 24 Jan 2022 08:08:20 -0800 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 24 Jan 2022 08:08:20 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Mon, 24 Jan 2022 08:08:20 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Mon, 24 Jan 2022 08:08:20 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LXhNaEHcfHqtNdpPvOwjLFsjSt7i5AA/zQan+HBa+d5T8b6+tabavMLI3ddalY54Hcw3E5+j9OoM6QsGaG/PQxdlvQ2Dw/sHPI4qS0Lm5CXqYOjXaF4+5opw4SPv4zNF8DxSw3S1Y7pV7/dzfRcvYG1jKzoHuPMh65cz5yYs+W+nQzhnY5+6ujsUIadxG69ees5SDjHVNN8bDDfxbHomoqoYSIjg7enMKTc7kX5pBuoTxAwAfZnR55zJzp2Jin54NEY/RJznU+i1i2hVC6BQZ2qmEL/KwODL72wBF2CDEYmyfeY/Iw8GkhmTjakzzo7QHVfLylmwwEvMlbEXG4OjdQ== 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=TtaNk0CZKVEj9SRWO9pUrXxEED68buvHd3sHKy9i28k=; b=gQ5lmWxi4knAq2wnKxwsCgPQtCzXhNjxYjHCMZgD0sDs2/a2StDLZmFYhJ9iZfWGOcF45wiM7FDW4qh7d0TKSV8gZmhIUKHYSR/xVwS522JWa7hqA7siJqocRfzWfHMWz3q8QfWiIqdx/kxcUfR8RvOzbwXCRfbtiM/lq06arjCXSPf6Q4+/6Oiqk7xiiNSROrfTYvz+gtzSqevVYm28+pU5diddcIg0IwAb75e7UYKCaNdBy9/PpuC/yS5Xv/+V4A2IIbIvlZV7pf0Y1o3NehrTrSvh2+2MewWL8RuFKgjtxkgoQs+6U/ob41UtplwgJREFg1qyWWN4EzsNv3DvvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from MN2PR11MB3821.namprd11.prod.outlook.com (2603:10b6:208:f7::24) by DM6PR11MB4220.namprd11.prod.outlook.com (2603:10b6:5:204::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.10; Mon, 24 Jan 2022 16:08:19 +0000 Received: from MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::4fd:a9c7:1eda:c93d]) by MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::4fd:a9c7:1eda:c93d%6]) with mapi id 15.20.4909.017; Mon, 24 Jan 2022 16:08:19 +0000 From: "Power, Ciara" To: "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: AQHYDh/f8OQGS65l80yH2p5HiH1f9axyXGmQ Date: Mon, 24 Jan 2022 16:08:18 +0000 Message-ID: References: <20220120170455.41407-1-pablo.de.lara.guarch@intel.com> In-Reply-To: <20220120170455.41407-1-pablo.de.lara.guarch@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 73744db0-7900-4568-eda9-08d9df53bcaa x-ms-traffictypediagnostic: DM6PR11MB4220: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: 7qXT2MG1Ud8KQU4oB/0BC6G4igMxPIWqZHqvHzPL19f4OogPQghsuEDz3vHr+qInYlWqixU0GBcVYuRg+GXrMRz80TH170TuMd2aumvT8o3dfdhuS9tbeFzF1REgRHl5BjEZLu7idQcsBRCADHU57CH1NZPpseJdabBAFD39ZocSF4bh/wpKCiX4KKbsz6p6VieL7onTqtnzKy7bazEFTRrzVdnoEooUXFMwVXUctmH9hfM/i2pxqHf8gTEXMFZeR9JbK6fXgwbKTLyEWSkxxgdaWpaPpGg+vg7dCDtetUZ3wBSB+YMrFLPjGWEJclm+N6OZZMpak3gmG/U+qCkKvQORnwVGJm9CWVWTFLOPCIrnlGZUK4AscJDdrtdf2KLrSZ8im8iO+E06sMw9dbY07+oTI3uQBHcld8hw8/dhNG3jVsv99qlu8Zal/YKDd0CDfK3qQZiAw7dwdmEwYgK1a6oO8VeX5HEIHyLXp0LhDu8Iz6SfpylFC6kg6X1uXVVWXjHulCu+MIIXJc9e/SumZ0mN6etC0bddLW5RWjk+mrcJZEcC+o3HTqgj0F4ziCEunMHhAV1bd2TOWW6bkw+5+S9PHxOx/W8LGRX1VB6Fh+AWyFp5qU15win87fpZmKpB2Tups63QhLA5RBz2OOFnT+SN/37i6/nurn5ivGQX/lZEuzSmMSVbHf8RBmQCqe8iJePEUMgDvG8y+qM3HMIQDw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3821.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(33656002)(26005)(82960400001)(38070700005)(4326008)(7696005)(9686003)(5660300002)(8676002)(316002)(66946007)(71200400001)(4744005)(55016003)(83380400001)(66556008)(64756008)(66476007)(450100002)(8936002)(6636002)(186003)(38100700002)(122000001)(6506007)(52536014)(66446008)(508600001)(110136005)(54906003)(76116006)(2906002)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?uxLdOhpOFhDuDniwe31VOOWHPqJNx0uk9tudCO48CsbUNhoKDvC6vuy60gtP?= =?us-ascii?Q?agON0gdV+1O7lkB3xmyf+MtiQaO75+DzH+9DPIvOamOrgFMAP1xuDdbMzgLV?= =?us-ascii?Q?XZcq67ZnKY/pYmJrcgCQIenddM7k//IM2USGWvEab9sbF0eKql6jKj5UnUM7?= =?us-ascii?Q?XXHQyMaULObcr7tr2IW4Q0PCHyw4mYs4QlC39qKQhJ7JUmirhqXDdY4u+3iO?= =?us-ascii?Q?JT76TbpCioLB0xN6Tf2Z7B5S91DA2kuwi0v67TCVZ7eCaIRNkO6sKOJArJ/L?= =?us-ascii?Q?kdYFzKnPTq6ulA7HbzGwULXm/SLLf7/raYQ7JXrcfyM+JU7/6cH5xC1NFG2T?= =?us-ascii?Q?kSleuQNjKa6DuwR/aKV6g1VzJe++6oDWbHTeiyvA07HZX274y9WIrVVSFtb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FBFxAjc7wyRmvFLogBQHZ9NOhKafPMnR?= =?us-ascii?Q?67j9bECOLhRj6Cdus05IsCDeZaj85G3esit80FQT02ELsxjkPBUo6cREVoZX?= =?us-ascii?Q?IUKK2pg90qPO0abMyzMGkwdA0v8Ep8o/v45qtfVS0NyXQvN18HUmOjSyV31N?= =?us-ascii?Q?cBaSZ7v33WmAmv1H5eGQux5xixrVpKvE36v5o9+EPySeyc/gl2Rp/HYe2EgA?= =?us-ascii?Q?+x26Dcm7PAkxUMW9+0szK3Us3lQSuA0joDDFIlQjfRm1IQpETUT6VWEm24Xq?= =?us-ascii?Q?ehlNvxTtgQoEnoey6ZtSSY2SwM0LSL1f0BCxFuq0FNhTr70QAO6dLUkUnEF/?= =?us-ascii?Q?nEnlo55m2K1g2V/VSIDMAfE=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB3821.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 73744db0-7900-4568-eda9-08d9df53bcaa X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2022 16:08:18.9609 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ysAs0lJAVfo9DcdiHofR7fwfB03g+JN5cllZRLyJ+sTodUB8Y5hbcPWxT2/1e5VxP2lS5rewoM+S4ogh9Y/5aw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4220 X-OriginatorOrg: intel.com 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 Hi Pablo, >-----Original Message----- >From: De Lara Guarch, Pablo >Sent: Thursday 20 January 2022 17:05 >To: Zhang, Roy Fan ; Power, Ciara > >Cc: dev@dpdk.org; De Lara Guarch, Pablo ; >stable@dpdk.org >Subject: [PATCH] crypto/ipsec_mb: fix buffer overrun > >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 size = 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 Acked-by: Ciara Power