# CVE-2026-139112: rnbd-srv: publish the sess_dev at the end of OPEN

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.28%, higher than 70% of CVEs (2026-12-01)
- Published: 2026-11-30T13:31:41.589Z
- Modified: 2026-12-01T06:17:35.143Z
- Assigned by: Linux

## Description

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().

(As written by CVE List.)

## Affected

- Linux Linux: from 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 before 09a61095f582500ccface75a664bae226522ad74; from 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 before 273408c3a7a5c16442b0fe902a8e88044a112553; from 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 before 310b79760a901d6aff2f968b8de41de29e75d58c; from 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 before ffddd6e86a926a201af6ae903af6847cbe1e8ebd; from 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 before 53651d26368168f2b9971cf7136510c9af803777; from 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 before 0fcec36fc1a28ebb29a524088e472605ca224840; from 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 before 08ebf69c78a02afb39b7728f3358c09bc4cf067d; 5.8 (not affected: before 5.8; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-139112](https://www.cve.org/CVERecord?id=CVE-2026-139112), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139112](https://nvd.nist.gov/vuln/detail/CVE-2026-139112), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139112 · Whole record: https://cve.day/CVE-2026-139112.json · Rebuilt by cve.day 2026-12-01T06:32:20.298Z
