CVE-2026-139357

RDMA/rxe: bound the ODP page index against the umem in rxe_check_pagefault()

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/rxe: bound the ODP page index against the umem in rxe_check_pagefault()

An ODP MR has a page array, map.pfn_list[]. Its size is computed from
the umem start address. But rxe_check_pagefault() builds the index into
that array from an iova that is relative to the same start, while the
access itself was range-checked against the MR's iova (ibmr.iova).

Those two bases do not have to match. reg_mr only requires that start
and hca_va have the same page offset, so a user can register an MR with
hca_va = start + N*PAGE. The difference then becomes an index skew of
(hca_va - start) >> PAGE_SHIFT. Nothing compares the result with the
size of pfn_list[], so the read goes past the end of the array.

An unprivileged local user can reach this with a single RDMA operation
on a self-connected rxe QP. KASAN reports a slab-out-of-bounds read. If
the out-of-bounds qword happens to look like a writable HMM pfn, rxe
then copies the payload into a page the user never registered.

Reject an index that falls outside the umem and take the fault path
instead. That path rejects the out-of-range access in
ib_umem_odp_map_dma_and_lock(), which does check the umem range. The
other users of pfn_list[], __rxe_odp_mr_copy() and the atomic helpers,
run only after a successful map, so this single check covers them too.

Analysis

AI-generated

Technical impact

The vulnerability arises from an improper bound check in the Linux kernel’s RDMA/Remote Direct Memory Access driver (rxe). When a user registers a Memory Region with an HCA virtual address that is offset from the start address, the kernel computes an index into an internal page array based on the raw iova. The index calculation does not validate that the resulting offset is within the array bounds. This omission can cause an out‑of‑bounds read of the page array, and if the data read resembles a valid page frame number, the driver may copy the payload into that page. An attacker with local access can trigger this behavior with a single RDMA operation on a self‑connected queue pair, potentially reading or overwriting sensitive kernel data and achieving local privilege escalation.

Affected Systems

The flaw is present in the Linux kernel’s RDMA/rxe subsystem. Because the code path is part of the core kernel, any system running a kernel version that includes the vulnerable rxe implementation but has not applied the patch is exposed. The patch is referenced by several commit hashes (e.g., 4780b472cc01e1e3eaaa1e39be20a8100b4d7464). Upgrading to a kernel that incorporates these commits protects against the vulnerability.

Risk and Exploitability

The CVSS score is not supplied, and EPSS is unavailable, but the vulnerability is listed as not in the CISA KEV catalog and is exploitable by any local user capable of using RDMA operations. The lack of a range check constitutes a classic out‑of‑bounds read (CWE‑125), and the potential to copy payload to arbitrary kernel memory raises the risk to a high severity. Operators should evaluate whether RDMA services are required and consider disabling the rxe driver if possible.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that contains commit 4780b472cc01e1e3eaaa1e39be20a8100b4d7464 or later; the patch restores bounds checking in rxe_check_pagefault().
  • If a full kernel upgrade cannot be performed immediately, disable the RDMA/rxe driver at boot by setting rxe_disable=y or removing the module entirely to prevent the vulnerable code from loading.
  • Reboot the system after the kernel or driver update so that the fix takes effect.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-125
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: bound the ODP page index against the umem in rxe_check_pagefault() An ODP MR has a page array, map.pfn_list[]. Its size is computed from the umem start address. But rxe_check_pagefault() builds the index into that array from an iova that is relative to the same start, while the access itself was range-checked against the MR's iova (ibmr.iova). Those two bases do not have to match. reg_mr only requires that start and hca_va have the same page offset, so a user can register an MR with hca_va = start + N*PAGE. The difference then becomes an index skew of (hca_va - start) >> PAGE_SHIFT. Nothing compares the result with the size of pfn_list[], so the read goes past the end of the array. An unprivileged local user can reach this with a single RDMA operation on a self-connected rxe QP. KASAN reports a slab-out-of-bounds read. If the out-of-bounds qword happens to look like a writable HMM pfn, rxe then copies the payload into a page the user never registered. Reject an index that falls outside the umem and take the fault path instead. That path rejects the out-of-range access in ib_umem_odp_map_dma_and_lock(), which does check the umem range. The other users of pfn_list[], __rxe_odp_mr_copy() and the atomic helpers, run only after a successful map, so this single check covers them too.
Title RDMA/rxe: bound the ODP page index against the umem in rxe_check_pagefault()
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