numam-dpdk/lib/librte_vhost
Marvin Liu af584d21bf vhost: fix batch dequeue potential buffer overflow
Similar as single dequeue, the multiple accesses of descriptor length
will lead to potential risk. One-time access of descriptor length can
eliminate this risk.

Fixes: 75ed516978 ("vhost: add packed ring batch dequeue")
Cc: stable@dpdk.org

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2021-03-31 09:34:17 +02: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: fix IOTLB mempool single-consumer flag 2020-09-18 18:55:12 +02:00
iotlb.h vhost: replace IOTLB license with SPDX tag 2019-08-05 16:06:11 +02:00
meson.build build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
rte_vdpa_dev.h vhost: fix missing header includes 2021-01-21 10:27:47 +01:00
rte_vdpa.h vhost: fix missing header includes 2021-01-21 10:27:47 +01:00
rte_vhost_async.h vhost: enhance async enqueue for small packets 2021-01-13 18:51:58 +01:00
rte_vhost_crypto.h vhost: fix missing header includes 2021-01-21 10:27:47 +01:00
rte_vhost.h vhost: get negotiated protocol features 2021-03-31 08:15:14 +02:00
socket.c vhost: remove dequeue zero-copy support 2020-09-30 23:16:56 +02:00
vdpa.c vhost: relax full barriers for used idx 2021-01-08 18:07:55 +01:00
version.map vhost: get negotiated protocol features 2021-03-31 08:15:14 +02:00
vhost_crypto.c vhost/crypto: fix feature negotiation 2020-10-16 19:18:47 +02:00
vhost_user.c vhost: optimize virtqueue structure 2021-03-31 07:48:32 +02:00
vhost_user.h vhost: support virtio status message 2020-07-11 06:18:52 +02:00
vhost.c vhost: get negotiated protocol features 2021-03-31 08:15:14 +02:00
vhost.h vhost: optimize virtqueue structure 2021-03-31 07:48:32 +02:00
virtio_crypto.h vhost: add virtio crypto header file 2018-04-14 00:43:30 +02:00
virtio_net.c vhost: fix batch dequeue potential buffer overflow 2021-03-31 09:34:17 +02:00