Vulnerability · Linux kernel (RNBD server, rnbd-srv) · updated

CVE-2026-139112: Linux kernel RNBD server (rnbd-srv) race can lead to use of freed memory

A race in the Linux kernel's RNBD block device server (rnbd-srv) lets a host that can open a device reach a half-built or already freed device object. The CNA rates it 9.8 out of 10, but only machines that run the RNBD server are exposed.

FixReleased
ExploitationNone reported
Public exploit codeNot public
CISA KEVNot listed
Severity9.8 (CVSS 3.1, CNA)

Quick answers

What is CVE-2026-139112?

CVE-2026-139112 (CVE-2026-139112) is a vulnerability in Linux kernel (RNBD server, rnbd-srv). A race in the Linux kernel's RNBD block device server (rnbd-srv) lets a host that can open a device reach a half-built or already freed device object. The CNA rates it 9.8 out of 10, but only machines that run the RNBD server are exposed.

Am I affected by CVE-2026-139112?

CVE-2026-139112 affects Linux kernels from 5.8 up to, but not including, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6 in their respective lines, but only on hosts that run the RNBD server (rnbd-srv) and accept device opens from other hosts. Machines that never load the RNBD server module do not run the vulnerable code. Distribution kernels use their own version numbers, so check your vendor's advisory.

Which versions fix CVE-2026-139112?

5.8 to 5.15: 5.15.226; 5.16 to 6.1: 6.1.193; 6.2 to 6.6: 6.6.163; 6.7 to 6.12: 6.12.119; 6.13 to 6.18: 6.18.65; 6.19 to 7.3: 7.3.6

Is CVE-2026-139112 being exploited?

No exploitation in the wild has been reported; it is not in the CISA KEV catalog.

Is there a workaround for CVE-2026-139112?

The fix for CVE-2026-139112 is a Linux kernel update to 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later in your line, or a distribution kernel that includes the rnbd-srv fix, followed by a reboot into that kernel. No official workaround has been published by the kernel developers. If you cannot update the kernel yet, reduce exposure to CVE-2026-139112 on your own terms: on hosts that do not need the Linux RNBD server, keep the module unloaded and stop it from loading; on hosts that do need it, allow only trusted client hosts to connect, because the fix commit says the bug is reachable from any host that can open a device. These are our suggestions, not vendor guidance. Plan the reboot carefully on RNBD servers, since clients using their devices will lose access during the restart.

What this means for your business

The CNA scores this CVSS 9.8 with high impact on confidentiality, integrity and availability, reachable over the network.

The kernel commit says a failing device open can free memory while another connection still holds a reference to it. That is a use-after-free class bug inside the kernel.

The commit also says I/O can reach a device before it is fully set up.

No public exploit, no CISA KEV listing and no reports of exploitation are in our sources as of 2026-12-01.

Is this about you? CVE-2026-139112 affects Linux kernels from 5.8 up to, but not including, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6 in their respective lines, but only on hosts that run the RNBD server (rnbd-srv) and accept device opens from other hosts. Machines that never load the RNBD server module do not run the vulnerable code. Distribution kernels use their own version numbers, so check your vendor's advisory.

Ask your team or provider:

How fast: If you run the RNBD server: plan the kernel update this week, given the 9.8 rating. If no host loads the RNBD server module: include this in your normal kernel patch cycle.

Not sure if you are exposed?

We check your servers and containers with read-only access, tell you what is exposed, and patch it in a window you approve.

For engineers

LineAffectedFixed in
5.8 to 5.155.8.0 up to before 5.15.2265.15.226
5.16 to 6.15.16.0 up to before 6.1.1936.1.193
6.2 to 6.66.2.0 up to before 6.6.1636.6.163
6.7 to 6.126.7.0 up to before 6.12.1196.12.119
6.13 to 6.186.13.0 up to before 6.18.656.18.65
6.19 to 7.36.19.0 up to before 7.3.67.3.6

