block/rnbd-srv: drop the sess_dev kobject unlocked

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

block/rnbd-srv: drop the sess_dev kobject unlocked

rnbd_srv_create_dev_session_sysfs() drops the kobject reference when it fails. The release function is rnbd_destroy_sess_dev(), which takes srv_dev->lock, and the caller holds that lock: the worker deadlocks on itself. A client opening one device as "ram0" and "./ram0" gets there through -EEXIST from kobject_add().

Have process_msg_open() drop the reference after releasing the lock, and leave the rest of the cleanup to the release function.

ProductVersions
Linux Linux8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to before fedc9790a6244a78dddd7960624ad9d00cc1a483 Affected8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to before a110a2d2d319bd88678d376192dba618a27e6689 Affected8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to before 4062767ee2066685018987e24645741350acff9b Affected8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to before b372510d792ab1ee6feaa51affc750ad19e5f5c3 Affected8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to before 7ebd7b6652a45ced3ea6455c4516d1bff9667b77 Affected8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to before fe6edac8f026c17b2ccf378de9ed77f2eebb86c6 Affected8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to before 81941915d53ef3384ab4e4b68e92673e66cf66d7 Affected
Linux Linux5.8 Affectedbefore 5.8 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.