cvelo
P4 · Info

RDMA/bnxt_re: Validate SRQ max_sge at create time

  • CVE-2026-143448
  • EUVD-2026-145077

Summary

In the Linux kernel's RDMA bnxt_re driver, bnxt_re_create_srq() stored the caller-supplied max_sge value without validation. Because the later num_sge check in bnxt_re_post_srq_recv() compares against this same stored value, an attacker-chosen figure could defeat that check. The fix rejects max_sge values above the device's max_srq_sges limit at creation time and clamps that device limit to BNXT_STATIC_MAX_SGE, since SRQ work requests use a fixed-size SGE array. The record gives no CVSS score and states the flaw is not on the CISA known exploited list.

AI summary · verify against the vendor advisory

Description

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    4.16none stated
    before 4.16: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.119 up to 6.12.*: not affectednone stated
    from 6.18.65 up to 6.18.*: not affectednone stated
    from 7.3.6 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.