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 A7FE3A0547 for ; Wed, 31 Mar 2021 09:49:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9732A140DE7; Wed, 31 Mar 2021 09:49:04 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id D205740141; Wed, 31 Mar 2021 09:48:55 +0200 (CEST) IronPort-SDR: uIwMj0cMkIWoP4X3sL5R1SofbPPJS8b9IeR6S5MNPBy7mUVDQRswzsBCVvKcm66wxYwU9L5YSF BlEf8qN2EElQ== X-IronPort-AV: E=McAfee;i="6000,8403,9939"; a="189704086" X-IronPort-AV: E=Sophos;i="5.81,293,1610438400"; d="scan'208";a="189704086" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2021 00:48:50 -0700 IronPort-SDR: vqNbXtwoqvBoNAx3ezDquihQHu60SmlFs1/BqG/9LZyEQmJiusP5ci+db0yZbsLgsEte+tWF/e gG8wdv723ZYg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,293,1610438400"; d="scan'208";a="610396842" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga005.fm.intel.com with ESMTP; 31 Mar 2021 00:48:30 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 31 Mar 2021 00:48:30 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Wed, 31 Mar 2021 00:48:30 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Wed, 31 Mar 2021 00:48:30 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n9/QpDnvtEVXvBoys+7e/43yV+uE4AxzE2QINZi7ZpSe+zkdJr+VYWjYe/oXkDfRdUkfBBHrfS3hp2umXdwskR7/YsN2AiEEtvr/3Do6YO+0Oj0uE1NlOfQOCG+FKo8EZJFVOJU2AxhZuwf1kBsHGay5QRzToWw/MVk1yczZYrWAAGFKwCeQcV2iSIxkb45vqlJb5l1hvHRlCDaNpnPVLCIw37EkH+Qs500VTq14HSz8qNmrM0cy2uEkicGXKLM7xbws0897ZnsPnDKlDEK/KyjbCbmBt0FRy2uypxFKcTzWgOkr7CAkzt+JqppgtiUyyCXfBv3/cYGz4yjywuloPg== 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-SenderADCheck; bh=VfFmLN2G6Yssh1Wg0ZC69/Lnr++3TxW0r4Y4L666nDM=; b=S5d23KakjDZik9wPdwMYkHN8Jkm0selqf5TkvccJCLvcxcGzmnZMkOgZrpvdnexORNYpbj3QCS8KrzZhmQWq11basgyT/qIgtnJli7cxmrIacXCa8gFCYLwaqdnbfNIlC9FHAoDQX+L/Gnq5c8jsA33lpYhDnpBmkXtfpQOWgW2v7Ccy7x7zqGo6w/FcJD5cg9V17bYru8TMzkE0HMY92egmpx0YIPwLC2OoUyXOrpzcFc0Xy22RHWYADWpJGqmv+8d17HoSl21SsyQhuptzQNFr5ooiq3a5MKCFa5586t6jr5NmqHM40bBWQzOiMywAhmA2CVeAeQO/CV3jwhZ9+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VfFmLN2G6Yssh1Wg0ZC69/Lnr++3TxW0r4Y4L666nDM=; b=pQld9EV69LUzYTFHjRNgHjLBg5CVEEzA2iyjVHWiCYuT/xejtA6bkDuh8CNGsKiqd2VxzXa19ozeu+cuLUa0ObY+WNSKjMm7ncMZnKr6eD89bQO9uHv5WCGK5yWEJ9VdZSbLO5/d4LBVyqyugKuyBYocbAfAyv0p+ny3ZUasg8s= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3678.namprd11.prod.outlook.com (2603:10b6:208:f8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.29; Wed, 31 Mar 2021 07:48:25 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4949:e7d9:9632:6fc7]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4949:e7d9:9632:6fc7%6]) with mapi id 15.20.3977.033; Wed, 31 Mar 2021 07:48:25 +0000 From: "Xia, Chenbo" To: "Liu, Yong" , "maxime.coquelin@redhat.com" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH 1/3] vhost: fix split ring potential buffer overflow Thread-Index: AQHXJfovQTu9Wh8SrUau41AQyxpFKqqduFow Date: Wed, 31 Mar 2021 07:48:25 +0000 Message-ID: References: <20210331064939.56107-1-yong.liu@intel.com> In-Reply-To: <20210331064939.56107-1-yong.liu@intel.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.56] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 837019c8-3bd3-4a9d-566c-08d8f4195d84 x-ms-traffictypediagnostic: MN2PR11MB3678: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: w9G3FV0Rg4Gt/eQE+RxyqvzRVqOA0NzLv7AHrofyMGgcpAV9u6mVHNSI9Lbh7XFsHAMQ4l+MRqFiFf5HM2NINnKiW5yyX87BDy1EpmIbdxNCLE+lSw7Cn2itxUeGEgGD9fZZJp0R+3tgoX5tNz92ym0q/qbUOUXjxC8s6boUWRzcqb/QZdKSYc9FnZoysHeX8L148vwL8E39eochp5KEv2nXL7yILbO93OL4E12nMbf4Ep59gv//D3Nd6PtYrey06POW+apLYQU7E+eWRreKGorONbTeqBc1qa0659UZMMrvDtdKlzxY5F3b8zPyGIxAnO/xueZ+LGvdJGcfuNQZYMB/dtij5PXcouxwDFJC6VUaDF3kiydZF+vKEwcLUgfdUDks0k9e8+d+rH0baoDy9CNnDL2/0wmlBcXM0r9NYPQ0EPv985IgNgdtvvQv8t12NViHHPO3Yam8WxFeuR5FsITezZRnOUzpsUY/NwgQM+oFEHvSknj3lHWFbJFXV/gBWln/Lk0BvhUNFc9LkxoRvDNEjJ+c+amRklR5Q62R6VcUdd1x61XlcWKZXaHmLhydTbvgJVMpfRdukOMDcpyTEoKOs6HoZIimflRPwDsmPUm6jJ+M+0Cw68T25jK1uUsTE6iVwe1yxr51HFBtOiDxwh+my+e5EdpL5w0UW/IvPgE= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(376002)(396003)(136003)(366004)(346002)(53546011)(6506007)(76116006)(2906002)(66946007)(4326008)(66476007)(64756008)(4744005)(316002)(86362001)(66556008)(7696005)(38100700001)(9686003)(54906003)(110136005)(52536014)(478600001)(33656002)(8676002)(26005)(83380400001)(71200400001)(5660300002)(55016002)(66446008)(186003)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?b2VwVlVqQVFsUjd4elg0RmxGM1Y0U2FhMkk5N3l5T0U1NlFvMEZCSUhoQkhy?= =?utf-8?B?bklzaDlpTVkzTnZQSW05OHNMdlNjaFB6emJXNytKL0dieUgxRDEzblJUeGZJ?= =?utf-8?B?VCs2cE9ZUytmME1oZnV2emZUVHB3RDY2L25GNGtWSUhDd3l3S0lEN3dIbXNS?= =?utf-8?B?ZUcvc0VUQTJsd2tyUWVlNlpsRVp3Q2tya1FLVUZiZkJUTDJZK013b01UWDRr?= =?utf-8?B?WjV0L05UMEUxaTF6U29OVCsyZmpPNUNhMWd5a0s2K1c2Ty9FRmUwK3NPeVZE?= =?utf-8?B?T0lsb2w2RzdEL3NqWnJlUlJlME1Kc1NsOC85SnZjcXU5NjFMOXJ5SE9IWS9X?= =?utf-8?B?R0VRNzgwK0ErUUQ1d1NFdy9LV05oSzcwdFVuV0ZVL0tRYWRrSWQrQktIak5K?= =?utf-8?B?UlMrelpJVUo2dit5WFhZaWJSNk9FditkN251Q0tDNFdrV2pma01wZ0hMT1JK?= =?utf-8?B?NU41ZnI1eHQyN21US0NKQU4zMDROMnkyVUl5ZTNpN1YzbGRBRWEwcVkxUnZH?= =?utf-8?B?YWRmejBnMWROcjJtNHBBRCtuU3cxa05QNEQ2V3ArY0hTa1ROZ3kxc3NiZHdI?= =?utf-8?B?Q2lvbmlHL01UdU9LcVFEQjRYNW9nUytGQ0ZsOGc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XlHYjJ6eDVqMmQ1NC9RSEdueW5LZDR0UnFPQUlBaEFodGlMUmRTd1V5dXBZ?= =?utf-8?B?eGdNODJvcUZKd0VGRWh4MnlWRDFpTXl2NkdtdE9SWlJnZE14UHhrZkZmZmRJ?= =?utf-8?B?WGo1cDNIVzc3NGdEWFpaUWRzQUZQT1NYZ0hnUkY2VjFqb3p5aFBTdCtEdWRO?= =?utf-8?B?clYzUWlKSWF1b01CTFFiQ2R6dENIVko5R3JwWnViWTFtRFhXTGwrRVljYVZU?= =?utf-8?Q?orpoqt/BR3AavGfz0I=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 837019c8-3bd3-4a9d-566c-08d8f4195d84 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Mar 2021 07:48:25.1529 (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: CpWHwphpsK6/kHd91eQENWN2dqD/CGkzNqZuJr3PQBMOUNp9sOKPetObRYo8dEkQzd7BCCbFJaae56U9Uk4BLQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3678 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [PATCH 1/3] vhost: fix split ring potential buffer overflow 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 Sender: "stable" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBMaXUsIFlvbmcgPHlvbmcubG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