PT-2026-163399

CVE-2026-139358

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
In the Linux kernel, the following vulnerability has been resolved:
RDMA/rxe: reject IB WR REG MR from user QPs in rxe reg fast mr()
IB WR REG MR is documented as kernel-only ("can not be issued by userspace"), but nothing enforces it. rxe wr opcode info[IB WR REG MR] sets WR LOCAL OP MASK for IB QPT RC, a QP type userspace can create, so a user QP that writes opcode = IB WR REG MR into its mmap'd SQ ring reaches rxe do local ops() -> rxe reg fast mr(). That function then trusts the ring-supplied fields:
struct rxe mr *mr = to rmr(wqe->wr.wr.reg.mr);
...
if (unlikely(mr->state != RXE MR STATE FREE))  /* 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 IB WR REG MR for user QPs before dereferencing the supplied pointer.
Exploitability
Fix
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