RDMA/bnxt_re: Fix input validation and lifetime bugs
v2 cover RDMA/bnxt_re: Fix input validation and lifetime bugs
This series fixes some of the bugs found while auditing bnxt_re's handling of user-supplied values and object/device lifetimes.
Please review and apply the series.
Thanks,
Selvin Xavier
v0 -> v1:
Handle review comment about clearing VM_MAYEXEC vma flag
Selvin Xavier (8):
RDMA/bnxt_re: Reject executable mappings of the DBR and toggle pages RDMA/bnxt_re: Detect wrong sge_len passed for inline RDMA/bnxt_re: Validate num_sge in bnxt_re_post_srq_recv() RDMA/bnxt_re: Validate SRQ max_sge at create time RDMA/bnxt_re: Fix rdev lifetime races in suspend/resume/shutdown RDMA/bnxt_re: Fix the PD and DPI table size
RDMA/bnxt_re: Use bnxt_ext_stats_supported for counter count selection RDMA/bnxt_re: Check is_in_used before trusting RCFW completion
drivers/infiniband/hw/bnxt_re/hw_counters.c | 6 ++-- drivers/infiniband/hw/bnxt_re/ib_verbs.c | 26 +++++++++++++---- drivers/infiniband/hw/bnxt_re/main.c | 32 ++++++++++++++++----- drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 12 +++++--- drivers/infiniband/hw/bnxt_re/qplib_res.c | 9 +++--- drivers/infiniband/hw/bnxt_re/qplib_sp.c | 2 +- 6 files changed, 64 insertions(+), 23 deletions(-)
Signature · 1 line
2.39.3