CVE-2026-139158: Linux kernel · nvmet: protect nvmet_ports_list with nvmet_config_sem
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.2% chance of exploitation in 30 days – higher than 11% 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.
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet: protect nvmet_ports_list with nvmet_config_sem Readers of nvmet_ports_list (e.g. nvmet_subsys_disc_changed()) hold nvmet_config_sem and assert it via lockdep. The writers -- nvmet_ports_make() and nvmet_port_release() -- do not take the lock; they rely on the parent directory's VFS inode lock for serialization, which is an implementation detail of configfs and not a guaranteed contract. Align the writers with the lock the readers already require. Also move list_add() in nvmet_ports_make() to after the port is fully initialized: the old position published the port on the global list before INIT_LIST_HEAD(&port->subsystems), so a concurrent reader could traverse uninitialized list heads. flush_workqueue() in nvmet_port_release() stays outside the semaphore to avoid a lock dependency on nvmet_wq.
References
- ubuntu.com/security/CVE-2026-139158 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-139158 (opens in a new tab)
- git.kernel.org/stable/c/cead6beb89256ae7145b65fbe8e8a5fedba4a47c (opens in a new tab)
- git.kernel.org/stable/c/b0675c06088677af4e3205da52de562b15f39a1c (opens in a new tab)
- git.kernel.org/stable/c/51f1e80959f2764d667308a8a1e94279ec8de3d6 (opens in a new tab)
- git.kernel.org/stable/c/520b63e700b75c9d0ed2e9569324128107c1bc03 (opens in a new tab)
- git.kernel.org/stable/c/50d500af2b01e23405e91d862ed667c373921b34 (opens in a new tab)
- git.kernel.org/stable/c/912aced00520607b058451ad05d2b42cd4041f7f (opens in a new tab)
- git.kernel.org/stable/c/e7334e114cf24c29d6299ed2b85357c4c70a9116 (opens in a new tab)