Skip to content

rdma: various issues in rdma/pvrdma backend

P J P qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5rdma: check that num_sge does not exceed MAX_SGEhw/rdma/rdma_backend.c+4 -41 reply
2/5pvrdma: add uar_read routinehw/rdma/vmw/pvrdma_main.c+6 -02 replies
3/5pvrdma: check number of pages when creating ringshw/rdma/vmw/pvrdma_cmd.c+9 -01 reply
4/5pvrdma: release ring object in case of an errorhw/rdma/vmw/pvrdma_cmd.c+7 -17 replies
5/5pvrdma: check return value from pvrdma_idx_ring_has_ routineshw/rdma/vmw/pvrdma_dev_ring.c+11 -51 reply

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchYuval Shaia
1/5
2/5
3/5R-b
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] rdma: various issues in rdma/pvrdma backend

From: Prasad J Pandit <[email protected]>

Hello,

Various issues OOB access, null dereference and possible infinite loop were reported in the rdma/pvrdma backends. This patch set attempts to fix these.

Thank you.
---
Prasad J Pandit (5):
rdma: check that num_sge does not exceed MAX_SGE
pvrdma: add uar_read routine
pvrdma: check number of pages when creating rings
pvrdma: release ring object in case of an error
pvrdma: check return value from pvrdma_idx_ring_has_ routines

 hw/rdma/rdma_backend.c        |  8 ++++----
 hw/rdma/vmw/pvrdma_cmd.c      | 17 ++++++++++++++++-
 hw/rdma/vmw/pvrdma_dev_ring.c | 16 +++++++++++-----
 hw/rdma/vmw/pvrdma_main.c     |  6 ++++++
 4 files changed, 37 insertions(+), 10 deletions(-)
Signature · 1 line
2.19.2