CVE-2026-139113: Linux kernel · rnbd-srv: fix use-after-free on two CLOSE messages
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 2 Dec 2026, 18:37 UTC
Thin evidence
One scorer or none| CNA (Linux) | CVSS 3.1 | 9.8 |
|---|
- EPSS
- 1.2% chance of exploitation in 30 days – higher than 69% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10linuxpkg:deb/ubuntu/linux?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-139113 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-139113 (opens in a new tab)
- git.kernel.org/stable/c/c366173339de0cfcc3cbcaccfbe726459f9f96d4 (opens in a new tab)
- git.kernel.org/stable/c/d8cb9e9ba95dce0c4731f3c6cf50632fd8540cad (opens in a new tab)
- git.kernel.org/stable/c/0368a1ebc080e42f5c1c2708c621deae05fdb629 (opens in a new tab)
- git.kernel.org/stable/c/4912dab88baa5f7034dc9e38807804d470ae5438 (opens in a new tab)
- git.kernel.org/stable/c/c47d198faf301278927ae62802626d19c32332d5 (opens in a new tab)
- git.kernel.org/stable/c/ccae722c4bc716df8a4cdde462071d034f92f32d (opens in a new tab)