Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139112

rnbd-srv: publish the sess_dev at the end of OPEN

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().

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to < 09a61095f582500ccface75a664bae226522ad74affected
  • 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to < 273408c3a7a5c16442b0fe902a8e88044a112553affected
  • 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to < 310b79760a901d6aff2f968b8de41de29e75d58caffected
  • 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to < ffddd6e86a926a201af6ae903af6847cbe1e8ebdaffected
  • 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to < 53651d26368168f2b9971cf7136510c9af803777affected
  • 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to < 0fcec36fc1a28ebb29a524088e472605ca224840affected
  • 2de6c8de192b9341ffa5e84afe1ce6196d4eef41 to < 08ebf69c78a02afb39b7728f3358c09bc4cf067daffected

Linux Linux

Default version status: affected

  • 5.8affected
  • 0 to < 5.8unaffected
  • 5.15.226 to ≤ 5.15.*unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References