CVE-2026-139415: RDMA/siw: Enforce IB_ACCESS_REMOTE_READ for read responses
In the Linux kernel, the following vulnerability has been resolved:
RDMA/siw: Enforce IBACCESSREMOTEREAD for read responses
When generating an RDMA READ response (SIWOPREADRESPONSE), siwchecksgltx() unconditionally passes 0 as the required permission mask:
/ Reference memory to be tx'd w/o checking access for LOCALREAD / rv = siwchecksgltx(qp->pd, wqe, 0);
Because perms is 0, siwcheckmem()'s authorization test: if ((mem->perms & perms) < perms) evaluates to (mem->perms & 0) < 0, which is always false. Consequently, an untrusted remote peer can issue an RDMA Read targeting any valid STag in the Protection Domain, even if the memory was registered strictly as write-only (IBACCESSREMOTEWRITE) without IBACCESSREMOTEREAD.
Enforce that the target memory region was granted IBACCESSREMOTEREAD when answering SIWOPREADRESPONSE work queue entries, while preserving perms = 0 for standard local sends.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1
Event History
Frequently Asked Questions
Who can exploit this issue?
An untrusted remote RDMA peer can exploit it. The peer must be able to issue an RDMA Read targeting a valid STag within the relevant Protection Domain.
What memory can be exposed?
Memory registered with IB_ACCESS_REMOTE_WRITE but without IB_ACCESS_REMOTE_READ can be read through an RDMA Read response. The missing permission check allows reads of any valid STag in the Protection Domain.
Does the permission change affect normal local sends?
No. The fix enforces IB_ACCESS_REMOTE_READ for SIW_OP_READ_RESPONSE handling while retaining a zero permission mask for standard local sends.