KernelScan.io

HIGH Introduced in 6.15

rxe OdpMrInit UAF

CVE-2026-90423

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI7.5HIGH

01

In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix UAF in ODP init error-handling path rxe_odp_mr_init_user() stores &umem_odp->umem in mr->umem before calling rxe_odp_init_pages(). If rxe_odp_init_pages() fails, rxe_odp_mr_init_user() releases umem_odp and returns an error. rxe_reg_user_mr() then unwinds the error through rxe_cleanup(), rxe_mr_cleanup(), ib_umem_release(mr->umem). There is an IS_ERR_OR_NULL(umem) check at the start of ib_umem_release(). But since mr->umem is NOT reset to NULL in the error handling path of rxe_odp_mr_init_user(), the check passes and it reads already-freed fields like umem->is_dmabuf, causing UAF. Fix the UAF by clearing mr->umem after releasing the failed ODP umem so the MR cleanup path does not release it again.

02

Engine v0.6.0

Risk summary

A local process with access to an RXE RDMA device can trigger a use-after-free in the ODP memory registration error path, leading to kernel memory corruption. The bug requires the RXE driver with ODP support to be loaded and an RDMA device configured, but the triggering operation itself is an unprivileged verbs API call. Impact ranges from denial of service to potential arbitrary kernel read/write if heap grooming succeeds.

Affecteddrivers/infiniband/sw/rxe/rxe_odp.c (RDMA/rxe)

Vulnerability analysis

When registering an On-Demand Paging memory region through the RXE software RDMA driver, an error during page initialization causes the driver to free the ODP memory object while a dangling pointer to it remains stored in the memory region structure. The subsequent error-cleanup path follows this stale pointer and reads fields from already-freed memory, resulting in a use-after-free. The fix clears the pointer immediately after the error-path free so the cleanup path skips the already-released object. This is reachable from any local process that has access to an RXE RDMA device and can issue a user memory-region registration request with ODP enabled; it does not require root, only device file access.

03

BranchIntroducedFixed inPatch commit
6.186.156.18.525f1933163327
7.26.157.2.64cfb448705da
mainline6.157.351f2c8d2c99f