CVE-2026-46133CWE-125

CVE-2026-46133

High · published May 28, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
46.7
In the wild
Unconfirmed
What it is

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

RDMA/rxe: Reject unknown opcodes before ICRC processing

Even after applying commit 7244491dab34 ("RDMA/rxe: Validate pad and ICRC

before payload_size() in rxe_rcv"), a single unauthenticated UDP packet

can still trigger panic. That patch handled payload_size() underflow only

for valid opcodes with short packets, not for packets carrying an unknown

opcode. The unknown-opcode OOB read described below predates that commit

and reaches back to the initial Soft RoCE driver.

The check added there reads

pkt->paylen < header_size(pkt) + bth_pad(pkt) + RXE_ICRC_SIZE

where header_size(pkt) expands to rxe_opcode[pkt->opcode].length. The

rxe_opcode[] array has 256 entries but is only populated for defined IB

opcodes; any other entry (for example opcode 0xff) is zero-initialized, so

length == 0 and the check degenerates to

pkt->paylen < 0 + bth_pad(pkt) + RXE_ICRC_SIZE

which does not constrain pkt->paylen enough. rxe_icrc_hdr() then computes

rxe_opcode[pkt->opcode].length - RXE_BTH_BYTES

which underflows when length == 0 and passes a huge value to rxe_crc32(),

causing an out-of-bounds read of the skb payload.

Reproduced on v7.0-rc7 with that fix applied, QEMU/KVM with

CONFIG_RDMA_RXE=y and CONFIG_KASAN=y, after

rdma link add rxe0 type rxe netdev eth0

A single 48-byte UDP packet to port 4791 with BTH opcode=0xff and

QPN=IB_MULTICAST_QPN triggers:

BUG: KASAN: slab-out-of-bounds in crc32_le+0x115/0x170

Read of size 1 at addr ...

The buggy address is located 0 bytes to the right of

allocated 704-byte region

Call Trace:

crc32_le+0x115/0x170

rxe_icrc_hdr.isra.0+0x226/0x300

rxe_icrc_check+0x13f/0x3a0

rxe_rcv+0x6e1/0x16e0

rxe_udp_encap_recv+0x20a/0x320

udp_queue_rcv_one_skb+0x7ed/0x12c0

Subsequent packets with the same shape fault on unmapped memory and panic

the kernel. The trigger requires only module load and "rdma link add"; no

QP, no connection, and no authentication.

Fix this by rejecting packets whose opcode has no rxe_opcode[] entry,

detected via the zero mask or zero length, before any length arithmetic

runs.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00574 · 46.7th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2026-05-28T14:16Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 4.8, < 5.10.2585.10.258
linux/linux_kernel≥ 5.11, < 5.15.2095.15.209
linux/linux_kernel≥ 5.16, < 6.1.1756.1.175
linux/linux_kernel≥ 6.2, < 6.6.1406.6.140
linux/linux_kernel≥ 6.7, < 6.12.886.12.88
linux/linux_kernel≥ 6.13, < 6.18.306.18.30
linux/linux_kernel≥ 6.19, < 7.0.77.0.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 28 MAY 09:35Z
    RDMA/rxe: Reject unknown opcodes before ICRC processing
    cvelistv5