CVE Catalog

CVE-2026-139115

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.30%

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

Summary

In the Linux kernel block/rnbd-srv, 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(). A client opening a device while its last mapping goes away gets -EEXIST from kobject_add(). The fix only undoes kobject_add() on failure and leaves the reference to destroy_device().

Risk Assessment

A double free and use-after-free in the RNBD server may occur, risking kernel hangs or memory corruption, triggerable by a client.

Recommendation

Update the Linux kernel to a version with the fix not freeing the device on a sysfs error 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: 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 directory. Only undo kobject_add() on failure and leave the reference to destroy_device(). Initialise the kobject once, the next open retries.

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