CVE-2026-139115

block/rnbd-srv: don't free the device on a sysfs error

9.8 critical EPSS 1.30%

Published 30 Nov 2026 Updated 1 Dec 2026 CNA: Linux

Check your servers for CVE-2026-139115

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-139115 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:

block/rnbd-srv: don't free the device on a sysfs error

rnbd_srv_create_dev_sysfs() drops the only kobject reference on its error paths, and the release function frees the rnbd_srv_dev. process_msg_open() keeps using it and ends in destroy_device() with a list_del() and a second kfree(). This doesn't need memory pressure: a client opening a device while its last mapping goes away gets -EEXIST from kobject_add() against the old directory.

Only undo kobject_add() on failure and leave the reference to destroy_device(). Initialise the kobject once, the next open retries.

Severity (CVSS)

9.8 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7, before 49f610e56795fe59acbedb673288606a4d6219ba
affected from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7, before f65028b2fadec4919b77bc55130ab8401800fbe0
affected from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7, before 93deb589f24224dfc43e5dc03c3f9c9ea2e893cd
affected from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7, before c44b41827bc8aa8dbc7c6a21be30c27e3cb606a2
affected from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7, before 6e1b4893c19d681a35c7889e566044bf7b3a4128
affected from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7, before f000dff3584a5f79ab8006fd019618f01c4d4918
affected from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7, before d9667ade40f986c565769a900ced6ee95edd33c6
Other versions: unaffected
Linux
affected 5.8
unaffected before 5.8
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-139115 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139115

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-139115
trivy image --scanners vuln IMAGE | grep CVE-2026-139115

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-139115 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.