PT-2026-163395
CVE-2026-139354
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
CVSS 3.1
7.1
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
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.
Found an issue in the description? Have something to add? Feel free to write us 👾