sadrobot

← Back to the monthly list · Linux →

CVE-2026-139112 Linux · Linux

9.8 Critical

AI summary

In the Linux kernel rnbd-srv module, the sess_dev is published before OPEN completes, so an IO message from another connection can reach a half-initialized or freed object. Reachable from any host that can open a device, potentially causing use-after-free. Critical (CVSS 9.8); update the kernel.

Official description

In the Linux kernel, the following vulnerability has been resolved: rnbd-srv: publish the sess_dev at the end of OPEN rnbd_sess_dev_alloc() stores the empty sess_dev in the XArray as its first step. An IO message with the new ID from another connection can find it before bdev_file is set, or hold a reference while a failing OPEN frees it after a mere RCU grace period. Both are reachable from any host that can open a device. Reserve the ID with a NULL entry and store the sess_dev once nothing can fail anymore. The error path still erases the ID, and no longer needs synchronize_rcu().

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-138666
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