CVE-2026-139112

Source
https://cve.org/CVERecord?id=CVE-2026-139112
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139112.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139112
Downstream
Published
2026-11-30T13:31:41Z
Modified
2026-12-01T07:00:31Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
rnbd-srv: publish the sess_dev at the end of OPEN
Details

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

rnbd-srv: publish the sess_dev at the end of OPEN

rnbd_sess_dev_alloc() stores the empty sess_dev in the XArray as its first step. An IO message with the new ID from another connection can find it before bdev_file is set, or hold a reference while a failing OPEN frees it after a mere RCU grace period. Both are reachable from any host that can open a device.

Reserve the ID with a NULL entry and store the sess_dev once nothing can fail anymore. The error path still erases the ID, and no longer needs synchronize_rcu().

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139112.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2de6c8de192b9341ffa5e84afe1ce6196d4eef41
Fixed
09a61095f582500ccface75a664bae226522ad74
Fixed
273408c3a7a5c16442b0fe902a8e88044a112553
Fixed
310b79760a901d6aff2f968b8de41de29e75d58c
Fixed
ffddd6e86a926a201af6ae903af6847cbe1e8ebd
Fixed
53651d26368168f2b9971cf7136510c9af803777
Fixed
0fcec36fc1a28ebb29a524088e472605ca224840
Fixed
08ebf69c78a02afb39b7728f3358c09bc4cf067d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139112.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.8.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139112.json"