Ranges come from the OSV record. They span several kernel branches each, so OSV lists no separate fixed release for lines such as 5.10.y, 6.19.y, 7.0.y, 7.1.y or 7.2.y; if you run one of those, ask your vendor or move to a listed fixed line. The bug was introduced by commit 2de6c8de192b (the original RNBD server). The upstream fix is commit 08ebf69c78a0, with stable backports committed on 2026-11-23; the bundle does not state which backport maps to which branch or which mainline release first includes it. Distribution kernels (Ubuntu, RHEL, Azure Linux and others) backport fixes under their own version numbers, so compare against your vendor advisory, not only the upstream numbers.

When it can be exploited

Check if you are affected

uname -r
lsmod | grep -i rnbd
ls /sys/module | grep -i rnbd
grep -i rnbd /boot/config-$(uname -r)
journalctl -k --no-pager | grep -i rnbd | tail -n 50
# AKS or other Kubernetes: list node kernel versions
kubectl get nodes -o wide

All commands are read-only. If lsmod and /sys/module show no RNBD server module, the vulnerable code is not running on that host right now. The config grep tells you whether RNBD support is built at all; a module that is built but not loaded can still be loaded later. The fix only touches drivers/block/rnbd/rnbd-srv.c, so the server side is what matters. Compare uname -r with the fixed versions above or with your distribution's advisory.

If you can't upgrade today

The fix for CVE-2026-139112 is a Linux kernel update to 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later in your line, or a distribution kernel that includes the rnbd-srv fix, followed by a reboot into that kernel. No official workaround has been published by the kernel developers. If you cannot update the kernel yet, reduce exposure to CVE-2026-139112 on your own terms: on hosts that do not need the Linux RNBD server, keep the module unloaded and stop it from loading; on hosts that do need it, allow only trusted client hosts to connect, because the fix commit says the bug is reachable from any host that can open a device. These are our suggestions, not vendor guidance. Plan the reboot carefully on RNBD servers, since clients using their devices will lose access during the restart.

Signs you were already hit

No indicators of compromise have been published. On RNBD server hosts, look in the kernel log for oops, general protection faults, KASAN reports or unexpected crashes that mention rnbd, for example with journalctl -k --no-pager | grep -iE 'rnbd|oops|general protection|KASAN'. Unexplained server reboots or RNBD sessions from hosts you do not recognise are worth investigating. A clean log does not prove the host was not targeted.

Prompt for your coding agent

Paste this into Claude Code, Codex or Cursor, opened in the repository that holds your server and deployment configuration. It only reads and proposes changes; review the diff before you apply it.

You are helping assess exposure to CVE-2026-139112, a race in the Linux kernel RNBD server (rnbd-srv, file drivers/block/rnbd/rnbd-srv.c). Affected upstream kernels: from 5.8 up to before 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6 in their lines. Investigate this repository only; do not apply changes, deploy, run pipelines, or restart anything. 1) Find every place that defines or pins a Linux kernel or OS image: Dockerfiles are not relevant for the kernel, so focus on Packer templates, cloud-init, Terraform or Bicep VM and AKS node pool definitions (OS SKU, node image version), Ansible roles, and kernel package pins. 2) Search for anything that loads, configures or depends on RNBD (strings like rnbd, rnbd-srv, rnbd_server, modprobe configs, /etc/modules-load.d). 3) Report a table: file, what it pins or configures, whether it can result in an affected kernel, and whether RNBD server is enabled. 4) Propose, as a diff for human review only, the minimal changes: bump kernel or node image versions to a fixed release, and where RNBD server is not needed, a change that prevents the module from loading. Mark any version you are unsure about as needing confirmation against the vendor advisory. Do not invent fixed versions for distributions; leave a TODO instead.

Timeline

  1. Upstream fix 'rnbd-srv: publish the sess_dev at the end of OPEN' authored by Chris Mason.

  2. Fix committed by Jens Axboe as commit 08ebf69c78a0.

  3. Stable backports committed by Greg Kroah-Hartman (including 09a61095f582, 273408c3a7a5, 0fcec36fc1a2).

  4. CVE-2026-139112 published with a CNA CVSS 3.1 score of 9.8.

  5. CVE record last modified. No KEV listing, EPSS data or public proof of concept in our sources.

Sources

Checked 1 Dec 2026. We update this page when the vendor, CISA or the distributions change the picture.