Vulnerability · Linux kernel (rnbd-srv, drivers/block/rnbd) · updated

CVE-2026-139113: use-after-free in the Linux kernel rnbd-srv block device server

A host that can open a block device on a Linux server running rnbd-srv can make the kernel use freed memory, which can crash the server or worse. Only machines that run the rnbd server and export devices to other hosts are exposed.

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

Quick answers

What is CVE-2026-139113?

CVE-2026-139113 (CVE-2026-139113) is a vulnerability in Linux kernel (rnbd-srv, drivers/block/rnbd). A host that can open a block device on a Linux server running rnbd-srv can make the kernel use freed memory, which can crash the server or worse. Only machines that run the rnbd server and export devices to other hosts are exposed.

Am I affected by CVE-2026-139113?

CVE-2026-139113 affects Linux kernels from 5.8 up to, but not including, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6 in their series (per OSV), and only on machines that run the rnbd-srv block device server and let other hosts open devices on it. Machines that never load the rnbd server code cannot reach the bug.

Which versions fix CVE-2026-139113?

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

Is CVE-2026-139113 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-139113?

No official workaround for CVE-2026-139113 is published. The fix is a kernel update: Linux 6.1.193, 6.6.163, 6.12.119, 6.18.65 or 7.3.6 or later in your series, or a distribution kernel that includes upstream commit 4912dab88baa ("rnbd-srv: fix use-after-free on two CLOSE messages"). Until you can update, reduce exposure of the rnbd-srv server in Linux kernels 5.8 and later: allow only trusted hosts to reach it, because the fix commit says any host that can open a device on the server can trigger the use-after-free. If a machine does not need to serve RNBD devices, stop the rnbd server module from loading. These are our suggestions, not vendor guidance. Plan the kernel update with a reboot window. Patch storage servers that export devices to many or shared clients first.

What this means for your business

The CNA rates it 9.8 (CVSS 3.1), with high impact on confidentiality, integrity and availability of the affected server.

The bug is in the kernel itself, so a successful attack hits the whole machine, not just one application.

The CVSS vector says no privileges are needed, while the fix commit says the attacker must be a host that can open a device on the server; in practice your exposure depends on who can connect to your rnbd server.

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

Fixing it means a kernel update, which normally needs a reboot and a maintenance window.

Is this about you? CVE-2026-139113 affects Linux kernels from 5.8 up to, but not including, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6 in their series (per OSV), and only on machines that run the rnbd-srv block device server and let other hosts open devices on it. Machines that never load the rnbd server code cannot reach the bug.

Ask your team or provider:

How fast: If you run rnbd-srv and untrusted or shared hosts can reach it, restrict access today and patch within days. If you do not use rnbd-srv, include the fix in your normal kernel update 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 6.1 series5.8.0 up to before 6.1.1936.1.193
6.2 to 6.6 series6.2.0 up to before 6.6.1636.6.163
6.7 to 6.12 series6.7.0 up to before 6.12.1196.12.119
6.13 to 6.18 series6.13.0 up to before 6.18.656.18.65
6.19 to 7.3 series6.19.0 up to before 7.3.67.3.6

Ranges come from OSV. OSV lists no fixed release inside the 5.10.y, 5.15.y, 7.0.y, 7.1.y or 7.2.y series, so on those you need a newer series or a distribution kernel that carries the fix. The bug was introduced by commit 2de6c8de192b ("block/rnbd: server: main functionality") and fixed upstream by commit 4912dab88baa, with five stable backports. The mainline release that first contains the fix is not stated in our sources. Distribution kernels often backport fixes without changing the upstream version number, so check your vendor's advisory rather than relying on uname -r alone.

When it can be exploited

Check if you are affected

uname -r
lsmod | grep -i rnbd
grep -i rnbd /boot/config-$(uname -r)
find /lib/modules/$(uname -r) -iname '*rnbd*'

All commands are read-only. If lsmod shows no rnbd server module and the config does not build the rnbd server into the kernel, the vulnerable code is not running. A module file existing on disk only means it could be loaded. Compare uname -r with the fixed versions above, then confirm with your distribution's advisory, since vendor kernels may carry the fix under a different version number.

If you can't upgrade today

No official workaround for CVE-2026-139113 is published. The fix is a kernel update: Linux 6.1.193, 6.6.163, 6.12.119, 6.18.65 or 7.3.6 or later in your series, or a distribution kernel that includes upstream commit 4912dab88baa ("rnbd-srv: fix use-after-free on two CLOSE messages"). Until you can update, reduce exposure of the rnbd-srv server in Linux kernels 5.8 and later: allow only trusted hosts to reach it, because the fix commit says any host that can open a device on the server can trigger the use-after-free. If a machine does not need to serve RNBD devices, stop the rnbd server module from loading. These are our suggestions, not vendor guidance. Plan the kernel update with a reboot window. Patch storage servers that export devices to many or shared clients first.

# Read-only: find the exact rnbd module names on this host first
lsmod | grep -i rnbd
find /lib/modules/$(uname -r) -iname '*rnbd*'
# Only if this host does not serve RNBD devices: a change for your change process,
# not a check. Replace the placeholder with the server module name found above.
# echo 'blacklist <rnbd-server-module>' > /etc/modprobe.d/disable-rnbd-server.conf

Signs you were already hit

No indicators of compromise are published. A use-after-free in the kernel often shows up first as crashes. Look for kernel oops, panic or KASAN use-after-free reports that mention rnbd or process_msg_close, with read-only commands such as journalctl -k --no-pager | grep -iE 'rnbd|use-after-free|process_msg_close' and dmesg | grep -iE 'rnbd|use-after-free'. Unexplained reboots of storage servers are also worth reviewing. If you find such traces on a server reachable by untrusted hosts, treat it as possibly compromised and rebuild it on a patched kernel.

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 CVE-2026-139113, a use-after-free in the Linux kernel rnbd-srv block device server (drivers/block/rnbd/rnbd-srv.c). Affected per OSV: kernels from 5.8.0 before 6.1.193, 6.2.0 before 6.6.163, 6.7.0 before 6.12.119, 6.13.0 before 6.18.65, and 6.19.0 before 7.3.6. Upstream fix commit: 4912dab88baa5f7034dc9e38807804d470ae5438. Task: investigate this repository only. 1) Find every place that defines or pins Linux kernels or OS images: VM images, Packer templates, Terraform or Bicep, cloud-init, Ansible, Dockerfiles for node images, Kubernetes node pool settings. 2) Find any configuration that loads, builds or uses RNBD or rnbd server modules, or exports block devices to other hosts. 3) Report which hosts or images appear affected, with file paths and line numbers, and say clearly where you cannot tell. 4) Propose a diff for review that moves pinned kernels or images to a fixed version, and, only where RNBD serving is clearly not needed, prevents the rnbd server module from loading. Also note any network rules that let untrusted hosts reach RNBD servers. Do not apply the diff, do not commit, do not deploy, do not run commands that change any system, and do not restart or reboot anything. Output: a short findings list, then the proposed diff, then open questions for a human reviewer.

Timeline

  1. Fix "rnbd-srv: fix use-after-free on two CLOSE messages" authored by Chris Mason.

  2. Fix committed upstream by Jens Axboe as commit 4912dab88baa.

  3. Stable backports committed by Greg Kroah-Hartman.

  4. CVE-2026-139113 published, rated 9.8 (CVSS 3.1, CNA).

  5. CVE record last modified. No known exploitation or KEV listing in our sources.

Sources

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