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-04-22 16:21:37 -0300; fixed by Wenpeng Liang on 2020-12-11 15:21:33 -0400 (lifetime: 232 days)