CVE-2026-139358: RDMA/rxe: reject IB_WR_REG_MR from user QPs in rxe_reg_fast_mr()

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

RDMA/rxe: reject IBWRREGMR from user QPs in rxeregfastmr()

IBWRREGMR is documented as kernel-only ("can not be issued by userspace"), but nothing enforces it. rxewropcodeinfo[IBWRREGMR] sets WRLOCALOPMASK for IBQPTRC, a QP type userspace can create, so a user QP that writes opcode = IBWRREGMR into its mmap'd SQ ring reaches rxedolocalops() -> rxeregfastmr(). That function then trusts the ring-supplied fields:

struct rxemr mr = tormr(wqe->wr.wr.reg.mr); ... if (unlikely(mr->state != RXEMRSTATEFREE)) / deref / ... mr->access = access; / write /

For a user QP wqe->wr.wr.reg.mr is a fully attacker-chosen pointer, so this is an arbitrary-kernel-address dereference (arbitrary read confirmed, oops). No existing check distinguishes a user QP on this path.

Reject IBWRREGMR for user QPs before dereferencing the supplied pointer.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In rxe_reg_fast_mr(), reject IB_WR_REG_MR from user QPs before dereferencing the supplied mr pointer.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203