AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.

Summary

In the Linux kernel’s rnbd-srv, process_msg_close() drops its reference to the sess_dev before taking the session mutex. Two CLOSE messages for the same ID can therefore both pass the lookup, and the second then operates on freed memory (use-after-free).

Impact: use-after-free (memory corruption)

Affected technologies

  • Linux kernel (rnbd-srv)

Update to a kernel version containing the rnbd-srv fix, and restrict which hosts can open RNBD devices if the module is in use.

Details

   
CVSS 9.8 (Critical)
Vendor / product Linux
Published 2026-11-30
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Original description

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

References

← Threat intelligence dashboard