CVE-2026-139114

block/rnbd-srv: drop the sess_dev kobject unlocked

Published Nov 30, 2026 CVSS 3.1 · 7.5 High EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel contains a deadlock flaw in rnbd_srv_create_dev_session_sysfs() that occurs when the function drops the sess_dev kobject reference while a lock is still held. This causes a worker thread to attempt to acquire the same lock twice, which results in a self‑deadlock. An attacker can trigger the flaw by opening a remote network block device (rnbd) session that tries to create a device with the name 'ram0'; the kernel reports -EEXIST from kobject_add() and the deadlock follows. The effect is a denial‑of‑service through the kernel scheduler, which can halt system responsiveness.

Affected Systems

This flaw affects any system running the Linux kernel that had not yet incorporated the patch from the commit that removes the unlocked sess_dev kobject in rnbd_srv_create_dev_session_sysfs(). The specific kernel release series is not enumerated in the available data, so any older kernel version that predates the applied fix is potentially vulnerable.

Risk and Exploitability

The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating no confirmed active exploitation. The CVSS base score is also omitted from the public metric set, so a precise severity rating cannot be provided. Nevertheless, because the flaw leads to an uncontrollable kernel deadlock, it represents a high‑impact denial of service if triggered by a local or network user with the ability to open the rnbd device. Based on the description, it is inferred that the flaw can be triggered by a local user with the ability to open rnbd sessions, which may require elevated privileges; there are no known public exploits or web‑based attack vectors.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the kernel commit that removes the unlocked sess_dev reference in rnbd_srv_create_dev_session_sysfs()
  • After applying the patch, reboot the affected systems so that the new kernel image is active and the deadlock protection is in place
  • If the kernel cannot be updated immediately, disable or remove the rnbd device driver to eliminate the code path that can trigger the flaw

Generated by OpenCVE AI on December 1, 2026 at 08:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-754
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
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.
Title block/rnbd-srv: drop the sess_dev kobject unlocked
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-754

    Improper Check for Unusual or Exceptional Conditions

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Dec 1, 2026, 5:41 AM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Dec 1, 2026, 6:17 AM