CVE-2026-139415

RDMA/siw: Enforce IB_ACCESS_REMOTE_READ for read responses

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability in the Linux kernel's RDMA subsystem allows a malicious remote peer to read from memory regions that were only registered with write‑only access. Because the kernel mistakenly passes zero permission bits when constructing RDMA read responses, the normal access check always succeeds. The affected code path could expose arbitrary confidential data to an attacker that is able to establish a RDMA session to the vulnerable host. The weakness corresponds to an improper access control failure, allowing unauthorized memory reads.

Affected Systems

Any system running the Linux kernel that exposes RDMA services via the System Programming Interface (siw) is affected. The basic product is the Linux kernel; no specific kernel versions are listed in the advisory, so all kernels compiled with the vulnerable siw implementation are at risk until the fix is applied.

Risk and Exploitability

The lack of explicit CVSS or EPSS metrics in the advisory means the exact severity and exploitation probability are not quantified. Nevertheless, the flaw permits a remote attacker that can communicate over RDMA to a target machine to arbitrarily read memory that should be protected, thus breaching confidentiality. It does not require elevated privileges on the victim host, so the attack vector is remote. Because the vulnerability is in a low‑level kernel subsystem, a successful exploitation would likely require an attacker to have RDMA connectivity to the target, which may be limited in many environments but can be significant in data center or HPC contexts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that enforces IB_ACCESS_REMOTE_READ for RDMA read responses. The commit series referenced in the advisory implements the fix.
  • If a kernel upgrade is not immediately possible, disable RDMA on the host by removing or unloading the relevant device drivers or by setting the "rdma" module parameters to prevent new endpoints.
  • Review memory registration practices and ensure that any memory regions that should not be readable by remote peers are registered without the IB_ACCESS_REMOTE_READ flag. Adjust application code to call ibv_reg_mr with the appropriate access bits.

Generated by OpenCVE AI on November 30, 2026 at 22:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
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.
Title RDMA/siw: Enforce IB_ACCESS_REMOTE_READ for read responses
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM