CVE-2026-139573: Linux kernel RTRS client indexes its request array with a peer-chosen message id

ByLinuxtastic

December 2, 2026 #CVE, #Linux Kernel

RTRS is the RDMA transport that carries the RNBD network block device, the way a Linux client reaches a block device exported by another Linux machine over InfiniBand or RoCE. When the server completes an I/O it signals the client with an RDMA write carrying an immediate value, and the client’s process_io_rsp() “indexes clt_path->reqs[] with the 19-bit msg_id taken from a WRITE_WITH_IMM immediate. That value is chosen by the peer.” The kernel CNA record says “the only check was WARN_ON(msg_id >= queue_depth), which still lets a completion run after free_path_reqs() has set reqs to NULL, or against a slot whose FRWR is already gone. Either path dereferences req->mr and can GPF.” Red Hat rates it Important at 7.5 as a remote denial of service. On any machine that maps RNBD devices, upgrade to 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later and reboot.

CVE-2026-139573 at a glance.

ComponentLinux kernel, RDMA transport client (drivers/infiniband/ulp/rtrs/rtrs-clt.c), function process_io_rsp(), module rtrs-client beneath rnbd-client
Affected versionsfrom 6a98d71daea1, the 5.8 commit that added RTRS: 5.8 up to 5.15 before 5.15.226, 6.1 before 6.1.193, 6.6 before 6.6.163, 6.12 before 6.12.119, 6.18 before 6.18.65, 7.3 before 7.3.6 and 7.4 before 7.4-rc1; the record names no 5.10 fix
Fixed inmainline 7.4-rc1 (commit c1fcde82, “Validate peer-supplied IO completion msg_id”: “treat a missing reqs array, an out-of-range msg_id, or a req without an MR as a protocol error and recover the connection”) and stable 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6; seven commits in the record
SeverityRed Hat Important, CVSS 3.1 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, draft, CWE-476 null pointer dereference), bug 2586627; the kernel CNA gives no score and NVD (Received, 30 November) carries none; Ubuntu Medium; SUSE could not be read on 2 December 2026
Exploited in the wildNot on the CISA KEV catalogue (2026.11.30). EPSS 0.00206 (11th percentile) on 2 December 2026
Who is exposedMachines running the RTRS client, which is the transport beneath the RNBD network block device client (rnbd-clt) and nothing else in the tree: the module loads when an RNBD device is mapped from a server over InfiniBand or RoCE. The attacker is the server end of that session, or anyone who can inject completions on the fabric. Red Hat’s statement: on default RHEL “the RDMA client subsystem is neither loaded nor active unless remote block storage architectures are explicitly configured”, and every RHEL kernel is not affected
PublishedCVE record 30 November 2026 (kernel CNA); this page built 2 December 2026, last updated 2 December 2026

What it is

Every outstanding request on an RTRS client path has a slot in clt_path->reqs[], and the slot number travels to the server and back as the immediate data of the completion write. The client took the number out of the completion and used it as an array index with a WARN_ON() as the only guard. A warning does not stop execution, so an index at or past queue_depth went on to read the slot anyway; and two cases passed even the warning: a completion that arrives after free_path_reqs() has freed the array and set the pointer to NULL, and an id for a slot whose fast-registration memory region has already been torn down. Both end in a dereference of req->mr that is NULL or stale, which the record reports as a general protection fault and a KASAN null-pointer report at the mr offset.

The sender of that immediate is the RNBD server, or anything on the fabric that can complete a write into the client’s receive queue. An RNBD deployment normally trusts its server, which is why Red Hat’s score has no privileges required but the statement limits exposure to “environments actively connected to untrusted or compromised RDMA peers”: a compromised storage server can take down every client mapped to it, and a late completion during teardown can crash a client without any malice at all.

The fix treats the three bad cases as protocol errors and recovers the connection instead of trusting the index: no request array, an id outside the queue depth, or a request without a memory region. It is one of four RTRS client hardening fixes in this burst; CVE-2026-139574 and CVE-2026-139581 are the other two with pages, and the record for each lists the same seven stable series. git.kernel.org refuses automated readers, so the diff is described from the CNA’s copy of the commit message.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 2 December 2026; the link in the row is the tracker page, which will be newer than this one. The code is in every kernel with CONFIG_INFINIBAND_RTRS_CLIENT; only machines that map an RNBD device load it.

