1. Home
  2. Vulnerabilities
  3. CVE-2026-139113

CVE-2026-139113

rnbd-srv: fix use-after-free on two CLOSE messages

Published 30 Nov 2026 · modified 1 Dec 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 56/100

Summary

In the Linux kernel, the following vulnerability has been resolved: rnbd-srv: fix use-after-free on two CLOSE messages process_msg_close() looks the sess_dev up with a kref, drops it right away, and only then takes the session mutex for the teardown. A session has several connections handled by different workers, so two CLOSE messages for the same ID both finish the lookup before either one tears the sess_dev down, and the second one works on freed memory. Any host that can open a device on the server can do that. Take the mutex first and look the ID up with xa_load() under it. The second CLOSE then finds nothing.

Affected products and versions

Linux (1 line(s))
Linux
ProductVersionsFixed inSource
Linux 5.8 — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:Linux)

How this data is obtained and calculated