Security mailing lists by PureSourceCode

CVE-2026-139157

not scored yet

nvmet: use the enabled transport when disabling a port

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b, < 7ed6f416744f98e25c43c5a81daa5581637001b7; >= 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b, < 7d1118f62d0c7bfb46300257a2fae9a61a8e090c; >= 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b, < ce42d3a48d5c280449476ea005e04854af3fa718; >= 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b, < 929e8db88a87e4cd119809acee455816605e3e3e; >= 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b, < 0becb7856d419c9fafcae3ad0182b2398f924f29; >= 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b, < 8c17a634a1485d2450cb998d18d9a54bf1021565; >= 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b, < 0c9d85e54196fd69810017a2624614fb6619cb8d; >= 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b, < 60385038754ed9fb05dab127b35f88c702252505 7ed6f416744f98e25c43c5a81daa5581637001b7, 7d1118f62d0c7bfb46300257a2fae9a61a8e090c, ce42d3a48d5c280449476ea005e04854af3fa718, 929e8db88a87e4cd119809acee455816605e3e3e, 0becb7856d419c9fafcae3ad0182b2398f924f29, 8c17a634a1485d2450cb998d18d9a54bf1021565, 0c9d85e54196fd69810017a2624614fb6619cb8d, 60385038754ed9fb05dab127b35f88c702252505
CVE List Linux Linux = 4.8

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.