DistributionStatusFixed package
AlpineNot consulted for this page—
Debianbookworm (6.1.176-1, security 6.1.192-3) vulnerable; trixie (6.12.117-1, security 6.12.118-1) vulnerable; forky and sid (7.3.6-1) fixed; no DSAunstable 7.3.6-1
UbuntuMedium; the linux package is needs evaluation on every release from 14.04 to 26.10 on 2 December 2026 (page updated 1 December), nothing releasednothing on 2 December 2026
RHEL, Rocky, Alma, CentOS StreamImportant, 7.5 (bug 2586627, CWE-476); kernel and kernel-rt not affected in RHEL 6, 7, 8, 9 and 10 and in the OpenShift 4 and 5 images—
openSUSE/SLENot consulted: suse.com refused the automated reader on 2 December 2026 (client error)—
Fedora, Arch; self-built kernelsNot consulted; upstream stable versions apply5.15.226 / 6.1.193 / 6.6.163 / 6.12.119 / 6.18.65 / 7.3.6 or later

How to check

Is the RTRS client loaded, which RNBD devices are mapped and from which servers, and is the running kernel fixed. The first question settles it for almost every machine.

# 1. is the RTRS client (and the RNBD client above it) loaded
lsmod | grep -E '^(rtrs_client|rnbd_client|rtrs_core)'

# 2. the running kernel: fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later
uname -r

# 3. which devices are mapped and from where
ls /sys/class/rnbd-client/ctl/devices/ 2>/dev/null
cat /sys/class/rnbd-client/ctl/devices/*/mapping_path 2>/dev/null
ls /sys/class/rtrs-client/ 2>/dev/null

No rtrs_client module means the page does not apply; that is every machine that does not map RNBD devices, including every RHEL kernel, which does not build the transport. A loaded module on an affected kernel is the exposed case, and the devices directory tells you which servers can send the completion: each one is a peer that can crash this client, deliberately or by completing late during a path teardown.

How to fix it

Install the fixed kernel and reboot; the transport module stays loaded while any RNBD device is mapped, so a reboot is the clean path. Until then, limit what sits on the fabric with the client.

# Debian forky / sid (7.3.6-1) carry the fix; bookworm and trixie: watch the tracker row above
apt update && apt install linux-image-amd64 && systemctl reboot
# Ubuntu: needs evaluation on 2 December 2026; once the linux package is released
apt update && apt install linux-generic && systemctl reboot
# Stop-gap on a client you cannot reboot yet: unmap devices from servers you do not control
echo "normal" > /sys/class/rnbd-client/ctl/devices/<device>/unmap_device

Unmapping a device closes the path to that server and removes the completion queue it could write into. What not to do: do not set panic_on_warn hoping to catch the bad index early, because the WARN_ON() fires only for the out-of-range case and the two cases that bypass it crash regardless; and do not treat a RoCE fabric behind a firewall as closed, since the sender here is a storage server you already let in.

Sources

  • CVE-2026-139573 at CVE.org — the kernel CNA record: the peer-chosen 19-bit index, the WARN_ON that was the only check, the two cases it misses, the GPF and the KASAN report, the version ranges (30 November 2026)
  • Fix commit c1fcde82 (mainline 7.4-rc1, the commit Debian cites) and the stable backports 03247d0d, 06255d34, 71e667a9, df35ed18, 67b7ff86, 95d5f151; git.kernel.org refuses automated readers, so the change is described from the CNA record and the trackers
  • NVD entry — Received on 30 November 2026; no CVSS metric, CWE or CPE on 2 December 2026
  • Distribution trackers: Debian (bookworm and trixie vulnerable, unstable fixed in 7.3.6-1) · Red Hat (Important 7.5, bug 2586627, CWE-476; every RHEL not affected; the statement on untrusted peers) · Ubuntu (Medium, needs evaluation on every release, page updated 1 December; loaded on the third attempt) · SUSE (refused the automated reader on 2 December 2026)
  • CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00206 (percentile 0.112) on 2 December 2026

Related reading

This advisory page was assembled from the primary sources listed above on 2 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.