RDMA/siw: Enforce IB_ACCESS_REMOTE_READ for read responses
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
RDMA/siw: Enforce IB_ACCESS_REMOTE_READ for read responses
When generating an RDMA READ response (SIW_OP_READ_RESPONSE), siw_check_sgl_tx() unconditionally passes 0 as the required permission mask:
/* Reference memory to be tx'd w/o checking access for LOCAL_READ */ rv = siw_check_sgl_tx(qp->pd, wqe, 0);
Because perms is 0, siw_check_mem()'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 (IB_ACCESS_REMOTE_WRITE) without IB_ACCESS_REMOTE_READ.
Enforce that the target memory region was granted IB_ACCESS_REMOTE_READ when answering SIW_OP_READ_RESPONSE work queue entries, while preserving perms = 0 for standard local sends.
| Product | Versions |
|---|---|
| Linux Linux | b9be6f18cf9ed04dd8087cb9d69de6e90d8ceb08 to before d883545e1013e5e51950953da8263bdfeffe3655 Affectedb9be6f18cf9ed04dd8087cb9d69de6e90d8ceb08 to before 2eade141d282377a900f6a006656846cf27825a5 Affectedb9be6f18cf9ed04dd8087cb9d69de6e90d8ceb08 to before 5c501a5dab51d44166c22947a552eb5418fef904 Affectedb9be6f18cf9ed04dd8087cb9d69de6e90d8ceb08 to before 9df68097f91bf212af73897da54ef9cea96b0014 Affectedb9be6f18cf9ed04dd8087cb9d69de6e90d8ceb08 to before c3e1df0c0861fe752b46cc402953604c68d3517d Affectedb9be6f18cf9ed04dd8087cb9d69de6e90d8ceb08 to before c7c14408aa2eb50d8bde6d95bc7244b10098cb5e Affectedb9be6f18cf9ed04dd8087cb9d69de6e90d8ceb08 to before 176a278074403f7e1594f4d25809f9d5fa7bca67 Affectedb9be6f18cf9ed04dd8087cb9d69de6e90d8ceb08 to before f74eac4fc6c56274fb96c2c44ffad8f01c325f17 Affected |
| Linux Linux | 5.3 Affectedbefore 5.3 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/d883545e1013e5e51950953da8263bdfeffe3655
- https://git.kernel.org/stable/c/2eade141d282377a900f6a006656846cf27825a5
- https://git.kernel.org/stable/c/5c501a5dab51d44166c22947a552eb5418fef904
- https://git.kernel.org/stable/c/9df68097f91bf212af73897da54ef9cea96b0014
- https://git.kernel.org/stable/c/c3e1df0c0861fe752b46cc402953604c68d3517d
- https://git.kernel.org/stable/c/c7c14408aa2eb50d8bde6d95bc7244b10098cb5e
- https://git.kernel.org/stable/c/176a278074403f7e1594f4d25809f9d5fa7bca67
- https://git.kernel.org/stable/c/f74eac4fc6c56274fb96c2c44ffad8f01c325f17
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.