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 Xi Wang on 2020-02-28 11:35:11 -0400; fixed by Wenpeng Liang on 2020-12-11 15:21:33 -0400 (lifetime: 287 days)