CVE-2026-74297 RDMA/mlx5: Fix undefined shift of user RQ WQE size

High 7.8 Published Updated

A local attacker can trigger undefined behavior via integer overflow in RDMA WQE size calculation, potentially causing denial of service or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-74297?

CVE-2026-74297 is a high-severity vulnerability in Linux, published on 15 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2026-74297?

How do I fix CVE-2026-74297?

Apply the vendor's patch.

Is CVE-2026-74297 being exploited?

There is no known exploitation of CVE-2026-74297 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-74297, DEBIAN-CVE-2026-74297, GHSA-p4jx-gh49-76wv, UBUNTU-CVE-2026-74297.

Is CVE-2026-74297 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free