RDMA/rxe: bound the WQE opcode before indexing rxe_wr_opcode_info[]
CVE-2026-139354Published 30 Nov 2026, 13:33 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.1
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: bound the WQE opcode before indexing rxe_wr_opcode_info[] wr_opcode_mask() indexes the global rxe_wr_opcode_info[] array with a caller-supplied opcode and no bounds check. For a user QP the WQE comes from an mmap'd SQ ring, so wqe->wr.opcode is an attacker-controlled __u32 read back by the requester (req_next_wqe() -> rxe_requester()); rxe_post_send() takes the qp->is_user branch and never runs validate_send_wr(), whose only opcode check is itself !wr_opcode_mask() (it indexes before it checks). rxe_wr_opcode_info[] has entries only up to IB_WR_REG_MR, so an out-of-range opcode reads out of bounds and the result is used as a mask and dereferenced; observed as a KASAN global-out-of-bounds "Read of size 4" and a wild-pointer oops. Return a zero mask for an out-of-range opcode, matching how validate_send_wr() already treats a zero mask (an invalid WR), so no path indexes the array out of bounds.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 4.8 | 7.4-rc1 |
What to do
Update to a fixed version: 7.4-rc1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 8), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.5 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 3 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/678d7b3ef6b0e857b1d6291c67433ebbdacbdb37
- https://git.kernel.org/stable/c/628515523e9aa9c9e8d2c08c2bddb09e399906b4
- https://git.kernel.org/stable/c/8e2679b21986915ee7a53a65e83c4aebb670e8bd
- https://git.kernel.org/stable/c/d62748818061f2c8bc91d529a36bd7ddfbb8587f
- https://git.kernel.org/stable/c/d770b8769c38de78a0bda77aab84b38235d45719
- https://git.kernel.org/stable/c/fe6cd7c3d9698ae0a29fd831f26bbfa7f67bf959
- https://git.kernel.org/stable/c/4ff8efdd007cec66a46b1c05eff80148b26813d6
- https://git.kernel.org/stable/c/c887e53e1c852b88bd5442d1bf4717ee3e7aadda
- CVE-2026-139354 on CVE.org