CVE-2026-139157: Linux kernel · nvmet: use the enabled transport when disabling a port
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: use the enabled transport when disabling a port nvmet_disable_port() looks up the transport from the current disc_addr.trtype, while nvmet_enable_port() records the transport in port->tr_ops. If trtype is changed while a port is being enabled, the port can be removed through a different transport, passing the private data of the original transport to the wrong ->remove_port(). The same mismatch is reachable with loop and RDMA: loop add_port() leaves port->priv NULL, and RDMA remove_port() dereferences it. Use port->tr_ops for removal and serialize trtype changes with nvmet_config_sem in nvmet_addr_trtype_store(), so the transport that added the port is also the one that removes it.
References
- ubuntu.com/security/CVE-2026-139157 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-139157 (opens in a new tab)
- git.kernel.org/stable/c/ce42d3a48d5c280449476ea005e04854af3fa718 (opens in a new tab)
- git.kernel.org/stable/c/7ed6f416744f98e25c43c5a81daa5581637001b7 (opens in a new tab)
- git.kernel.org/stable/c/0becb7856d419c9fafcae3ad0182b2398f924f29 (opens in a new tab)
- git.kernel.org/stable/c/0c9d85e54196fd69810017a2624614fb6619cb8d (opens in a new tab)
- git.kernel.org/stable/c/60385038754ed9fb05dab127b35f88c702252505 (opens in a new tab)
- git.kernel.org/stable/c/8c17a634a1485d2450cb998d18d9a54bf1021565 (opens in a new tab)
- git.kernel.org/stable/c/7d1118f62d0c7bfb46300257a2fae9a61a8e090c (opens in a new tab)
- git.kernel.org/stable/c/929e8db88a87e4cd119809acee455816605e3e3e (opens in a new tab)