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.
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw occurs during the calculation of receive queue (RQ) work queue element (WQE) size in the Linux kernel RDMA/mlx5 driver. The calculation uses a left shift based on a user‑provided value that is only checked to be greater than 32, allowing shifts of 32 or 31. Shifting a signed integer by 31 bits overflows, leading to undefined behavior inside the kernel. Undefined behavior can manifest as incorrect memory access or corruption, potentially causing system instability, denial of service, or further security breaches. The impact is therefore tied to kernel reliability and integrity.

Affected Systems

All Linux kernel releases that include the RDMA/mlx5 driver before the patch were affected. The vulnerability exists in the kernel’s RDMA subsystem, and any kernel image that accepts the user‑provided shift value without proper bounds checking could exercise the defect. The exact version range is not specified, but any kernel prior to the commit that introduced the fix is susceptible.

Risk and Exploitability

The CVSS score is 7.8, EPSS score < 1%, so the exploitation probability remains low, but the high severity indicates significant risk. The vulnerability is not listed in CISA KEV catalog. Based on the description, the likely attack vector involves an application that configures the RDMA device with a user‑supplied rq_wqe_shift value. A malicious actor could supply a large shift to trigger the undefined behavior, potentially causing a kernel panic or memory corruption. Administrators should treat the risk as significant due to the kernel-level impact, especially in environments that rely on RDMA services.

Generated by OpenCVE AI on August 22, 2026 at 02:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that contains the check_shl_overflow fix for the mlx5 driver
  • If an immediate kernel upgrade is not possible, restrict or disable RDMA interfaces in the affected systems to prevent the use of the vulnerable shift operation
  • Monitor system logs for kernel crashes or OOPS messages that may indicate exploitation attempts

Generated by OpenCVE AI on August 22, 2026 at 02:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 01:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
CWE-20

Fri, 21 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1335
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
CWE-20

Mon, 17 Aug 2026 10:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
CWE-467

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 15 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
CWE-467

Sat, 15 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
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.
Title RDMA/mlx5: Fix undefined shift of user RQ WQE size
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:45:36.087Z

Reserved: 2026-08-15T05:44:03.882Z

Link: CVE-2026-74297

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:29.307

Modified: 2026-08-17T06:19:23.803

Link: CVE-2026-74297

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74297 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T03:00:12Z

Weaknesses
  • CWE-1335

    Incorrect Bitwise Shift of Integer