Skip to content

Fix vhost security issues

Ferruh Yigit dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6vhost: check log mmap offset and size overflowlib/librte_vhost/vhost_user.c+3 -30 replies
2/6vhost: fix vring index checklib/librte_vhost/vhost_user.c+1 -10 replies
3/6vhost/crypto: validate keys lengthslib/librte_vhost/vhost_crypto.c+17 -00 replies
4/6vhost: fix translated address not checkedlib/librte_vhost/virtio_net.c+4 -00 replies
5/6vhost: fix potential memory space leaklib/librte_vhost/vhost_user.c+8 -10 replies
6/6vhost: fix potential fd leaklib/librte_vhost/vhost_user.c+11 -20 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchXiaolong YeIlja Van SprundelMaxime Coquelin
1/6R-b R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [dpdk-dev] [PATCH 0/6] Fix vhost security issues

From: Maxime Coquelin <[email protected]>

Marvin Liu (1):
vhost: fix translated address not checked

Maxime Coquelin (3):
vhost: check log mmap offset and size overflow
vhost: fix vring index check
vhost/crypto: validate keys lengths

Xiaolong Ye (1):
vhost: fix potential memory space leak

Xuan Ding (1):
vhost: fix potential fd leak

 lib/librte_vhost/vhost_crypto.c | 17 +++++++++++++++++
 lib/librte_vhost/vhost_user.c   | 30 +++++++++++++++++++++++-------
 lib/librte_vhost/virtio_net.c   |  4 ++++
 3 files changed, 44 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.2