In the Linux kernel, the following vulnerability has been resolved: RDMA/bnxt_re: Validate SRQ max_sge at create time bnxt_re_create_srq() stored attr.max_sge into srq->qplib_srq.max_sge unvalidated, which defeats the num_sge check in bnxt_re_post_srq_recv() since that check compares against this same attacker-chosen value. Reject max_sge > dev_attr->max_srq_sges at create time, and clamp dev_attr->max_srq_sges to BNXT_STATIC_MAX_SGE since SRQ WQEs use the fixed-size SGE array.
https://git.kernel.org/stable/c/a82077712572af127f71ea5606fed8b8b1c33001
https://git.kernel.org/stable/c/5f3703d392709db88a6001275d727548008f3e19
https://git.kernel.org/stable/c/53c20bf28da4dc13146f69640833c3c53e17a0b5
https://git.kernel.org/stable/c/25fd9e64d73b0b5e8bebc05803a389324b6d1ee9
https://git.kernel.org/stable/c/1894ed9a664d19c190ce1bd2146759efbae77e4b