CVE-2026-74297

RDMA/mlx5: Fix undefined shift of user RQ WQE size

HIGH
7.8
CVSS Score
Published: August 15, 2026 at 05:58 AM UTC
Updated: October 16, 2026 at 07:17 PM 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.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix undefined shift of user RQ WQE size set_rq_size() computes the RQ WQE size as "1 << rq_wqe_shift" based on the user-provided rq_wqe_shift, which is only checked to be greater than 32, so shifts of 32 are still accepted. A shift of 31 also overflows a signed integer, leading to undefined behavior. Use check_shl_overflow() to compute the RQ WQE size and reject any invalid values.

Affected

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

3.11e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c
Vendor states this is fixed in 42f3d2c8c18b92ea33e506a38b64f1a8986c2823 (fixed)
Vendor states this is fixed in 4b87a2497276a72fd63028e7419abf0fb7ed837b (fixed)
Vendor states this is fixed in 6fc874fdfb366bfb11c62e6af9a831c8be59ddda (fixed)
Vendor states this is fixed in 9fff54929cc00849d738faa99f06c32399aeb026 (fixed)
Vendor states this is fixed in b732db02a2b04cde393638df19de6251ce62a74e (fixed)
Vendor states this is fixed in b746f949c2ac2b041102836095d6d4a2ef21fa75 (fixed)
Vendor states this is fixed in c1dbf52d24a8cb1aa56780ba51b72e7d495f258c (fixed)
Vendor states this is fixed in d881d60223aac8fdc12b227d89c76e131e92a9cd (fixed)
Vendor states this is fixed in 3.11 (unaffected)
Vendor states this is fixed in 5.10.261 (unaffected)
Vendor states this is fixed in 5.15.212 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.97 (unaffected)
Vendor states this is fixed in 6.18.40 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.5 (unaffected)
Vendor states this is fixed in 7.2 (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.

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

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