CVE-2026-139115: double free in the Linux kernel rnbd-srv block device server
CVE-2026-139115 is a double free in the Linux kernel's RNBD block device server driver (rnbd-srv), rated 9.8 critical by the CNA. It only matters on Linux machines that run the RNBD server, and fixed stable kernels are already out.
- CVE-2026-139115
Quick answers
What is CVE-2026-139115?
CVE-2026-139115 (CVE-2026-139115) is a vulnerability in Linux kernel (block/rnbd-srv, RNBD server driver). CVE-2026-139115 is a double free in the Linux kernel's RNBD block device server driver (rnbd-srv), rated 9.8 critical by the CNA. It only matters on Linux machines that run the RNBD server, and fixed stable kernels are already out.
Am I affected by CVE-2026-139115?
CVE-2026-139115 affects Linux hosts that run the RNBD server driver (rnbd-srv, loaded as the rnbd_server module or built into the kernel) on kernel 5.8 or later, older than 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 or 7.3.6 for their branch. Machines that never load or build in the RNBD server driver do not run the vulnerable code.
Which versions fix CVE-2026-139115?
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-139115 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-139115?
There is no official workaround for CVE-2026-139115. The fix is a Linux kernel update to 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 or 7.3.6 or later in your branch, or a distribution kernel that includes upstream commit d9667ade40f9, followed by a reboot into the new kernel.
If a Linux host does not need to act as an RNBD server, you can reduce exposure to CVE-2026-139115 by making sure the RNBD server module (rnbd_server) is not loaded and cannot be loaded. This is our suggestion, not guidance from the kernel maintainers, and it does nothing for hosts that actually serve RNBD devices or have the driver built in.
Hosts that do serve RNBD devices need the patched kernel. Unloading the module on such a host will cut off its clients, so plan the kernel update and reboot instead.
If you are on 5.10.y, the bundle lists no fix for that branch. Ask your vendor, or plan a move to a fixed branch.
What this means for your business
The CNA rates it 9.8 (CVSS 3.1): reachable over the network, no login, high impact on confidentiality, integrity and availability.
The fix commit describes a double free in kernel memory. It does not mention code execution, so the realistic floor is a crashed host and the CNA score is the ceiling.
The commit says the bug can fire during a normal race, when a client opens a device while its last mapping goes away. So affected servers can also crash by accident, not only under attack.
No known exploitation: it is not on the CISA KEV list and the bundle lists no public proof of concept.
Is this about you? CVE-2026-139115 affects Linux hosts that run the RNBD server driver (rnbd-srv, loaded as the rnbd_server module or built into the kernel) on kernel 5.8 or later, older than 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 or 7.3.6 for their branch. Machines that never load or build in the RNBD server driver do not run the vulnerable code.
Ask your team or provider:
- Do we run any Linux servers that export block storage to other machines using RNBD?
- Which kernel versions are our VMs, AKS or other Kubernetes nodes and bare metal hosts on, and who owns patching them?
- Has our Linux distribution or cloud image vendor shipped a kernel with this fix yet?
- Can we schedule a reboot window this week for any host that runs the RNBD server?
How fast: If you run the RNBD server: patch and reboot this week, given the 9.8 rating. If no host loads the RNBD server driver: take the fix in your next 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
| Line | Affected | Fixed in |
|---|---|---|
| 5.8 to 5.15 | 5.8.0 up to before 5.15.226 | 5.15.226 |
| 5.16 to 6.1 | 5.16.0 up to before 6.1.193 | 6.1.193 |
| 6.2 to 6.6 | 6.2.0 up to before 6.6.163 | 6.6.163 |
| 6.7 to 6.12 | 6.7.0 up to before 6.12.119 | 6.12.119 |
| 6.13 to 6.18 | 6.13.0 up to before 6.18.65 | 6.18.65 |
| 6.19 to 7.3 | 6.19.0 up to before 7.3.6 | 7.3.6 |
Ranges are upstream kernel versions from OSV. The bug was introduced by commit 8cee532f469b (block/rnbd: server: sysfs interface functions) and fixed upstream by commit d9667ade40f9. The 5.10.y branch falls inside the first range, but the bundle lists no separate 5.10 fix; treat 5.10 kernels as unfixed until your vendor says otherwise. Likewise the 6.19 to 7.2 branches only show 7.3.6 as the fix. Distribution kernels backport fixes and use their own version numbers, so check your vendor's advisory rather than comparing numbers directly.
When it can be exploited
- The host runs a Linux kernel in an affected range.
- The RNBD server driver is loaded as a module or built into the kernel, and the host serves block devices to RNBD clients.
- A client opens a device on the server while that device's last mapping is being removed. The commit says no memory pressure is needed.
Check if you are affected
uname -r
lsmod | grep -i rnbd
grep -i rnbd /boot/config-$(uname -r)
modinfo rnbd_server 2>/dev/null | head -n 5
All four commands are read-only. uname -r gives the running kernel; compare it to the table or your vendor advisory. If lsmod shows an rnbd server module, the vulnerable code is loaded. If the config grep shows the RNBD server option set to y, it is built in; m means it is available as a module but only matters if loaded. No output from lsmod and no y in the config means this host does not run the vulnerable code today.
If you can't upgrade today
There is no official workaround for CVE-2026-139115. The fix is a Linux kernel update to 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 or 7.3.6 or later in your branch, or a distribution kernel that includes upstream commit d9667ade40f9, followed by a reboot into the new kernel.
If a Linux host does not need to act as an RNBD server, you can reduce exposure to CVE-2026-139115 by making sure the RNBD server module (rnbd_server) is not loaded and cannot be loaded. This is our suggestion, not guidance from the kernel maintainers, and it does nothing for hosts that actually serve RNBD devices or have the driver built in.
Hosts that do serve RNBD devices need the patched kernel. Unloading the module on such a host will cut off its clients, so plan the kernel update and reboot instead.
If you are on 5.10.y, the bundle lists no fix for that branch. Ask your vendor, or plan a move to a fixed branch.
# /etc/modprobe.d/disable-rnbd-server.conf
# Only for hosts that do not serve RNBD devices. Confirm the module name with lsmod or modinfo first.
blacklist rnbd_server
install rnbd_server /bin/false
Signs you were already hit
No indicators of compromise are published. The bug ends in a double free and a list_del() on freed memory, so look for kernel oops messages, list_del corruption warnings or KASAN reports that mention rnbd, for example with the read-only journalctl -k --no-pager | grep -iE 'rnbd|list_del corruption|double free'. A crash alone does not prove an attack, because the commit says a normal race can trigger it. Unexplained crashes on an internet or untrusted-network facing RNBD server deserve a closer look.
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-139115, a double free in the Linux kernel RNBD server driver (rnbd-srv). Affected upstream ranges: `5.8.0` to before `5.15.226`, `5.16.0` to before `6.1.193`, `6.2.0` to before `6.6.163`, `6.7.0` to before `6.12.119`, `6.13.0` to before `6.18.65`, `6.19.0` to before `7.3.6`. Upstream fix commit: `d9667ade40f9`. No fix is listed for `5.10.y`. Tasks: 1) Search this repository (Terraform, Bicep, ARM templates, Packer, cloud-init, Ansible, Dockerfiles, Kubernetes node pool configs, kernel configs) for pinned kernel versions, OS image versions and any reference to rnbd, `rnbd_server` or RNBD server kernel config options. 2) List each place you find, the version in use, and whether it is in an affected range. Note where version numbers come from a distribution and need checking against the vendor advisory. 3) Propose a diff for review that moves pinned images or kernels to a fixed version, and, only for hosts that clearly do not serve RNBD devices, adds a modprobe config that blacklists `rnbd_server`. Rules: investigate and propose only. Do not apply changes, commit, push, deploy, reboot, restart, load or unload modules, or run anything that modifies a system. Use only read-only commands. If something is unclear, say so instead of guessing.
Timeline
Upstream fix "block/rnbd-srv: don't free the device on a sysfs error" authored.
Backports committed to the stable kernel tree.
CVE-2026-139115 published, rated 9.8 by the CNA.
CVE record last modified. No known exploitation.
Sources
- Upstream fix commit d9667ade40f9
- Stable backport 49f610e56795
- Stable backport 6e1b4893c19d
- Stable backport 93deb589f242
- Stable backport c44b41827bc8
- Stable backport f000dff3584a
- Stable backport f65028b2fade
- NVD: CVE-2026-139115
Checked 1 Dec 2026. We update this page when the vendor, CISA or the distributions change the picture.