CVE-2026-139354: RDMA/rxe: bound the WQE opcode before indexing rxe_wr_opcode_info[]

Published Nov 30, 2026
·
Updated

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

RDMA/rxe: bound the WQE opcode before indexing rxewropcodeinfo[]

wropcodemask() indexes the global rxewropcodeinfo[] 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 (reqnextwqe() -> rxerequester()); rxepostsend() takes the qp->isuser branch and never runs validatesendwr(), whose only opcode check is itself !wropcodemask() (it indexes before it checks). rxewropcodeinfo[] has entries only up to IBWRREGMR, 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 validatesendwr() already treats a zero mask (an invalid WR), so no path indexes the array out of bounds.

Affected Software

12 affected componentsFixes available
Linux Linux kernel
linux/kernel>=4.8.0<5.10.275
5.10.275
linux/kernel>=5.11.0<5.15.226
5.15.226
linux/kernel>=5.16.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux*
debian/linux*
debian/linux<7.3.6-1
7.3.6-1
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-1
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.275
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.226
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  7. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  8. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1
  9. Compensating control

    In RDMA/rxe, bounds-check the WQE opcode before indexing rxe_wr_opcode_info[] and return a zero mask for out-of-range opcodes.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
Description
Data Sourced
via OSV·01:33 PM
DescriptionAffected Software
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

Who can trigger the vulnerable path?

A local user able to use a user-mode RXE queue pair can control the WQE opcode through the memory-mapped send-queue ring. The issue is specifically described for user QPs, where the normal send-work-request validation is bypassed.

2

What happens when an invalid opcode is supplied?

An out-of-range opcode can cause an out-of-bounds read from rxe_wr_opcode_info[]. The resulting value is used as a mask and dereferenced, which was observed as a KASAN global-out-of-bounds read and a wild-pointer oops.

3

How does the fix handle invalid opcodes?

The fix returns a zero mask when the opcode is outside the bounds of rxe_wr_opcode_info[]. A zero mask is already treated as an invalid work request by validation logic, preventing the out-of-bounds array access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203