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 6FF2FA0C43; Wed, 12 May 2021 10:54:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E973E4003F; Wed, 12 May 2021 10:54:17 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 4F6334003E for ; Wed, 12 May 2021 10:54:15 +0200 (CEST) IronPort-SDR: GmoZIKfjRqw8Ro0FrUz1dmpxgjXiY3GYw/O6oPGoAW/hxqblCucpC4+oyPPa2VMrFW/jHW4BdO Wh93taufoF0w== X-IronPort-AV: E=McAfee;i="6200,9189,9981"; a="197677105" X-IronPort-AV: E=Sophos;i="5.82,293,1613462400"; d="scan'208";a="197677105" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2021 01:54:11 -0700 IronPort-SDR: bHZ4Wy90xPpzjpRFKADyutKyPY+PlVKOpGOYn1NVZzU0nyOUn8zZM1ZZAEVRdSAn0kiDl9ZDBx bUbq00Jgj0CQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,293,1613462400"; d="scan'208";a="541990994" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga004.jf.intel.com with ESMTP; 12 May 2021 01:54:10 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 12 May 2021 01:54:10 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX606.ccr.corp.intel.com (10.109.6.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 12 May 2021 16:54:08 +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; Wed, 12 May 2021 16:54:08 +0800 From: "Zhang, Qi Z" To: "Wang, Jie1X" , "dev@dpdk.org" CC: "Yang, Qiming" Thread-Topic: [PATCH] net/ice: fix VSI array out of bounds Thread-Index: AQHXRuhNMPAJb5oBBUm/RXhLHXbQ+6rfisKw Date: Wed, 12 May 2021 08:54:08 +0000 Message-ID: References: <20210512022722.4732-1-jie1x.wang@intel.com> In-Reply-To: <20210512022722.4732-1-jie1x.wang@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 VSI array out of bounds 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: Wang, Jie1X > Sent: Wednesday, May 12, 2021 10:27 AM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Wang, Jie1X > Subject: [PATCH] net/ice: fix VSI array out of bounds >=20 > In the loop, when the index of array "vsi->rss_key" is equal to > "vsi->rss_key_size", the array will be out of bounds. >=20 > Fixes: 50370662b727 ("net/ice: support device and queue ops") Cc: stable@dpdk.org >=20 > Signed-off-by: Wang Jie Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi