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 D3C63A04A5; Tue, 8 Feb 2022 22:44:21 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B87D41143; Tue, 8 Feb 2022 22:44:21 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 3024641101 for ; Tue, 8 Feb 2022 22:44:20 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 218FFfH6024681; Tue, 8 Feb 2022 13:44:17 -0800 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2042.outbound.protection.outlook.com [104.47.66.42]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3e3nuy2y4m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Feb 2022 13:44:17 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I9zIS8JEYYcEpGXaEC8EODBpYp06L0OFJssu58rXOueadjgA9OebyHDHhqBJL4qFKvheZbTfZ5LfAkeOA2y31jbAxn+dQrVDLv7ybBQ/MUJLMUS19hgVF85CoFUKxrCA7fMNuR/bR9Gck2cM8+93mZpHv0tWhvBgmaKpvIPwOgXvxkDWJAYF+Ur2xZIzbtfaevil8aJg+cBDgrUsl6UXfAUuXz3gLjObsUzvsDYvVcDWzxnpISuja33G55FwPQ6aqfnQXrlFyX4N9oA7gb2tu5wnYsuLmLmXMeR6+NPTZRHn82+tKGUqgLrVjgu2Tm0Q4Bctp+MG/WU43TT6Glagtg== 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=DZvUh2WCOH14XX1/g3jwUtpD/J2zzEJKjlnoDpWdNsk=; b=PBw23EBl4z7HADNoUw6phzxfkD7646lzcLRrOO38htcHgMnA0Aj2eIeQAvmDs01U6mk+nu4IsTGFELTii5slLW/RlM7zBBZdu2JfnO0h/F8dEG/FV+M9iOKLbMUEv9WR7+lJ/ypHXMoYHEog103DquTXkKVTVxB7qWW02aBD0lbwxvC54mWAIwbXOqcdmVsk35I6imEyasrM/fl3pieXallZ/NNdZaIzT5Y4QYU7iZgVOfuWJkl3SQ4/uG7FIa1B8oJilfrdyQP2U91fJ9Z6BNsRduN6+TLEpJXGF+oGXO65RRwXpPYVUdtWRRrwEu/6TV85tRsrqQTAtvAakVxquQ== 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=DZvUh2WCOH14XX1/g3jwUtpD/J2zzEJKjlnoDpWdNsk=; b=J1Dky1b6JpvrqC89ld3cw32lTIjTo1zNOk3eucBNeQXvyrO/lbi8FAqhQt6nZmHz3JQ7E7xhgzdNHVXSWLuL4lFuYVYWvkOIGA5msA6sWuqm9wBtkYG8yr+WRA+ZhOxvP0vK4dsmWVXuRrnwaXUdX7UQrDCMjdntdBMKgYyNLLA= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by BN8PR18MB2929.namprd18.prod.outlook.com (2603:10b6:408:71::16) 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:44:15 +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:44:14 +0000 From: Akhil Goyal To: Weiguo Li , "roy.fan.zhang@intel.com" CC: "piotrx.bronowski@intel.com" , "dev@dpdk.org" Subject: RE: [EXT] [PATCH] crypto/ipsec_mb: fix null pointer dereference Thread-Topic: [EXT] [PATCH] crypto/ipsec_mb: fix null pointer dereference Thread-Index: AQHYFS2lYgGAYyhIzEWIP38v2qhBqKyKP0eg Date: Tue, 8 Feb 2022 21:44:14 +0000 Message-ID: References: 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: 8532ad54-b018-48e1-c696-08d9eb4c26b4 x-ms-traffictypediagnostic: BN8PR18MB2929:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1227; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ehcmNTR6+ld20cHl/N2WCT2VVt+Bn8wMN9f4oiTByxyvmoIqWKyk1SeaVsJ2CodHG1S1dDg6HD8YhLXKY+lELKlBNS0tWt3gX+H/ME7yGDPL/7aTG38w4OuNcth5JkQArIgVzhB9p9Ccl/zFxIIO0kXrQ8+4r9aSqcsElPOCi9reeOFrpCSUaEqq6jZ1RCnWYKcMYWwrWiMens6f7zenDwIox21yJn1VAZTSYCd+hd28h29eo8x2kG4eyfQ+NtNPAX3bv5Q6EijFq1neXeFi4ImsP5vJW3vcka4oNiOUDPHPPQrLgrbz7a3rM2I5g14taHIO+L0J4vGz05ACXBHm/ftJhZU/CB9Pzy/CsAiWxQo96YRm099c/ahnl88OZ8RhqqBKVJ4fk1BdtVsVK5Ca1m8wDqbW4qaglGljuQR/BhVuDiHq/NofYsGHPNUuH/HVIzZRMrvIFauTgH85yxjcRU188pwDrzSVSqrrpEFERyI/NZur6/ImyK3KgGxi2m7LCjJ7SEytz4IhPDyrrq4Yc0ywOAPUfq4RK6Xki9rOQqr8mJtnjeNsKwwQVfdolg4WpWgD+MqLvPWvfGzuhB9GpdvrPoT/r/gF7UKRhqj66ykyGiVbVj+syPvTD+rU7j1SqvK8LQxR5JaBIlJ5IEdu3sgMPst6l+8zuT4ospG8PntjzwXGHg3nlkjoNOBQuUUanUNFb1mEOTF97GDXtymDVNw/PnpEgiSPt15O/KQ1SuJEHmK/0GYX36Rh8pNZEnO0mGzz85cenWRMdkWJgt/2Y94aJ+1sGTNGEKyuOb5QS/k= 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)(122000001)(54906003)(4744005)(110136005)(66946007)(2906002)(316002)(4326008)(8676002)(66476007)(5660300002)(38070700005)(71200400001)(7696005)(55236004)(33656002)(52536014)(6506007)(76116006)(38100700002)(86362001)(66556008)(9686003)(55016003)(966005)(66446008)(508600001)(26005)(8936002)(64756008)(83380400001)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?oG2wTBxtqTAkwZBw4UdYxIvPDJtPoyUqN+4Wzmc0iYwlid4sA+hzXAR0YIGq?= =?us-ascii?Q?JgGxpV5nMJfEK01S8H1FWC2bb079EEbyNJ30IISwEB3oM5Ue7ueXJIXz1C6n?= =?us-ascii?Q?7v8ZypAA7Vtnz3MGg3QEW70ZmOFzb5ja+6bzt6KCrnfVVtY/afWqrNxgkoX3?= =?us-ascii?Q?uTVX56DsyG8r3GWUFKhHTS0PBlQhYWOHajpiYHxRZ1jBk+UWJeWI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8CVw05LUYIZlOIZOE3pYnePt3KG5y?= =?us-ascii?Q?y3tVcxEYYCLkN1U6KKpz8EZSzafk3Rxhl86+djYMs6CmdNuqz5qtaprvxurS?= =?us-ascii?Q?PlrR+4qCqYMJwdrrqulwIG5rbfnUxJenQpYNM3Qn9vPbW2X1wSfcjJIegTo0?= =?us-ascii?Q?DFyywxOSNzgBpfMdYdrXeyD/C0wp4q3VNcH8THOql6WrjY6S3WRHcigYCVnJ?= =?us-ascii?Q?mlclRP7BYNXriGADx0XO2GLF7OXQ+g+Ts0qWO3a1RPFNxJ/2qSnIU4pQ02OM?= =?us-ascii?Q?EhEYH+wUq/ug5kcpRq6Z0lEC1vmq2B4FznjX42tFmNptKd3SwEQMw9Si9ueZ?= =?us-ascii?Q?NtFiQj4XBB19P01MNHghHGj7K0BEAZLEWbEsM5u5wYOUqZ1j6DC6eVzVOUv8?= =?us-ascii?Q?6+9/HNYTthEQvF+YYrg5uzU66GWTH7q4n8cN4S/hBANDfP6uIIWCu9m4/lmo?= =?us-ascii?Q?YVg3LPLJFQh8dMhJZE83wReLkyPmfjjYc9PBAvU8GS75l1ZGoYd7bIUU9YGV?= =?us-ascii?Q?AL0GmeYtrota3rSuyPIRdEM=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: 8532ad54-b018-48e1-c696-08d9eb4c26b4 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Feb 2022 21:44:14.8121 (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: 19sk+guPxYVemJv9vNQvEf971P6obTcGYkQE3WQnOT5GivoYtNvDIrQO8trlmcBniUIIdsxTdnylZFQdC8f95Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR18MB2929 X-Proofpoint-GUID: a3GZLHLAHR-EYLHseyHjwh57fAQiT7HR X-Proofpoint-ORIG-GUID: a3GZLHLAHR-EYLHseyHjwh57fAQiT7HR 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 > Adjust memory check and use in a proper order to avoid > null pointer dereference. >=20 > Fixes: 918fd2f1466b ("crypto/ipsec_mb: move aesni_mb PMD") >=20 > Signed-off-by: Weiguo Li > --- This patch is a duplicate of a patch already submitted. http://patches.dpdk.org/project/dpdk/patch/20220116194043.1388372-1-piotrx.= bronowski@intel.com/