Bug 2516781 (CVE-2026-74297) - CVE-2026-74297 kernel: RDMA/mlx5: Fix undefined shift of user RQ WQE size
Summary: CVE-2026-74297 kernel: RDMA/mlx5: Fix undefined shift of user RQ WQE size
Keywords:
Status: NEW
Alias: CVE-2026-74297
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 06:33 UTC by OSIDB Bzimport
Modified: 2026-08-20 15:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-15 06:33:10 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.