WSL2-Linux-Kernel/drivers/infiniband/hw
Amrani, Ram c75d3ec8c0 RDMA/qedr: Prevent memory overrun in verbs' user responses
Wrap ib_copy_to_udata with a function that ensures that the data
being copied over to user space isn't longer than the allowed.

Fixes: cecbcddf64 ("qedr: Add support for QP verbs")
Fixes: a7efd7773e ("qedr: Add support for PD,PKEY and CQ verbs")
Fixes: ac1b36e55a ("qedr: Add support for user context verbs")
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-07-20 11:20:50 -04:00
..
bnxt_re RDMA/bnxt_re: Fix the value reported for local ack delay 2017-07-20 11:20:50 -04:00
cxgb3 IB/cxgb3: Fix error codes in iwch_alloc_mr() 2017-07-20 11:20:49 -04:00
cxgb4 iw_cxgb4: don't use WR keys/addrs for 0 byte reads 2017-07-20 11:20:50 -04:00
hfi1 IB/{rdmavt, qib, hfi1}: Remove gfp flags argument 2017-07-17 21:21:23 -04:00
hns IB/hns: Fix for checkpatch.pl comment style warnings 2017-07-17 21:21:29 -04:00
i40iw IB/i40iw: Fix error code in i40iw_create_cq() 2017-07-20 11:20:49 -04:00
mlx4 IB/mlx4: Fix CM REQ retries in paravirt mode 2017-07-20 11:20:50 -04:00
mlx5 IB/mlx5: Fix a warning message 2017-07-20 11:20:49 -04:00
mthca IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
nes IB: Convert msleep below 20ms to usleep_range 2017-07-17 21:21:22 -04:00
ocrdma RDMA/ocrdma: Fix error codes in ocrdma_create_srq() 2017-07-20 11:20:49 -04:00
qedr RDMA/qedr: Prevent memory overrun in verbs' user responses 2017-07-20 11:20:50 -04:00
qib IB/{rdmavt, qib, hfi1}: Remove gfp flags argument 2017-07-17 21:21:23 -04:00
usnic IB/core: Rename struct ib_ah_attr to rdma_ah_attr 2017-05-01 14:32:43 -04:00
vmw_pvrdma IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
Makefile RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00