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 A155EA0545 for ; Mon, 20 Jun 2022 07:59:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9942F427EB; Mon, 20 Jun 2022 07:59:08 +0200 (CEST) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id 7F34840150; Mon, 20 Jun 2022 07:59:06 +0200 (CEST) Received: from kwepemi100012.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4LRJnS0WZyz1K9QW; Mon, 20 Jun 2022 13:57:00 +0800 (CST) Received: from dggpemm500008.china.huawei.com (7.185.36.136) by kwepemi100012.china.huawei.com (7.221.188.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 20 Jun 2022 13:59:04 +0800 Received: from dggpemm500008.china.huawei.com ([7.185.36.136]) by dggpemm500008.china.huawei.com ([7.185.36.136]) with mapi id 15.01.2375.024; Mon, 20 Jun 2022 13:59:03 +0800 From: wangyunjian To: Slava Ovsiienko , "dev@dpdk.org" , Raslan Darawsheh CC: Matan Azrad , Michael Baum , dingxiaoxiong , xudingke , "stable@dpdk.org" Subject: RE: [dpdk-dev] [PATCH 1/1] net/mlx5: fix stack buffer overflow of hrxq's rss_key Thread-Topic: [dpdk-dev] [PATCH 1/1] net/mlx5: fix stack buffer overflow of hrxq's rss_key Thread-Index: AQHX+HNW6Wv9Fb6020CzK6qxNCmiLKyJw+yAgCKTAYCArIB/IIAADSRw Date: Mon, 20 Jun 2022 05:59:03 +0000 Message-ID: <3ce0eb9e4a8a46a4ad230715d9ec1878@huawei.com> References: <5cd9086411342c7475e3227249d3aa3a3144897d.1640314881.git.wangyunjian@huawei.com> <023022de3a00419b94cd94f6eb90734d@huawei.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.174.242.157] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Just found by sanitizer, thanks. Yunjian -----Original Message----- From: Slava Ovsiienko [mailto:viacheslavo@nvidia.com]=20 Sent: Monday, June 20, 2022 1:16 PM To: wangyunjian ; dev@dpdk.org; Raslan Darawsheh Cc: Matan Azrad ; Michael Baum ; di= ngxiaoxiong ; xudingke ; sta= ble@dpdk.org Subject: RE: [dpdk-dev] [PATCH 1/1] net/mlx5: fix stack buffer overflow of = hrxq's rss_key Hi, Yunjian My sincere apologies for the review delay. I think patch is OK, thank you for finding this. Just of curiosity - did you observe a real crash? Or just found by sanitizer? Acked-by: Viacheslav Ovsiienko With best regards, Slava