CVE-2026-139354

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

7.1 high EPSS 0.18%

Published 30 Nov 2026 Updated 1 Dec 2026 CNA: Linux

Check your servers for CVE-2026-139354

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139354 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Severity (CVSS)

7.1 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.16% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before 678d7b3ef6b0e857b1d6291c67433ebbdacbdb37
affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before 628515523e9aa9c9e8d2c08c2bddb09e399906b4
affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before 8e2679b21986915ee7a53a65e83c4aebb670e8bd
affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before d62748818061f2c8bc91d529a36bd7ddfbb8587f
affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before d770b8769c38de78a0bda77aab84b38235d45719
affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before fe6cd7c3d9698ae0a29fd831f26bbfa7f67bf959
affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before 4ff8efdd007cec66a46b1c05eff80148b26813d6
affected from 8700e3e7c4857d28ebaa824509934556da0b3e76, before c887e53e1c852b88bd5442d1bf4717ee3e7aadda
Other versions: unaffected
Linux
affected 4.8
unaffected before 4.8
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.119 up to and including 6.12.*
unaffected from 6.18.65 up to and including 6.18.*
unaffected from 7.3.6 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139354 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139354

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-139354
trivy image --scanners vuln IMAGE | grep CVE-2026-139354

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-139354 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.