rnbd-srv: publish the sess_dev at the end of OPEN
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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().
| Product | Versions |
|---|---|
| Linux Linux | 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to before 09a61095f582500ccface75a664bae226522ad74 Affected2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to before 273408c3a7a5c16442b0fe902a8e88044a112553 Affected2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to before 310b79760a901d6aff2f968b8de41de29e75d58c Affected2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to before ffddd6e86a926a201af6ae903af6847cbe1e8ebd Affected2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to before 53651d26368168f2b9971cf7136510c9af803777 Affected2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to before 0fcec36fc1a28ebb29a524088e472605ca224840 Affected2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to before 08ebf69c78a02afb39b7728f3358c09bc4cf067d Affected |
| Linux Linux | 5.8 Affectedbefore 5.8 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.