Go to file
Marvin Liu 134228ca39 vhost: fix split ring potential buffer overflow
In vhost datapath, descriptor's length are mostly used in two coherent
operations. First step is used for address translation, second step is
used for memory transaction from guest to host. But the interval between
two steps will give a window for malicious guest, in which can change
descriptor length after vhost calculated buffer size. Thus may lead to
buffer overflow in vhost side. This potential risk can be eliminated by
accessing the descriptor length once.

Fixes: 1be4ebb1c4 ("vhost: support indirect descriptor in mergeable Rx")
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
.ci ci: catch coredumps 2021-03-03 10:05:23 +01:00
.github/workflows ci: catch coredumps 2021-03-03 10:05:23 +01:00
app app/testpmd: fix Tx/Rx descriptor query error log 2021-03-30 16:34:48 +02:00
buildtools buildtools: fix build with busybox 2021-03-23 08:39:11 +01:00
config build: detect execinfo library on Linux 2021-03-23 08:41:05 +01:00
devtools devtools: add acronyms in dictionary for commit checks 2021-03-12 07:00:11 +01:00
doc net/mlx5: reject tunnel ID modification 2021-03-31 09:21:30 +02:00
drivers vdpa/ifc: check PCI config read 2021-03-31 08:39:14 +02:00
examples examples/vhost: check memory table query 2021-03-31 08:46:32 +02:00
kernel build: support KNI cross-compilation 2021-03-15 23:43:40 +01:00
lib vhost: fix split ring potential buffer overflow 2021-03-31 09:34:17 +02:00
license license: remove pmdinfogen from exceptions 2021-02-05 18:13:19 +01:00
usertools usertools: show hugepages requested/set on failure 2021-03-25 18:07:47 +01:00
.editorconfig devtools: add EditorConfig file 2020-02-22 21:05:22 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore regex/mlx5: introduce driver for BlueField 2 2020-07-21 19:04:05 +02:00
.travis.yml ci: update arm64 Travis jobs to Graviton2 2021-03-02 13:43:38 +01:00
ABI_VERSION version: 21.05-rc0 2021-02-15 11:08:19 +01:00
MAINTAINERS maintainers: update for telemetry 2021-03-25 17:43:32 +01:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt ethdev: install driver headers 2021-03-30 14:46:33 +02:00
meson.build build: exclude meson files from examples installation 2021-03-15 20:44:29 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 21.05-rc0 2021-02-15 11:08:19 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org