CVE-2026-143448: RDMA/bnxt_re: Validate SRQ max_sge at create time
In the Linux kernel, the following vulnerability has been resolved:
RDMA/bnxtre: Validate SRQ maxsge at create time
bnxtrecreatesrq() stored attr.maxsge into srq->qplibsrq.maxsge unvalidated, which defeats the numsge check in bnxtrepostsrqrecv() since that check compares against this same attacker-chosen value. Reject maxsge > devattr->maxsrqsges at create time, and clamp devattr->maxsrqsges to BNXTSTATICMAXSGE since SRQ WQEs use the fixed-size SGE array.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In bnxt_re_create_srq(), reject max_sge values greater than dev_attr->max_srq_sges and clamp dev_attr->max_srq_sges to BNXT_STATIC_MAX_SGE.
Event History
Frequently Asked Questions
Which systems are exposed?
Exposure is limited to Linux systems using the bnxt_re RDMA driver and creating shared receive queues (SRQs). Systems not using this driver or SRQs are not implicated by the described code path.
What input is required to trigger the issue?
The relevant caller must be able to create an SRQ and supply a max_sge value larger than the device-supported maximum. The vulnerable code stored that supplied value without validation, allowing later receive-posting checks to compare against an attacker-controlled limit.
How can I verify that the fix is present without relying on a version number?
Inspect the bnxt_re SRQ creation path for rejection of max_sge values greater than dev_attr->max_srq_sges. The device-reported max_srq_sges should also be clamped to BNXT_STATIC_MAX_SGE because SRQ WQEs use a fixed-size SGE array.