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

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.29%, higher than 71% of CVEs (2026-12-01)
- Published: 2026-11-30T13:31:43.269Z
- Modified: 2026-12-01T06:17:35.643Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 before 49f610e56795fe59acbedb673288606a4d6219ba; from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 before f65028b2fadec4919b77bc55130ab8401800fbe0; from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 before 93deb589f24224dfc43e5dc03c3f9c9ea2e893cd; from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 before c44b41827bc8aa8dbc7c6a21be30c27e3cb606a2; from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 before 6e1b4893c19d681a35c7889e566044bf7b3a4128; from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 before f000dff3584a5f79ab8006fd019618f01c4d4918; from 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 before d9667ade40f986c565769a900ced6ee95edd33c6; 5.8 (not affected: before 5.8; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/49f610e56795fe59acbedb673288606a4d6219ba>
- <https://git.kernel.org/stable/c/f65028b2fadec4919b77bc55130ab8401800fbe0>
- <https://git.kernel.org/stable/c/93deb589f24224dfc43e5dc03c3f9c9ea2e893cd>
- <https://git.kernel.org/stable/c/c44b41827bc8aa8dbc7c6a21be30c27e3cb606a2>
- <https://git.kernel.org/stable/c/6e1b4893c19d681a35c7889e566044bf7b3a4128>
- <https://git.kernel.org/stable/c/f000dff3584a5f79ab8006fd019618f01c4d4918>
- <https://git.kernel.org/stable/c/d9667ade40f986c565769a900ced6ee95edd33c6>

## Sources

- CVE List: [CVE-2026-139115](https://www.cve.org/CVERecord?id=CVE-2026-139115), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139115](https://nvd.nist.gov/vuln/detail/CVE-2026-139115), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139115 · Whole record: https://cve.day/CVE-2026-139115.json · Rebuilt by cve.day 2026-12-01T06:32:20.561Z
