Linux kernel bug fix: RDMA/hns: Limit the length of data copied between kernel and userspace
Subsystem: rdma (drivers/infiniband/hw/hns/hns_roce_main.c)
Bug type: out-of-bounds, severity: medium
Keywords: out of bounds
Files changed: drivers/infiniband/hw/hns/hns_roce_cq.c;drivers/infiniband/hw/hns/hns_roce_main.c;drivers/infiniband/hw/hns/hns_roce_pd.c;drivers/infiniband/hw/hns/hns_roce_qp.c;drivers/infiniband/hw/hns/hns_roce_srq.c
Introduced by Lijun Ou on 2019-01-25 09:55:48 -0700; fixed by Wenpeng Liang on 2020-12-11 15:21:33 -0400 (lifetime: 686 days)