CVE-2026-139157
publishednvmet: use the enabled transport when disabling a port
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 7ed6f416744f98e25c43c5a81daa5581637001b7 · 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 7d1118f62d0c7bfb46300257a2fae9a61a8e090c · 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < ce42d3a48d5c280449476ea005e04854af3fa718 · 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 929e8db88a87e4cd119809acee455816605e3e3e · 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 0becb7856d419c9fafcae3ad0182b2398f924f29 · 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 8c17a634a1485d2450cb998d18d9a54bf1021565 · 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 0c9d85e54196fd69810017a2624614fb6619cb8d · 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 60385038754ed9fb05dab127b35f88c702252505 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.8 (affected) · 0 to < 4.8 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 7ed6f416744f98e25c43c5a81daa5581637001b7 (affected · git)8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 7d1118f62d0c7bfb46300257a2fae9a61a8e090c (affected · git)8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < ce42d3a48d5c280449476ea005e04854af3fa718 (affected · git)8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 929e8db88a87e4cd119809acee455816605e3e3e (affected · git)8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 0becb7856d419c9fafcae3ad0182b2398f924f29 (affected · git)8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 8c17a634a1485d2450cb998d18d9a54bf1021565 (affected · git)8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 0c9d85e54196fd69810017a2624614fb6619cb8d (affected · git)8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 60385038754ed9fb05dab127b35f88c702252505 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.8 (affected)0 to < 4.8 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- 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
Provider assertions
1Linux · cna
nvmet: use the enabled transport when disabling a port
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6209939078d161f927859dd8c231c5254d4297a9847e6c0a279711f1a71adeaf
- Ingested
- 30 Nov 2026, 13:42:22 UTC
- Source record
- Official CVE record