Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Critical 9.8CVE-2026-139115

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

Published 30/11/2026 · Updated 01/12/2026 · 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.

Affected products and versions

Linux Linux8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 – < 49f610e56795fe59acbedb673288606a4d6219ba · 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 – < f65028b2fadec4919b77bc55130ab8401800fbe0 · 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 – < 93deb589f24224dfc43e5dc03c3f9c9ea2e893cd · 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 – < c44b41827bc8aa8dbc7c6a21be30c27e3cb606a2 · 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 – < 6e1b4893c19d681a35c7889e566044bf7b3a4128 · 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 – < f000dff3584a5f79ab8006fd019618f01c4d4918 · 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 – < d9667ade40f986c565769a900ced6ee95edd33c6Fixed in: 49f610e56795fe59acbedb673288606a4d6219ba · f65028b2fadec4919b77bc55130ab8401800fbe0 · 93deb589f24224dfc43e5dc03c3f9c9ea2e893cd · c44b41827bc8aa8dbc7c6a21be30c27e3cb606a2 · 6e1b4893c19d681a35c7889e566044bf7b3a4128 · f000dff3584a5f79ab8006fd019618f01c4d4918 · d9667ade40f986c565769a900ced6ee95edd33c6
Linux Linux5.8Fixed in: 5.15.226 · 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.