CVE-2026-74377 RDMA/rxe: Copy WQE to local buffer in non-SRQ receive path
설명
In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Copy WQE to local buffer in non-SRQ receive path For non-SRQ QPs, the responder reads WQE fields directly from the shared queue buffer mapped into userspace. This allows a malicious user to modify fields like num_sge or sge entries while the kernel is processing the WQE, leading to out-of-bounds reads in rxe_resp_check_length() and copy_data(). Introduce get_recv_wqe() that validates num_sge and copies the WQE to a kernel-local buffer before processing, matching the approach already used for SRQ WQEs in get_srq_wqe(). The srq_wqe buffer is reused since SRQ and non-SRQ paths are mutually exclusive per QP.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.8
해결 버전
- 4.8 미만
- 6.1.178 이상
- 6.6.145 이상
- 6.12.97 이상
- 6.18.40 이상
- 7.1.5 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/2e60378fb3c8b51c94103bb40014c4fe38fa5033 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/5420eebf3b3c162bfaf965f30e61cd1d689e5732 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9fa785137303f7109c23dea779b8dedc67c9b531 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/a211b7904aed365e4e4f08a48ec6e6dd1ea7b16b (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d6ab440240a04b8737ee4c7bb21af9182e451733 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/fc72fd61cc8b2e2e3e92ae4c0e9cc30c9a7ecb78 (새 창)