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 A5984A0548; Thu, 1 Apr 2021 14:00:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7293A1410F9; Thu, 1 Apr 2021 14:00:09 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 2B41E1410BC for ; Thu, 1 Apr 2021 14:00:07 +0200 (CEST) IronPort-SDR: kCX26pOuYl4OhNnqdJ2S0iFzZE6uG44/mabhUsH5FYcWrqf45H35BX96QUZwDITYloJAry5IQ/ m5IFiHfkhxhA== X-IronPort-AV: E=McAfee;i="6000,8403,9940"; a="179358388" X-IronPort-AV: E=Sophos;i="5.81,296,1610438400"; d="scan'208";a="179358388" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2021 05:00:05 -0700 IronPort-SDR: C62oc2JMzezAW5dmQRP/1usJdTAG5PbjuXCy1BMBoSyaLODJvSyYMht8wqb58TWF8wJNrtAbex Avz56tYKg0hg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,296,1610438400"; d="scan'208";a="446229388" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga002.fm.intel.com with ESMTP; 01 Apr 2021 05:00:04 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) 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.2106.2; Thu, 1 Apr 2021 05:00:04 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 1 Apr 2021 20:00:02 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2106.013; Thu, 1 Apr 2021 20:00:02 +0800 From: "Zhang, Qi Z" To: "Ma, WenwuX" , "Yang, Qiming" CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/ice: fix illegal pointer access in dev init Thread-Index: AQHXJqbaE8QwpxgO4kmsqWIL0Xr9R6qfj2HA Date: Thu, 1 Apr 2021 12:00:02 +0000 Message-ID: <4380a794153344d698580dcb687dd36b@intel.com> References: <20210401152031.18896-1-wenwux.ma@intel.com> In-Reply-To: <20210401152031.18896-1-wenwux.ma@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/ice: fix illegal pointer access in dev init 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 Sender: "dev" > -----Original Message----- > From: Ma, WenwuX > Sent: Thursday, April 1, 2021 11:21 PM > To: Yang, Qiming ; Zhang, Qi Z > > Cc: dev@dpdk.org > Subject: [PATCH] net/ice: fix illegal pointer access in dev init >=20 > mac_addrs in dev data should be allocated more memory space, Otherwise, > traversing mac_addrs in function eth_dev_mac_restore() will result > heap-buffer-overflow. >=20 > Signed-off-by: Wenwu Ma > --- The patch is duplicated with=20 http://patchwork.dpdk.org/project/dpdk/patch/20210317060219.2162370-1-qi.z.= zhang@intel.com/ which already be applied.