CVE-2026-90435

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

HIGH
7.8
CVSS Score
Published: September 17, 2026 at 04:09 PM UTC
Updated: October 19, 2026 at 09:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.11e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c
Vendor states this is fixed in 42fb8aefffff5b458aaa66803364a16e0ea44129 (fixed)
Vendor states this is fixed in 5b6cfc6d7ff0959dd9766fdc24286a253b59ca77 (fixed)
Vendor states this is fixed in c845e5e05140ea1bc64a5b1107942d93c876034d (fixed)
Vendor states this is fixed in ccce6b7ef1d7efc59ccba3421e1339c6e63a3d20 (fixed)
Vendor states this is fixed in d7fa2ff72ad1861eac194a4e0075d504ba8c246e (fixed)
Vendor states this is fixed in d99622e40aaa910ade681dfd4dc0fa240a011331 (fixed)
Vendor states this is fixed in dec47e4b0fe34afdf38caa72b4408ba95502e5de (fixed)
Vendor states this is fixed in f917707f0de0832b8ab582391b1f64e549995c6c (fixed)
Vendor states this is fixed in 3.11 (unaffected)
Vendor states this is fixed in 5.10.270 (unaffected)
Vendor states this is fixed in 5.15.221 (unaffected)
Vendor states this is fixed in 6.1.188 (unaffected)
Vendor states this is fixed in 6.12.110 (unaffected)
Vendor states this is fixed in 6.18.52 (unaffected)
Vendor states this is fixed in 6.6.157 (unaffected)
Vendor states this is fixed in 7.2.6 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card