CVE-2026-90435

RDMA/mlx5: Fix integer overflow of user QP buffer size

State
Published
Severity
7.8 High
Published
Sep 17, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before ccce6b7ef1d7efc59ccba3421e1339c6e63a3d20Affected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before d99622e40aaa910ade681dfd4dc0fa240a011331Affected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before c845e5e05140ea1bc64a5b1107942d93c876034dAffected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before 42fb8aefffff5b458aaa66803364a16e0ea44129Affected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before d7fa2ff72ad1861eac194a4e0075d504ba8c246eAffected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before 5b6cfc6d7ff0959dd9766fdc24286a253b59ca77Affected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before f917707f0de0832b8ab582391b1f64e549995c6cAffected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to before dec47e4b0fe34afdf38caa72b4408ba95502e5deAffected
LinuxLinux
  • 3.11Affected
  • before 3.11Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.