Linux kernel: RDMA/mlx5: Fix integer overflow of user QP buffer size
Overview
In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix integer overflow of user QP buffer size set_user_buf_size() computes the QP buffer size by left-shifting the user-supplied rq.wqe_cnt and rq.wqe_shift values as signed integers. A sufficiently large rq.wqe_cnt causes signed integer overflow, which is undefined behavior, and yields a small or negative buf_size, causing ib_umem_get() to map a buffer smaller than the hardware will actually write into. Replace the shifts and addition with check_shl_overflow() and check_add_overflow(), rejecting invalid user inputs. Moreover, guard the identical shift computing qp->sq.offset in _create_user_qp() before set_user_buf_size() is reached.
- Published
- 9/17/2026
- Last modified
- 10/19/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < ccce6b7ef1d7efc59ccba3421e1339c6e63a3d20 | Verify advisory | Source |
Linux Linux | ≥ e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < d99622e40aaa910ade681dfd4dc0fa240a011331 | Verify advisory | Source |
Linux Linux | ≥ e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < c845e5e05140ea1bc64a5b1107942d93c876034d | Verify advisory | Source |
Linux Linux | ≥ e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 42fb8aefffff5b458aaa66803364a16e0ea44129 | Verify advisory | Source |
Linux Linux | ≥ e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < d7fa2ff72ad1861eac194a4e0075d504ba8c246e | Verify advisory | Source |
Linux Linux | ≥ e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 5b6cfc6d7ff0959dd9766fdc24286a253b59ca77 | Verify advisory | Source |
Linux Linux | ≥ e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < f917707f0de0832b8ab582391b1f64e549995c6c | Verify advisory | Source |
Linux Linux | ≥ e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < dec47e4b0fe34afdf38caa72b4408ba95502e5de | Verify advisory | Source |
Linux Linux | 3.11 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.