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 u…
- CVSS
- 7.8High
- Chance of exploitation (EPSS)
- 0.19%
- Published
- Nov 30, 2026
- In the news
- Not yet
What to do
A serious security flaw in Linux that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Linux
- 4.8
Description
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.
Affected products
Get alerts for these →Timeline 2
Latest change: Nessus plugin 389665: Linux Distros Unpatched Vulnerability : CVE-2026-139358 (Dec 1, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Dec 2, 2026
Mon, Nov 30, 2026
- CVECVE-2026-139358 published (CVSS 7.8)CVE Program · 14:19 UTC
References 7
- git.kernel.org /stable/c/2c39f5ae8ab7b99b160d1da29b7a9a4c17805981
- git.kernel.org /stable/c/33afe9909f213d8bb8e80f0b93382dde0f56e2c7
- git.kernel.org /stable/c/82db6c71c0a83a745f806ae84a76197087f5ed08
- git.kernel.org /stable/c/8e7532fab9a8082606fc22f02f825bb51a864221
- git.kernel.org /stable/c/8ea50bd26a8b7629e2f946330317d7c2a8ca5b60
- git.kernel.org /stable/c/92ef85e25134bfbcaecf124b7ff614440921efc0
- git.kernel.org /stable/c/a11ebd6481098dd62ddc18efaed25bf20668c65c