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

Published Nov 30, 2026
·
Updated

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

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

rnbdsessdevalloc() stores the empty sessdev in the XArray as its first step. An IO message with the new ID from another connection can find it before bdevfile 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 sessdev once nothing can fail anymore. The error path still erases the ID, and no longer needs synchronizercu().

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In rnbd-srv, reserve the ID with a NULL XArray entry and publish the sess_dev at the end of OPEN, once the operation can no longer fail; keep erasing the ID on the error path.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:31 PM
Data Sourced
via MITRE·01:31 PM
Description

Frequently Asked Questions

1

Who can trigger this issue?

Any host that can open a device can reach the vulnerable OPEN and IO message race. Exploitation requires the ability to use a newly assigned device ID from another connection while OPEN is still in progress or failing.

2

What failure condition does the fix prevent?

Before the fix, an IO message could find a sess_dev in the XArray before its bdev_file was initialized, or retain a reference to it while a failing OPEN frees it after only an RCU grace period. The fix reserves the ID with a NULL entry and publishes sess_dev only after no further OPEN failures are possible.

3

What is the relevant mitigation if patching cannot be applied immediately?

Limit device-open access to trusted hosts and prevent untrusted hosts from establishing separate connections that could issue IO using newly assigned device IDs. The provided data does not specify a configuration-only workaround.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203