CVE Catalog

CVE-2026-139113

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.22%

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

Summary

In the Linux kernel rnbd-srv, process_msg_close() looks the sess_dev up with a kref, drops it right away, and only then takes the session mutex for teardown. A session has several connections handled by different workers, so two CLOSE messages for the same ID both finish the lookup before either tears the sess_dev down, and the second works on freed memory. The fix takes the mutex first and looks the ID up with xa_load() under it.

Risk Assessment

A use-after-free in the RNBD server may occur, triggerable by any host able to open a device, risking kernel hangs or memory corruption.

Recommendation

Update the Linux kernel to a version with the fix serializing CLOSE handling 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: fix use-after-free on two CLOSE messages process_msg_close() looks the sess_dev up with a kref, drops it right away, and only then takes the session mutex for the teardown. A session has several connections handled by different workers, so two CLOSE messages for the same ID both finish the lookup before either one tears the sess_dev down, and the second one works on freed memory. Any host that can open a device on the server can do that. Take the mutex first and look the ID up with xa_load() under it. The second CLOSE then finds nothing.

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