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 6B432A034D for ; Wed, 23 Feb 2022 12:10:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6375441C27; Wed, 23 Feb 2022 12:10:18 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 01DFA40DF6; Wed, 23 Feb 2022 12:10:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645614615; x=1677150615; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=/COVIGTit1nLpG05wsCdBdl8C/pCCGB8niMywfPlrBM=; b=YrJlZerzoc+ZtgHPVpQVgiaGN74j0TUN9Q0NmdCUaE+jvjBtqsz+JfIb GoDLMWTD7jr6qcUPFIwrKJBaUmXk0tp/FGWZ1CVHLo3MzZYdazDW0/f2F FbQLhGtJmBXiFAjM998/wzs9jt/cWsBRNZs26C5LrOc8iNNuxaJ3NqcZT oFx3pmKjvbnKRrHTONK6aLS0PQUXfxjmJqy3MK1ywCjJKdnL5iCbH9S1N 40mIGTIPFQ+WuP7vPSS2sHECPCGZvdki8zJPhPMBolQ5UpDTZj+427DIz oRaWePNGhQYLGw7BdaGCpIMHa+dnWInJ8dRZLnjy9EbiA872/u86VagJ7 Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10266"; a="251675979" X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="251675979" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 03:10:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="543279273" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga007.fm.intel.com with ESMTP; 23 Feb 2022 03:10:13 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Wed, 23 Feb 2022 03:10:13 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Wed, 23 Feb 2022 03:10:13 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.42) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Wed, 23 Feb 2022 03:10:13 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zp6QawpXVJZWHnhCZiypRlq2o9wM3a0luQIXDoYeUPb9ElEd4OBHBPxCu8dRgSZfMWrjww7pXiq7aJDrFbYQQ64iMqMNR0w7ZY8OGsfUEfU4g/ZZPMAesYk7aqcTX10A/sdxqaY79738muYxbQQIuyBMY13ZwRMd5PbL2sI5XwZlleGMLqysBRQqm5RyXNxUE5TtNC4Zjizl0By1S2U3V4Tw23Q0OqIWcf8khA4d6eRXP7ccSYAXLlTM5lWrgfV3uf5UbEnOAgr56a/ZEkUPADVsu41p5Rh8/64xho6e7/5Lm0x/zkP6jSV86hqDlIzQwLG5t8GOiznQVG/rjJDLtA== 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=/COVIGTit1nLpG05wsCdBdl8C/pCCGB8niMywfPlrBM=; b=jtjNFjQztcBpVlgUkF/yi1Zqv7Wh5LYuYPaGzhUukDU/WkZd/lYf3GWfdiQXPKnLNbEkblKP7xyT/M9IptiuwiqBjtZw88QYePZJy06YKO7tvM8vRdChwv3QSuKkSfHCthzJWtlYGCKZmBI8vzc6aTXpk8ae9ULPJeMByHtGtCThL+sVV0QoKq0sP2tTSeTNlIhSWeXhPMe0Xu4EJJpW+KaRyLav8GKRW/8bwZSk9WigqvUOZ+vTWa8f3MWFI5i23zcNyPBh9dJCj0jIFuripDENFSdmc9HR42tsHIlzRYfSh4/h0t7Udxu5o0TJTj8Qb18XyhFFOc9E7Jg9kP8FMA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MW5PR11MB5809.namprd11.prod.outlook.com (2603:10b6:303:197::6) by BL1PR11MB6004.namprd11.prod.outlook.com (2603:10b6:208:390::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Wed, 23 Feb 2022 11:10:11 +0000 Received: from MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::a599:b969:5072:71cb]) by MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::a599:b969:5072:71cb%4]) with mapi id 15.20.5017.022; Wed, 23 Feb 2022 11:10:11 +0000 From: "Zhang, Roy Fan" To: "Dooley, Brian" , "dev@dpdk.org" CC: "stable@dpdk.org" , Jay Zhou Subject: RE: [PATCH v2] crypto/virtio: fix out of bounds access bug Thread-Topic: [PATCH v2] crypto/virtio: fix out of bounds access bug Thread-Index: AQHYJ9JPC+2wzVHoSkWPJ6WQlCIyfayg+6YQ Date: Wed, 23 Feb 2022 11:10:11 +0000 Message-ID: References: <20220221180542.439823-1-brian.dooley@intel.com> <20220222095451.731405-1-brian.dooley@intel.com> In-Reply-To: <20220222095451.731405-1-brian.dooley@intel.com> Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-reaction: no-action dlp-product: dlpe-windows 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: c47b374c-fd2a-4583-59df-08d9f6bd0f68 x-ms-traffictypediagnostic: BL1PR11MB6004: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: mwvavtc+g8g+7dIWba1TxZuZGLFj5vV/Ip+haBvUjspXCTvbsL9IDBHsJ9GGslsVWUIKQtsNY8N8jRPQLyEVbq7kYWL2A/h5YirarfyM0S7u/nlu8RzExf9709uqQbAkZrA6Bf3rsZ2AGbH4GsXuevof4cc/L0cGOp+pmtUuCAfhSwbRfXQvmVt0avG90Wl1npg/P0rAWmEVm5VzO9m6Pvi6pt0PWPeJCyR9swTVY9EaTKkQABGEKpGRaGlpqL1fbelzmWZk9GPhqvnQoh4pau+jZ5gWT0kBb7or7tom4H0GEJZBXpVy/RO/ky2u4GsrKZJblHEjjVn5AifRfiYExH7TuSd+P+wgNWEvmVDV5rzI5i9TPbPgcxK2zRgZMAVNcofGrIBx1JS/eEgOPC5/L6IvzehDxcWma2Y6eY35AyMC39fkMuSj/Ozhsm9uihZJJ8ZUHN/LRDT5Fjh9VhX6uxGUyHQUlWtw2N3dlpHnRgQqtwup7/yZJ5gQM5nxXHyfprcQYGSBy/mLjZGyb2GexiDtoiABxjgkJOn0DOcfXy0gr+2j13IT8PhHXl/2Iskts/sGmCv48QYeVjG8Sy1gLU5ssR6aEgtKiuSNb9F1f5SsMlto0JpHJ+Rii4PD6uvNa/lOtlva21YuEZBhPdaDvC1Vs3/6aVXvb0o0hCBkRvIUxWtmwhGKpIvXhR8QfU85uLRHarB9SY5I4dwkjz1k5A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW5PR11MB5809.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(83380400001)(9686003)(86362001)(110136005)(316002)(54906003)(55016003)(2906002)(6506007)(53546011)(8676002)(66556008)(4326008)(64756008)(66946007)(4744005)(186003)(26005)(38070700005)(82960400001)(71200400001)(52536014)(5660300002)(38100700002)(66476007)(122000001)(66446008)(76116006)(8936002)(7696005)(508600001)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?H/QjyKqE0ntsz+cx/UDylxftYK2XUctQcKj98RP0iQ2ivBMsmYbJgedf?= =?Windows-1252?Q?sEPxM8X/uCGvX/grJTdtphnBw+z0gFaDbk6+ZTG7pzTzP1WaFVXS+WmF?= =?Windows-1252?Q?FCsDPfaD55iw5JxRE28ekrPkR3Wfn/gSCqbCUJWEH/hdlyBVcQ4Rswk2?= =?Windows-1252?Q?BTJ4wi3Ibh+8vHQWxV5phMlz4/wDe0JWOxVO4jYevuaFvB9sC5dMJAHZ?= =?Windows-1252?Q?5FbNfWKYO7betMHbiuPjXbIQOzcocQSDzKcrPgCIfcI9P8c+5BDOjUBw?= =?Windows-1252?Q?2NU2FoPRiejmQN6z0xozfy0RwORk1hNuDCVZZEWlzhtLL2KfdSCUWt0F?= =?Windows-1252?Q?qFQVg3muxxaz7RA5tFoRD6b6MAZGJo1hgxyIcfD7W2d+o9/Z1E26p+hK?= =?Windows-1252?Q?pIS911nEplAu1YhjNTjH/MUcvcyW9frPkFM4qhP/CIrV6Cog6a2XR+We?= =?Windows-1252?Q?3yOVXfu4+0FHHd5dSH60a552UuamME8qy6LD4chS3zh4/A+Ir85rG7a9?= =?Windows-1252?Q?FKebC8FubiUBEKUhz60HQREpXFGRZGDNfUInxq9b1Yy5Su3C1PMSQ5OU?= =?Windows-1252?Q?enPmxZz2Xy0l+xFWXsCwQM3b+SkCVkzItt+lnZ6dFePn6zpqfhvfvGGD?= =?Windows-1252?Q?t1q7+aUqqdnx84ug6aY1rWc5WGfZzrYPqItQcRqDeJAYx4rGOn1ckYyy?= =?Windows-1252?Q?8REfAl0NEdAo/iSvdpccZ+NrMhRJXiIwBDoCYr9kMV+j1BN4JQX4193v?= =?Windows-1252?Q?uUv4lXnfx7odZBxT9S+7GKQ5atCk8besg96wfCDPtqHPxG1cANi89ZYw?= =?Windows-1252?Q?rxvJv19u2N/Tb/gItosllBH8KiNG7ZwovjqYsff4ktnfYw+ZV3ZTJI2w?= =?Windows-1252?Q?rLI1jZAl1V5aNBFPAlGMNs2iOdsWS2A8o1uozI/xM3ZstsVglBqkQecJ?= =?Windows-1252?Q?5h464jEplwoX8i3OqL7VZ3DlWUEUcXWL6AOQVuHURXIP1Pb5LYEUFlM5?= =?Windows-1252?Q?SOxOfxZOfJAszn3O06c8TXdHHAsbTfxlXA030BFPj60OvHyNjvbZ5ig7?= =?Windows-1252?Q?wuON4J81mIQryx1pDwjHOrKeMQYBrPBIohEX1JSxfyym/bZLXYbqd4Lh?= =?Windows-1252?Q?Zmyw94hgg7eEEDPOVtApXwNcjwNp1z0kPy3fqMlV6aofMutltbWpJ5PY?= =?Windows-1252?Q?k3FRhJh85wLEeVMvh75blIZmwVDtSKzP1GKRev0jKYBE+aS/JFaLBJE/?= =?Windows-1252?Q?FBBfFOhNtqKOQiPEMw33Ld+zsNla6Ik0+3stkYPLuX9PWJLVmsaRv6l+?= =?Windows-1252?Q?0UguSIAxcnOXTge4ZlRJv/oN1faGI0Vnxz0EvTSCJpFXydmKyAJF05kE?= =?Windows-1252?Q?ob1tnk5ynqAbowR1qdG9h+9hFhZd4cP/iAHLBkbIFmR5ZiB+Xzd7Y/c2?= =?Windows-1252?Q?nj2tQpztHVH+MXNabVGgvNBMq4uIaI94VnlaN5Y2bzA9OrIretWbQ+Sw?= =?Windows-1252?Q?8uWMIbP9pcjB/2TIXmwdgs8ZMQpHX4UWgW9GVPvLAk3OGZUngc+C5C9Y?= =?Windows-1252?Q?Wdn+NxtxBxrT9mQnqOYnjuy2UPytIMyMHzfpSI7Bj6CHqYPQTjgLrs74?= =?Windows-1252?Q?69j1SfCFWdyzlDeIeK8eI+qUdapwazrIGZ3R0SghOfbUXfnUYph6aX/U?= =?Windows-1252?Q?mRFSdxIveD8frYwOec/YQwqyQYkcsnbMFXeVnpBTB5egtbb+2KNJJG93?= =?Windows-1252?Q?S+xVJc5xv6V1/G7+aL4=3D?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5809.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c47b374c-fd2a-4583-59df-08d9f6bd0f68 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Feb 2022 11:10:11.5822 (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: 67Bc46FRe200OZ/OqKuCfcMZ4p4zlxgbNNdNW9pBu9+u5AEbwgKXWcqqZTEOnFXLFedCD67lMwr8dqKRbc206A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB6004 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Dooley, Brian > Sent: Tuesday, February 22, 2022 9:55 AM > To: dev@dpdk.org > Cc: Dooley, Brian ; Zhang, Roy Fan > ; stable@dpdk.org; Jay Zhou > > Subject: [PATCH v2] crypto/virtio: fix out of bounds access bug >=20 > Coverity flags an untrusted loop bound. Check length of session iv. >=20 > Coverity issue: 375802 >=20 > Fixes: b063e843fa03 ("crypto/virtio: fix IV physical address") > Cc: roy.fan.zhang@intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Brian Dooley >=20 > --- Reacking as the last ack not shown in patchwork Acked-by: Fan Zhang