CVE-2026-139115: block/rnbd-srv: don't free the device on a sysfs error
In the Linux kernel, the following vulnerability has been resolved:
block/rnbd-srv: don't free the device on a sysfs error
rnbdsrvcreatedevsysfs() drops the only kobject reference on its error paths, and the release function frees the rnbdsrvdev. processmsgopen() keeps using it and ends in destroydevice() with a listdel() and a second kfree(). This doesn't need memory pressure: a client opening a device while its last mapping goes away gets -EEXIST from kobjectadd() against the old directory.
Only undo kobjectadd() on failure and leave the reference to destroydevice(). Initialise the kobject once, the next open retries.