rnbd-srv: publish the sess_dev at the end of OPEN
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
In rnbd-srv, rnbd_sess_dev_alloc() stores an empty sess_dev in the XArray before it is fully set up. An IO message carrying the new ID from another connection can reach it before bdev_file is set, or hold a reference while a failing OPEN frees it after one RCU grace period. Any host that can open a device can trigger this. CVSS 3.1 base score 9.8 (CRITICAL).
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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().
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Apply the fixed kernel for your branch: 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1. The fix reserves the ID with a NULL entry and stores the sess_dev only after nothing can fail, and the error path erases the ID without synchronize_rcu().
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139112
- 2026-11-30 Alias added: GHSA-687j-9vg4-x2q2
- 2026-12-01 CVSS score added · CNA
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
References
Other 7
- https://git.kernel.org/stable/c/09a61095f582500ccface75a664bae226522ad74
- https://git.kernel.org/stable/c/273408c3a7a5c16442b0fe902a8e88044a112553
- https://git.kernel.org/stable/c/310b79760a901d6aff2f968b8de41de29e75d58c
- https://git.kernel.org/stable/c/ffddd6e86a926a201af6ae903af6847cbe1e8ebd
- https://git.kernel.org/stable/c/53651d26368168f2b9971cf7136510c9af803777
- https://git.kernel.org/stable/c/0fcec36fc1a28ebb29a524088e472605ca224840
- https://git.kernel.org/stable/c/08ebf69c78a02afb39b7728f3358c09bc4cf067d
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139112 · CVE Program
- CVE-2026-139112 · NVD
- GHSA-687j-9vg4-x2q2 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-139112 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences