CVE-2026-72497: RDMA/bnxt_re: Add a max slot check for SQ
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
RDMA/bnxt_re: Add a max slot check for SQ
The variable WQE mode must be validated against the maximum slots supported by HW. The max supported value is 64K. Adding a max and min check and fail if user supplied value is more than the max supported and zero.
The Linux kernel CVE team has assigned CVE-2026-72497 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.12 with commit d8ea645d6984c84a87032063a0941f15a323831f and fixed in 7.1.5 with commit a59d815cbe667929b693b5fa6716a074e6a31c5b Issue introduced in 6.12 with commit d8ea645d6984c84a87032063a0941f15a323831f and fixed in 7.2-rc1 with commit dc95931b7e1326dacae547874bf38c092e5960d8
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-72497
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/infiniband/hw/bnxt_re/ib_verbs.c
drivers/infiniband/hw/bnxt_re/qplib_sp.h
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/a59d815cbe667929b693b5fa6716a074e6a31c5b https://git.kernel.org/stable/c/dc95931b7e1326dacae547874bf38c092e5960d8