CVE Catalog

CVE-2026-139112

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.28%

71th percentile - higher than 71% of all known CVEs

Summary

In the Linux kernel rnbd-srv, 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. The fix reserves the ID with a NULL entry and stores the sess_dev once nothing can fail anymore.

Risk Assessment

A use-after-free or access to an uninitialized structure in the RNBD server may occur, triggerable by any host able to open a device.

Recommendation

Update the Linux kernel to a version with the fix publishing sess_dev at the end of OPEN in rnbd-srv.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS