From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH] vhost: fix possible out of bound access for indirect descs Date: Mon, 21 Jan 2019 09:29:17 +0100 Message-ID: <19b8f7fd-444e-6277-fe3e-c093968b5715@redhat.com> References: <20190121081218.16343-1-tiwei.bie@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: haiyue.wang@intel.com, stable@dpdk.org To: Tiwei Bie , zhihong.wang@intel.com, dev@dpdk.org Return-path: In-Reply-To: <20190121081218.16343-1-tiwei.bie@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 1/21/19 9:12 AM, Tiwei Bie wrote: > Fix a possible out of bound access which may happen when handling > indirect descs in split ring. > > Fixes: 1be4ebb1c464 ("vhost: support indirect descriptor in mergeable Rx") > Cc: stable@dpdk.org > > Reported-by: Haiyue Wang > Signed-off-by: Tiwei Bie > --- > lib/librte_vhost/virtio_net.c | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) Reviewed-by: Maxime Coquelin Thanks, Maxime