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 22B3BA034D for ; Wed, 23 Feb 2022 12:08:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 15F7341C25; Wed, 23 Feb 2022 12:08:02 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 677AD40DF6; Wed, 23 Feb 2022 12:07:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645614479; x=1677150479; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=fnGOY/MG9w6J8OvDlYiPpQxJyZ7qbeFwjZ3snA1YzRg=; b=CuWS0myd+kw8xJOKwl1lYb/n+h2eFJROXBx5sOGODoP7TUZ8LtjWHobc AfUNfPFp73tQynShwkHGIJNaTfKz0NI9DR50K7H7KpQTIFUD+gjE/ONRN rpGnYJVdWmz/A55Eo0HrGXntpvBnClll3nVlC04rjO2L8O2ZN0nAC+5PO wnrAaWSTM2ntvW0H9v3yAokamzm56hXrTWCoqXTJC5InRvtzP1OihLCwu AJrxWSaV2gkv4gv3v7ZuXe50MIQEdk6pDhasBzmop2uxgyOqQtoagyc+d pf85Tv4gFKZq0rRnNfyRzQHOy8yoiz1Dtbpj2w981on2vAr1JucZEENsv g==; X-IronPort-AV: E=McAfee;i="6200,9189,10266"; a="252131795" X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="252131795" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 03:07:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="548192915" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga008.jf.intel.com with ESMTP; 23 Feb 2022 02:58:44 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) 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 02:58:44 -0800 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 23 Feb 2022 02:58:44 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx603.amr.corp.intel.com (10.22.229.16) 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 02:58:44 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (134.134.137.102) 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 02:58:43 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HmCTIcOyn1ddDslh5e//Bds0ZhUvVdlpqwUb+vVzRftZ8YWmrXL7866kGnhtylMUJ3r306iLh+aSWeu11rc1R+AuBCvGb1DuqA5DDLI5nJZdm1vhJzrE0sYFmkacTYAMfkuhnjPuDpLdOWtZBAfbBTV8ANVwNqC7sM3jhtrMHNCyYuwpOXlx1TVvGoV7BbXQOrO8vt+f7Q9A7SqC2k7kf7FdnlXuMLVE48Zd0RdpZyBAhnQUKJcPmIhleNal7rg9KuOfuzyK0RTwj6mI+W8pzY3DcLTR/CIgouvk6CqtCAgC7ybq7iOQMyFXLUKEJH8uGiXoTId80endFhPbkm0khQ== 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=fnGOY/MG9w6J8OvDlYiPpQxJyZ7qbeFwjZ3snA1YzRg=; b=mdOz4yG9w/vj0DxN3qB79g4MwquYDuYmIbT5Rjsq37skmyv53nfSSxVbiG02b613d8ApGD9DtOb2hNwdgrebtXpxHO7VnH3mpZy1zqujbokVw0AlO7XfXzEIOaZxzhhH9yB4F7iNFHr+1Nf2G1d4ItJu6LWU76ayYf3MWala+mJO4X8kWtKCi6v3ldycMAMUKnZJfvKn3JCPpfiGfDUZ1zxwQu1IKhYHr93HnGwS/TX5JZDwXoELP40Vsz7oamXLbKzOzaGEZIq078As4qNvEVatUzsRbEz6M5+m5CLAFebGabNHcBnTmEC/1KDp6f1by6CTORWgkEkk89mGWrL25g== 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 SN6PR11MB2606.namprd11.prod.outlook.com (2603:10b6:805:55::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.22; Wed, 23 Feb 2022 10:58:42 +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 10:58:42 +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+OGA Date: Wed, 23 Feb 2022 10:58:42 +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: be58a1ba-c838-46ab-05a4-08d9f6bb7469 x-ms-traffictypediagnostic: SN6PR11MB2606: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: Nzaj+KcSYxg8wUFOSf6Cz5pFPAqvCft14o+NRWyG3pilxabK+oHSCg8ef8oAdOPS2jyqG9xb7va4sxxXYpsPYI1g+sTayT1ZpxXoYqEUWXyV5vIHaKOWNz2qvn4x/enoEOxDCz3hAHjfj6KU8FAGdOcLCbwBZYan78W97uaJjs0hQ9sSbc6Ob6ZtcpCmeaL5ze87Fkz4pafXY1H2mg+dnSykZYfwgFYJ3pD7O6OvBL/a4nrz0fK5CVj2V7J/LFteeFXlTXIn/QC4PPCg3RqaC327eccC1FYKbCIXrhcZcKrN9X+i7ZpSz6/StnBHtjl3g7EviMl/3uZFQd56iYl7qt/tOHHfw2Hpsb96HyRbbxLJMq2k/f+HJ00kK/T5hbxRokYYKVFXr0Fs4XfwSIvZaxGZf7Y2ofUj7UhtTUpXh72JDeiEc+9uAH2JEiNfoFNG11jopxYhFgHviMY5Jm88mVg4EBOROXAOHjFHkBvTPIJwcPSMHyORlyJWNB/sMNX4GQplLr4O7RR0cFOmZ4xpG+3gINp6LqEtVISpTigWc3DjDtmERHjUEgBnc4vAG/fdkhxyV9pwM4mTj57UgAVE4tLs8yQuS1PKVq58LgjgvGd+BSeWX/mPGaRDEr+3+9vsRkP5mjd3CxADdEE1D+c/NoBt0+AfO/9XWGkNJRyx4h1tJRF9Wz0ysd9/AGQdIndMiFeqW7oBjovBGifehC+r1g== 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)(55016003)(316002)(122000001)(54906003)(110136005)(38070700005)(71200400001)(53546011)(7696005)(6506007)(33656002)(82960400001)(9686003)(508600001)(4744005)(38100700002)(186003)(26005)(66946007)(5660300002)(76116006)(66556008)(66476007)(66446008)(64756008)(4326008)(8936002)(2906002)(83380400001)(52536014)(8676002)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?/YV9KE7/Y9fUBR7zymgIJsViL8ZTRApFAgwkyFf8pn0U80oRt5Fv6Hy8?= =?Windows-1252?Q?GrOA1VHrJpfeMAUJE3ZQgU7L3JuVkqBG5djNe9EG3gUmwmveRSf3zE97?= =?Windows-1252?Q?gIlClzcQclunrjrUDOi556JKrGQg+uLqgegTguRKR4kLhMgHJkVSDgkd?= =?Windows-1252?Q?OTNaHg0bjl15V3QEEN9+5fciv8wPbDsYjYdLr1u4SLDL8DTzBImVy/+7?= =?Windows-1252?Q?e7Lrwk/W1Whq1Y22BB3WDrYRq3eW1lgCd5GcHMjUEtW/TQIRmBkijdG9?= =?Windows-1252?Q?yH1k92IIiR21NuiBadojq4S6Uz/UqtwKinkOVJY+oLP3r0NfRO/I6+xV?= =?Windows-1252?Q?SgObJeEFvMMCRMkiNHsrkETLclaK5/w4peB6hXOXidNF9naAs1EQPf+0?= =?Windows-1252?Q?3lvPqR8xLUPKwrpLkY6GN1yMQNH9d5VxKPXJgzl688nDBIpb0romUyk5?= =?Windows-1252?Q?tvRU7RO23BjQEdPpuEL4gEYMtnTL9a8RwSPAm6Uf9ZcRsTAwdMhh5GVr?= =?Windows-1252?Q?wUjLBvhR4YXLAxrMbRnu67wmk8sCusI2miR6hRKy7OWU0+cx+IDGfSUR?= =?Windows-1252?Q?U9LNPiyOZ7dVzmaibxujvBPtXf1qgX0lHRScsh5njouuwWoI003wqgSo?= =?Windows-1252?Q?10XJsjSu9/dce36itRpRwhIVZa4DZcfKVo/Zx0BPQCrQfibQfzQy+8TP?= =?Windows-1252?Q?TR5EgpSl+Q9PFdToQjPrfyNCfl8G0wB1BsQ2Rc2frwe6VX/wHtQOhEtp?= =?Windows-1252?Q?HMxFW/MqbgjboPtqMXyjnAlPyzb2o370ypytu9PKRa6EE/1iLIOKz9HO?= =?Windows-1252?Q?GANgHW93CiZT2cHxaisK5NaIaSVGExzu6n14iY12SHSNl9loZnU7BXn7?= =?Windows-1252?Q?1yFqhfdxqzJeINjbYF+aXLf++hUOOG462aTA6Vji/KstDFMG6hz8pteF?= =?Windows-1252?Q?Q5V2uNzKIFVNRquLUW/jsuWXVenT8N5hSLWjOVXqjj5aS89f3gMGzB8w?= =?Windows-1252?Q?MUuZCERzQhicbJferESiAohkEtGyjpuv7NO7agxOgixqQTXUwRWoIT/U?= =?Windows-1252?Q?XDpD6OhCdeLenjcF1AmseNreauCVfEmWf5w28jqfY+07rpmusA/g69s7?= =?Windows-1252?Q?4FPRZwLrD9omY/65bcYA4njWoGD5jk1Lt/ZxaYwoErHQJVBQa8epwtC5?= =?Windows-1252?Q?mXTxg7c2cAKPzLDpE+cMo0NWgTfmsm3GSyYgS+ziWo2TxdOFd/AYnlQg?= =?Windows-1252?Q?VOA0uOQQil6JebsQMrQL+lbDwVr9zHOyu+wsORX9pRyJD00Qg7YI8B1V?= =?Windows-1252?Q?+IlYH2wR6GHrmiyVxGnev6pNkZGdm8aCzvCqPtvHHv6jxcazV6N5OQ33?= =?Windows-1252?Q?GCNI9VpSDyGV17dv9rxMck0gydaRUmc5wmT0zEgaCRYpgIYmSDwHuTx9?= =?Windows-1252?Q?PpybqmVvfmMb6nBjB5hyVkcHzktybTUKPruLEdsa1z6ZmPHfDVjaW6Iy?= =?Windows-1252?Q?2ZCss0ek8S+HVeh/y8Aj8fZK5zzIPNRG82DX9XwTYe9buOmsWOp1QKok?= =?Windows-1252?Q?fp5e5RobcmC+r7ofdkmxaQjBfezToDjyc/pRIGT+hnhrL8wsfVMyK6Ij?= =?Windows-1252?Q?6e5Kf5UJdCar3cLUlcNduDD/zpbRwdzBkiRSMImtcg+L/vhmGs8S0Fab?= =?Windows-1252?Q?kHuNYV2TdhQgOqFbHMoeGiuG6OXWxomVnEx2KM+rgP9hC9NXmpkPMDIl?= =?Windows-1252?Q?ZCVUI/9A3mzx8Gc2DAc=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: be58a1ba-c838-46ab-05a4-08d9f6bb7469 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Feb 2022 10:58:42.0743 (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: +PrubTiJWtIWdx9KhK44uqATXSgIZ8lci+uo4/HEoLOcSO7ZKQE819wWFvUZEi6owup9NtWpr33GhS3X4qiHVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2606 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 > --- Acked-by: Fan Zhang