From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, PDS_BAD_THREAD_QP_64,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95567C433B4 for ; Thu, 1 Apr 2021 12:00:10 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id 1916460FF1 for ; Thu, 1 Apr 2021 12:00:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1916460FF1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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.