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 99D75A00C5; Tue, 15 Feb 2022 13:00:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 700BC410F3; Tue, 15 Feb 2022 13:00:20 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 012A440E78; Tue, 15 Feb 2022 13:00:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644926419; x=1676462419; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=haUABUmp1gwZLzZwcM3MUVJoWLjo7U5/J5MEJiVPC3E=; b=mgbaXgO30fhc1SsI+KssBIX6imc41cHei7Q7ZmF6qw+Awkt0heAm4WCN MNzFcpLZh3yGSE21lEDCc/ZlYPgk4L5KBdbuxIP3VD3Uyvipi/vZADpO9 Z+v0BpYELUL+QWiUXdb1LovKfaqeOWkzefl3ciLRIE54r04gCR+WISZv3 /cfzHgb47W02bkakJwbrF+ZcYFz27rCOxZ5jp808X+FOg4gAKcatO1ipM o9k7eT4h37dd27X0Bte2FiK2GHi0QT6r7w/aauWwPx5AbruywygQYpS6i 7wNPsV4TxaRU3NlhsyY0bPr5GFLgAl18fGs6611KiueEmcTjDnGFYwB4R g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="313611327" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="313611327" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 04:00:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="544267538" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:00:16 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 15 Feb 2022 04:00:16 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 15 Feb 2022 04:00:15 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Tue, 15 Feb 2022 04:00:15 -0800 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.43) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Tue, 15 Feb 2022 04:00:15 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IJxBxCPehlKm1+T3AWthBI9JnewG1iFpmofEpcWM/iq1QewqgercFwh0VkllLbCQjr7gm/7RyU36gTLVjk+XUkMSNF+9i+LsdJovPZq7i9T5VbPaIdbVSWN9dTNMyjaLghCGFeZras2Eh+oeGPutDxuirC5Lu9vO+gAAzCY7j3ntaja2Gvb5CafGCC6hpmYLr6o9BMghtUH7Kl6q/nZJaxKGr1tX20fYOFSTR8XyPbzyG5Hhfhsm7JItQMCNqUiLZCcMRYzF3wVa25cloravT3bCRP71r8G47KoEJ4DtreLrcyaDoJqpHRpzhZo7Yn3U9J2QsHrDyhDbAPFK0pu4YA== 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=1sLQPnOPb2pXTEAgS3Sr2DkxO3UowfhJhp32FEV2gG4=; b=lF33nQMAldsjhnWuyS95rT/sYMAlPa+ceJtHSrgGzZ++aAao09qfTUaWZrs/QG0VP3Rb+6PyqTfjOJWPaSY2kCHy9MFNeWJWKWhXJqYoRBR4mIQZL2K5v8gCmTPXmD2RAz1GMuntFhmQNMaPWKZQ/L+RE4e6hhR9myEV3r4f2EOa49mqxFiUVhcNAhmxiCexWrX5OMth+gmk1lgSUHkbkKp+YjbQ6aPgbiRql9YAPMTX8Kxxf6PEAyxmRChOwiNImS7w0lP1rQJI2k14mjGNG7YtVC//bnAASeBtkll0aouVJp+u9pWW8oOVFDDW/vwL5gza0ohASRNcSNUPhFaBaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from BYAPR11MB3495.namprd11.prod.outlook.com (2603:10b6:a03:8a::14) by DM6PR11MB2682.namprd11.prod.outlook.com (2603:10b6:5:c3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.19; Tue, 15 Feb 2022 12:00:13 +0000 Received: from BYAPR11MB3495.namprd11.prod.outlook.com ([fe80::714b:35f9:5767:b39b]) by BYAPR11MB3495.namprd11.prod.outlook.com ([fe80::714b:35f9:5767:b39b%6]) with mapi id 15.20.4975.018; Tue, 15 Feb 2022 12:00:12 +0000 From: "Wang, Haiyue" To: Yunjian Wang , "dev@dpdk.org" CC: "Yigit, Ferruh" , "Wu, Jingjing" , "Xing, Beilei" , "jiawenwu@trustnetic.com" , "jianwang@trustnetic.com" , "dingxiaoxiong@huawei.com" , "huangshaozhang@huawei.com" , "stable@dpdk.org" Subject: RE: [dpdk-dev] [PATCH 1/3] net/ixgbe: set pointer to NULL after free Thread-Topic: [dpdk-dev] [PATCH 1/3] net/ixgbe: set pointer to NULL after free Thread-Index: AQHYIlZO6Xwim7I+RUGHvO3t3tNh5ayUgmpw Date: Tue, 15 Feb 2022 12:00:12 +0000 Message-ID: References: <652bd4da8f728423eca3554b13f26e5838b96d6b.1644842271.git.wangyunjian@huawei.com> In-Reply-To: <652bd4da8f728423eca3554b13f26e5838b96d6b.1644842271.git.wangyunjian@huawei.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 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: 96efa730-a902-4651-03a7-08d9f07ab8f8 x-ms-traffictypediagnostic: DM6PR11MB2682:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1186; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dZxHxNpl/KQuqtErngRkiCKUjQCMAyH+JvKaz8glaaqDdPty0C9C2CTvae0HbAYF6eqsliwSKB7/G2FafsaZV2wEndn0X9oGireunChichzbP1V+uyFhW1i87m4/LgDjF6jRkRi6GNkCaE6rSdtjnjOZRhQYFPQH3OjyvJpaPQYUzMj3JcjgTYC9H58MMU5UAvHbGdO7X38D1s1JjqrDaMX/rV/UVUoPHC+3Xyb+Cu69WYZAVvnqvuoghtMpNJ2YEo5o1N3crlfpzWcovxe+5qBYpKpAociXAtoHBlhEs4rjFBP2q7+lqjq8Tvi6FGC1kPiCO6TRkLSN25lU0yG2mOZbF2CmzGIZW8QyCU1asfkwt9ZiZxT9VDp4O0M20UP+7Yz6t+RkM1gZ3+9GPuLctEOTIqbLzv+a3QdIlX+MUnqnF1PB23UkPb8hDdbDFXqgZ7JeIy0saKzsSuXrUB2mn0S6swmFDWKWUWsnWPbEyAxUrV08CV8+uUvtKfTlII7f5GvQtaip+WGcDa6HUR90aQHhgmlKDmOVrjpD/6XEn+KTsfoi7AvQAJT348M6DgR+P7zt3t4uyBbhRXAGW8P9d5kv0bncX1pMJLu4lWnUNA8+eD5TBoiH/sPG7MeXXlXUxRTzz++B4bcNulbRIT5amTQ486rSe7QwnPSgewBk7uGZlsLpYYmKzSgsH5Vmw/21VPbLoNhSFt1lODIfJyvohQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3495.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(55016003)(71200400001)(33656002)(2906002)(186003)(8936002)(5660300002)(4744005)(26005)(76116006)(66556008)(64756008)(53546011)(8676002)(4326008)(66476007)(82960400001)(66946007)(52536014)(122000001)(38070700005)(66446008)(6506007)(110136005)(316002)(508600001)(38100700002)(54906003)(7696005)(86362001)(83380400001)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?I+zop5KdhZvSQfT1MBuuquG7Dq9UsAMLv+AU/vvNSzyvqlyWG2ioHLUr6PuR?= =?us-ascii?Q?4+KIupWRbS+3VeamMqkDhfvrCDlMsfdLOPkp39Mhv+kV12YFHcFDM1bQfd4O?= =?us-ascii?Q?paSuVVcg0MEYFka7dRgG+3PYfQVtAZVWL9pUhwIkTSna1C+vDR6a3sDnEc7Y?= =?us-ascii?Q?D0aSm0DnM8Z0zXjt1FPkiIF1v17ilmMEbYmZ6jgZfGp1PfFD5dpMiO1S8SYf?= =?us-ascii?Q?sHu235WS8yiqXhYloizTsOOHBLhVVpp1lcf0QF6H3qifYkdxupRcyKZYyzqc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UbwqwnFiy0N+oXz8pmrmc46?= =?us-ascii?Q?nCjuXaRfmT0PI+ygzZQ8bsCYTvKq4B8r/gaJcjsODNKYLrV44ziRwrh9nW5T?= =?us-ascii?Q?LlNjltImoz4I5ccfTsMFEWA3rLz1Ih2mIflghUzyv6lVOyyJLOIOd3waHc4v?= =?us-ascii?Q?tWhg399acFc+luddB3vKybJNyQhCVnZZI30OBtwhU3ZabKNVjYHisFShGaRh?= =?us-ascii?Q?CZ8h6APjsZv8IZizgKDHUIBwWoYwDLsfbLXAxIT+dL5MZFysmPcUbdZzZDze?= =?us-ascii?Q?F/PqkFZKuclJKJTMyUrPQusz8QwwpSsY210UDGAuhd27a0KXF1jwuaz4pbWn?= =?us-ascii?Q?aGBSQvR5OtXWY8Qp/71Z2RkcbCIg9hnPc8tTOPltZ/tp4SdF390wVh/OpWDk?= =?us-ascii?Q?nB1G+hzsfAhw6muw4TsC5KZ9//AFFE3of7RqFZ8FJf9sgkJ5k5uR8NI7DfUw?= =?us-ascii?Q?CewLyGtiv0ojGAGgQ4vaSr4=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: BYAPR11MB3495.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 96efa730-a902-4651-03a7-08d9f07ab8f8 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Feb 2022 12:00:12.8011 (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: ls5LbJGmeV5Y6s13cs4N725RYow23ejKvEQ/jkjraXTSY3iNnohpQiJLgrIY7Nijeak/mygA3/kvtlZmWDOwBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2682 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 > -----Original Message----- > From: Yunjian Wang > Sent: Tuesday, February 15, 2022 18:25 > To: dev@dpdk.org > Cc: Yigit, Ferruh ; Wu, Jingjing ; Xing, Beilei > ; Wang, Haiyue ; jiawenwu@t= rustnetic.com; > jianwang@trustnetic.com; dingxiaoxiong@huawei.com; huangshaozhang@huawei.= com; Yunjian Wang > ; stable@dpdk.org > Subject: [dpdk-dev] [PATCH 1/3] net/ixgbe: set pointer to NULL after free >=20 > When ixgbe_dev_close() is cleaning up, it does not correctly set > the security_ctx variable to NULL, which will lead to wild pointer. >=20 > Fixes: 9a0752f498d2 ("net/ixgbe: enable inline IPsec") > Cc: stable@dpdk.org >=20 > Signed-off-by: Yunjian Wang > --- > drivers/net/ixgbe/ixgbe_ethdev.c | 1 + > 1 file changed, 1 insertion(+) >=20 Acked-by: Haiyue Wang > -- > 2.27.0