sadrobot

← Back to the monthly list · Linux →

CVE-2026-139115 Linux · Linux

9.8 Critical

AI summary

In the Linux kernel block/rnbd-srv, a sysfs error path frees the device while process_msg_open() keeps using it, causing a double free. A remote client can trigger it by opening a device while its last mapping is removed. Critical (CVSS 9.8); update urgently.

Official 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 directory. Only undo kobject_add() on failure and leave the reference to destroy_device(). Initialise the kobject once, the next open retries.

Published
2026-11-30 14:18 UTC
Modified
2026-12-01 06:17 UTC
CVSS
9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ENISA EUVD
EUVD-2026-138669
Category
Operating system

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high

References