numam-dpdk/lib/librte_vhost
Tiwei Bie 4800639000 vhost: fix access for indirect descriptors
Fix a possible out of bound access which may happen when handling
indirect descs in split ring.

Fixes: 1be4ebb1c4 ("vhost: support indirect descriptor in mergeable Rx")
Cc: stable@dpdk.org

Reported-by: Haiyue Wang <haiyue.wang@intel.com>
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2019-01-24 10:08:31 +01:00
..
fd_man.c vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
fd_man.h vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
iotlb.c vhost: flush IOTLB cache on new mem table handling 2018-08-05 01:47:47 +02:00
iotlb.h vhost: flush IOTLB cache on new mem table handling 2018-08-05 01:47:47 +02:00
Makefile vhost/crypto: fix shared lib build without cryptodev 2018-10-26 22:14:05 +02:00
meson.build vhost: add config flag for postcopy 2018-10-18 10:24:39 +02:00
rte_vdpa.h vhost: provide helpers for virtio ring relay 2018-12-21 16:22:40 +01:00
rte_vhost_crypto.h vhost/crypto: use separate session mempools 2019-01-10 16:57:22 +01:00
rte_vhost_version.map vhost: provide helpers for virtio ring relay 2018-12-21 16:22:40 +01:00
rte_vhost.h vhost: restrict postcopy live-migration enablement 2018-10-18 10:24:39 +02:00
socket.c vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
vdpa.c vhost: fix possible dead loop in relay helpers 2019-01-14 17:44:29 +01:00
vhost_crypto.c vhost/crypto: fix possible out of bound access 2019-01-14 17:44:29 +01:00
vhost_user.c vhost: fix memory leak on realloc failure 2019-01-18 09:47:26 +01:00
vhost_user.h vhost: remove unused function prototype 2019-01-18 09:47:26 +01:00
vhost.c vhost: remove unused function 2018-12-21 16:22:40 +01:00
vhost.h vhost: batch used descs chains write-back with packed ring 2018-12-21 16:22:41 +01:00
virtio_crypto.h vhost: add virtio crypto header file 2018-04-14 00:43:30 +02:00
virtio_net.c vhost: fix access for indirect descriptors 2019-01-24 10:08:31 +01:00