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 DFA4FA034D for ; Wed, 23 Feb 2022 12:12:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D0D5741C27; Wed, 23 Feb 2022 12:12:33 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 00BE740DF6; Wed, 23 Feb 2022 12:12:31 +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 21N9e5so003638; Wed, 23 Feb 2022 03:12:31 -0800 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2044.outbound.protection.outlook.com [104.47.66.44]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3edjga0atq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 23 Feb 2022 03:12:31 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P/USQ901P23yWzwV/t057UzaBf/9Mdejos9InwuzhuSp0GBtD/ecNNmUkVmffudOzymqVETixujmFXINmkrbCik8VNPF8dFKyaWUYPQhSo4b6+E03wtCN2VypflIYIRC0Vxr3yBJFVRbNq7GWhV5T4oFuQYjWFkhAubCFEZTQDL1X37Wg1wUfewgn9/MFiJ2TTQOJAEYwRl6gzNRF7Ss9+6Y8fk0y9KsK926DkK3Jd4qAIpHr/XfPSXE1lHephcUALvI8NMHwwyrD3xfKZp8kvO8fbyEYZyS8Jgkv0WymWMhrnke+HkuXPIi8cP1iykEm/vH6F1tHjxVptM7mjV6Ig== 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=ZNq+TuhHSNhmX9qJgA80vkXjeLCpGulC/xAF3z13wX4=; b=CikhCc83Nxop2ooDgVwOiEtbkJEOJy2DBDbZiD89gGdgUrhQ0H5vHBbrzkWsM1+DEIGAKFi3jpfPOOwYkhYJOlWFc8ynBDLttWBO683YeTZcWee+6W06csznYyq8NwUBBpDXLdRdha7V1ut5paJvKrO4Ka0bx9lM/MaJHonmF53PvjOOu26aQJ4LRnY8sVyzzbG8oFoT9YG/z8he5323JRTOzsRQNrhbWs6ADfYQ805Vu+RUTvqve9DMlk7ZAIjSD8xmtlKo4xM4B2c8vm3/xW0TOpFqmVUVXKmNt7q6GrajWi1qrOr5AZVngkEso3C9sep+6bdE4cDMPdoSRUrv7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; 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=ZNq+TuhHSNhmX9qJgA80vkXjeLCpGulC/xAF3z13wX4=; b=dS0YedfJAKzAqZLMqSRxECClQu+P7lp8MQQJpdeegmJ2nOR7oktIzierwLf6JicB73WiSGybJKzdeDMu+mTnS6zjVsbUetlW1nL53PeK1IYgGOuv9F32+stmfciqnJDI61nSH2/WUqRxKQ+UoMg6uZphr5qpxdKZpr+sRjykJOI= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by BN8PR18MB2897.namprd18.prod.outlook.com (2603:10b6:408:77::20) 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 11:12:27 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1c79:10d9:2997:cd79]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1c79:10d9:2997:cd79%9]) with mapi id 15.20.5017.022; Wed, 23 Feb 2022 11:12:27 +0000 From: Akhil Goyal To: "Zhang, Roy Fan" , "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: AQHYKKYHU1WGcNuHuEiRlChGKNvJxqyg+xMw Date: Wed, 23 Feb 2022 11:12:27 +0000 Message-ID: References: <20220221180542.439823-1-brian.dooley@intel.com> <20220222095451.731405-1-brian.dooley@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: b7f2efd2-a802-44bf-75b6-08d9f6bd6078 x-ms-traffictypediagnostic: BN8PR18MB2897: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: OkquiRPgUBx8KQgRQjKjQrNg2Xha2BPjA52HulCYklld2CSZG6+jtiP6i4gyA7h86AkvOAoVlkH6BipBmAEsTVdh9TYiYG9G/xr6WXWINuOHW8lhp1VUVXgfMKDx4Lk/iEPrLsfNpLVZKNYuNSziLF1QcHlmnl1c+iBr0bD0eeRtogQr78X7/sjM6jFMJ1RXGIzxXfX2/0GkPiewxHfAOQfueQrNXJI7jOAIac1ryPqJX2jn4AyILz/oPdSr0SH6iACN9TC1MaXjK9iR+rtN3yG52yPFaxEsKbGPX9ayK35IbMGln/RcMru8847Lh1ks1y4XSUauMdO/Ghqhfjbxa4BDp3fLjANGsl2HrUAY8SN9PgBugD7rmCst8vsroyyO7lSCsv3Swtkcook1OGNYDrHcNWQ4FyXdtFPI/YxHwvRiNhg35gWrtbzwIMOTowKpkhx5rEuL18RA4dz2g6EgU5IU1Gazyi5CGa8n/V6n84LUx3ZpLibQRLErvO/8CiDCgwgicZAewdtpPFXw4lyhwB8TwioEC6J3LVdIWKCYT9XTqYlQL22y1VeWijwxp33io4zxUlkERRdNuOEoVjdQG2DR/1WW6J2xjvNtAVU/BLzR0Rwab6Q27iNLivLZjEjmbjjHLLQVIV/LMandlhikZ/HYUpqJfcweWo2UEaN5/ZeFoOhFXdgCirUiC1a7X7YRV0GYjetQ+0zVCljELyCz2A== 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)(7696005)(76116006)(9686003)(4326008)(6506007)(66446008)(66476007)(66556008)(66946007)(64756008)(55016003)(122000001)(33656002)(38070700005)(316002)(508600001)(38100700002)(8676002)(8936002)(54906003)(4744005)(110136005)(186003)(26005)(71200400001)(55236004)(2906002)(52536014)(86362001)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1+JjDODrGdTId/bnc8FYRfTf1ZDgLqdzi2Zqt0jXSsaYPcOwkvONr4j4xugp?= =?us-ascii?Q?6b0zZFkblmfmTGV4ApfBsHGYRNpTBbiq5/Pf93IH8XTC3p0KHZCnBLrEL+gB?= =?us-ascii?Q?FaFmezbBGt20/hqX8lFEkDuCKVKF7xxD56tToKnSjRXthfDZgH4PM5YJwnuy?= =?us-ascii?Q?2pNxJxoJTwuy87ZJ1LRA3lHfP57wKFdMP2XUgsE2JdgyW1pMImTqhICY502I?= =?us-ascii?Q?1y2xphopKknFbrT+AHah476yIewFeAC2FnEIVbwe41UtjahRDj4AyhKm3PJS?= =?us-ascii?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lx64WfKGBcOAWtwpSExLfvyL6OuKF5Z+GiODsO?= =?us-ascii?Q?9NAICcBEZR9q+97t4znxeYj9PjQT0x9SjthMfc8DzRIp/kr/drQwW48vOxLR?= =?us-ascii?Q?S7flXWccmYZCct2M+dOewPIh81tNdDoRC6fsp8CA6P5ZSwF4tLpcyb5+DPfP?= =?us-ascii?Q?diF/gJ0wU0VmXlvamcumFs/b125twbB7plUIWxjoVWTbBmFIdGlTtryilYBz?= =?us-ascii?Q?53kUNcb4Je2HsHQ0E8dUjBo0/on4hpoCovQB19zxaAsmGm/0wCifuohgeG25?= =?us-ascii?Q?grN8h5FzFtQNP9cRHU1P0TLC4uEkIuKprKrtSp3Yb7vwd+Kz/u/7GlBV0jAQ?= =?us-ascii?Q?6YaLW9is5+Sj6KzbEF70scxCF5l+ksrfPQESGQK9vUME9l0NA+QctYus9JZ4?= =?us-ascii?Q?VlUouCyaY9xDFylBE+FoJ/P3wkWRdFcg0mpAFVg45jIUj1qSE4TOxxTz5+n4?= =?us-ascii?Q?ntI7njolodAsr/ZioQgvp1M=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: b7f2efd2-a802-44bf-75b6-08d9f6bd6078 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Feb 2022 11:12:27.6926 (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: E+cws5a4hH2dNWYoXSOgZCbG7icslOrQUKymgnbMNHpiQ5UkPdHGYv1r5uZWoDWMcUH2PDO1H8/n7CDL/MCvcg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR18MB2897 X-Proofpoint-ORIG-GUID: yPwhD2h0gH1TtuSlzzOXgHTcnE_7PwkL X-Proofpoint-GUID: yPwhD2h0gH1TtuSlzzOXgHTcnE_7PwkL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-02-23_03,2022-02-23_01,2022-02-23_01 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 > > Coverity flags an untrusted loop bound. Check length of session iv. > > > > Coverity issue: 375802 > > > > Fixes: b063e843fa03 ("crypto/virtio: fix IV physical address") > > Cc: roy.fan.zhang@intel.com > > Cc: stable@dpdk.org > > > > Signed-off-by: Brian Dooley > > > > --- > Reacking as the last ack not shown in patchwork > Acked-by: Fan Zhang Applied to dpdk-next-crypto Thanks.