CVE-2026-139787: Linux kernel · nvme-tcp: fix use-after-free in nvme_tcp_free_ctrl()
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 2 Dec 2026, 18:37 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Exploitation 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.
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel. Users should update to a patched kernel version that includes this fix. Since this is a kernel-level issue, applying the official kernel updates from the vendor or distribution is the recommended remediation.
Description
A use-after-free vulnerability in the Linux kernel's nvme-tcp driver was fixed in the nvme_tcp_free_ctrl() function. The flaw occurs when a controller creation fails and the opts structure is freed prematurely while a concurrent open of the character device still holds a reference, leading to a read of freed memory. This issue can cause kernel memory corruption and instability.
References
- ubuntu.com/security/CVE-2026-139787 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-139787 (opens in a new tab)
- git.kernel.org/stable/c/b5e40f896d571e549b731a1bfe0eaddc63a9d2d3 (opens in a new tab)
- git.kernel.org/stable/c/cd66e54912fe1d97824fcd4a0d378e7afa77109d (opens in a new tab)
- git.kernel.org/stable/c/b1d1f6b1ee03285690f12c2ebf23616416e6d881 (opens in a new tab)
- git.kernel.org/stable/c/5f702934c09c36b03bc3ca94540e34cc1285942e (opens in a new tab)