[dpdk-stable] [PATCH] vhost: fix possible out of bound access for indirect descs

Maxime Coquelin maxime.coquelin at redhat.com
Mon Jan 21 09:29:17 CET 2019



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 at dpdk.org
> 
> Reported-by: Haiyue Wang <haiyue.wang at intel.com>
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
>   lib/librte_vhost/virtio_net.c | 8 ++------
>   1 file changed, 2 insertions(+), 6 deletions(-)


Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the stable mailing list