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

Summary

In the Linux kernel’s rnbd-srv, error paths in rnbd_srv_create_dev_sysfs() drop the only kobject reference, freeing the rnbd_srv_dev while process_msg_open() keeps using it. This leads to use-after-free and a double free, triggerable by a client opening a device as its last mapping goes away.

Impact: use-after-free and double free

Affected technologies

  • Linux kernel (block/rnbd-srv)

Update to a kernel version containing the rnbd-srv fix, and restrict which clients can access RNBD devices.

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: block/rnbd-srv: don’t free the device on a sysfs error rnbd_srv_create_dev_sysfs() drops the only kobject reference on its error paths, and the release function frees the rnbd_srv_dev. process_msg_open() keeps using it and ends in destroy_device() with a list_del() and a second kfree(). This doesn’t need memory pressure: a client opening a device while its last mapping goes away gets -EEXIST from kobject_add() against the old di

References

← Threat intelligence dashboard