CVE-2026-74297
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.
- CVSS 3.1
- 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.2% chance of exploitation in the next 30 days; higher than 7% of CVEs (scores of 2026-10-25)
- Published
- Modified
- Record from
- the NVD, synced
References
- https://git.kernel.org/stable/c/42f3d2c8c18b92ea33e506a38b64f1a8986c2823
- https://git.kernel.org/stable/c/4b87a2497276a72fd63028e7419abf0fb7ed837b
- https://git.kernel.org/stable/c/6fc874fdfb366bfb11c62e6af9a831c8be59ddda
- https://git.kernel.org/stable/c/9fff54929cc00849d738faa99f06c32399aeb026
- https://git.kernel.org/stable/c/b732db02a2b04cde393638df19de6251ce62a74e