Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139114

published high CVSS 3.1 · 7.5

block/rnbd-srv: drop the sess_dev kobject unlocked

Published
30 Nov 2026, 13:31:42 UTC
Updated
01 Dec 2026, 05:41:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < fedc9790a6244a78dddd7960624ad9d00cc1a483 · 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < a110a2d2d319bd88678d376192dba618a27e6689 · 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < 4062767ee2066685018987e24645741350acff9b · 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < b372510d792ab1ee6feaa51affc750ad19e5f5c3 · 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < 7ebd7b6652a45ced3ea6455c4516d1bff9667b77 · 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < fe6edac8f026c17b2ccf378de9ed77f2eebb86c6 · 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < 81941915d53ef3384ab4e4b68e92673e66cf66d7 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - The trigger is the device name in an RNBD_MSG_OPEN that a remote RTRS client sends (rnbd_srv_rdma_ev -> process_msg_open). RTRS listens on IN6ADDR_ANY in RDMA_PS_TCP via rdma_cm, which is routable over RoCEv2/iWARP, so a remote client sending "ram0" then "./ram0" reaches the failing rnbd_srv_create_dev_session_sysfs(). AC:L - find_srv_sess_dev() compares the raw dev_name, while rnbd_srv_get_full_path() collapses slashes and rejects only "..". A second read-only OPEN of "./ram0" therefore always maps to the same srv_dev and always gets -EEXIST for the duplicate sessname kobject. The trigger is deterministic and needs no race or outside state. PR:N - rtrs_rdma_connect() checks only RTRS magic, version and cid/con_num before creating a session, and process_msg_open() checks only path length, "..", and the RW write count. Nothing authenticates the client before it opens a device under dev_search_path. UI:N - The attacker drives the whole sequence with their own protocol messages (connect, OPEN "ram0", OPEN "./ram0"). No server-side administrator or user action is needed. S:U - The impact is a hung server kworker and a held rnbd srv_dev mutex inside the same kernel. No VM, IOMMU or sandbox boundary is crossed. C:N - kobject_put() runs rnbd_srv_sess_dev_release() -> rnbd_destroy_sess_dev() synchronously, and that blocks on mutex_lock(&sess_dev->dev->lock) before process_msg_open's free_srv_sess_dev double kfree/fput can run. No memory is freed while still in use, and nothing is disclosed. I:N - The thread deadlocks inside the release function, before the caller's error path would double-free srv_sess_dev, double-put srv_dev or double-decrement open_write_cnt. No memory or block data is modified. A:H - The ib_comp_wq CQ work item hangs forever in D state while holding srv_sess->lock and srv_dev->lock. Every other client's OPEN (rnbd_srv_check_update_open_perm) and close/disconnect (rnbd_destroy_sess_dev) of that device then blocks, and the attacker can repeat this for each exported device.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < fedc9790a6244a78dddd7960624ad9d00cc1a483 (affected · git)8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < a110a2d2d319bd88678d376192dba618a27e6689 (affected · git)8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < 4062767ee2066685018987e24645741350acff9b (affected · git)8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < b372510d792ab1ee6feaa51affc750ad19e5f5c3 (affected · git)8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < 7ebd7b6652a45ced3ea6455c4516d1bff9667b77 (affected · git)8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < fe6edac8f026c17b2ccf378de9ed77f2eebb86c6 (affected · git)8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 to < 81941915d53ef3384ab4e4b68e92673e66cf66d7 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.8 (affected)0 to < 5.8 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

block/rnbd-srv: drop the sess_dev kobject unlocked

Provenance

Schema
5.2
Searchable
yes
Content hash
0fb3eda52925d516e6b70dd07be36a4d585b8268e78a802569f64588495f78dc
Ingested
01 Dec 2026, 05:47:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected