CVE-2026-74297 RDMA/mlx5: Fix undefined shift of user RQ WQE size
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 3.11
해결 버전
- 3.11 미만
- 5.10.261 이상
- 5.15.212 이상
- 6.1.178 이상
- 6.6.145 이상
- 6.12.97 이상
- 6.18.40 이상
- 7.1.5 이상
참고 자료 8건
- git.kernel.org https://git.kernel.org/stable/c/42f3d2c8c18b92ea33e506a38b64f1a8986c2823 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4b87a2497276a72fd63028e7419abf0fb7ed837b (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6fc874fdfb366bfb11c62e6af9a831c8be59ddda (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9fff54929cc00849d738faa99f06c32399aeb026 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b732db02a2b04cde393638df19de6251ce62a74e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b746f949c2ac2b041102836095d6d4a2ef21fa75 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c1dbf52d24a8cb1aa56780ba51b72e7d495f258c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d881d60223aac8fdc12b227d89c76e131e92a9cd (새 창)