CVE-2026-139157
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Affected | — |
| sid | linux |
Fixed | 7.3.6-1 |
| forky | linux |
Fixed | 7.3.6-1 |
| bookworm | linux |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | 4.8 | |
References
- https://git.kernel.org/stable/c/0becb7856d419c9fafcae3ad0182b2398f924f29
- https://git.kernel.org/stable/c/0c9d85e54196fd69810017a2624614fb6619cb8d
- https://git.kernel.org/stable/c/60385038754ed9fb05dab127b35f88c702252505
- https://git.kernel.org/stable/c/7d1118f62d0c7bfb46300257a2fae9a61a8e090c
- https://git.kernel.org/stable/c/7ed6f416744f98e25c43c5a81daa5581637001b7
- https://git.kernel.org/stable/c/8c17a634a1485d2450cb998d18d9a54bf1021565
- https://git.kernel.org/stable/c/929e8db88a87e4cd119809acee455816605e3e3e
- https://git.kernel.org/stable/c/ce42d3a48d5c280449476ea005e04854af3fa718
- https://security-tracker.debian.org/tracker/CVE-2026-139157
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.