CVE-2026-139157

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139158In the Linux kernel, the following vulnerability has been resolved: nvmet: protect nvmet_ports_list with nvmet_config_sem Readers of nvmetCVE-2026-1391598.1In the Linux kernel, the following vulnerability has been resolved: nvmet: prevent double-free after metadata SGL allocation failure If meCVE-2026-139164.3Inappropriate implementation in Chrome for iOS in Google Chrome on iOS prior to 150.0.7871.47 allowed a remote attacker to perform UI spoofiCVE-2026-139160In the Linux kernel, the following vulnerability has been resolved: nfp: flower: fix use-after-free in neighbour update work The netevent CVE-2026-139161In the Linux kernel, the following vulnerability has been resolved: tls: keep TX and RX hardware offload on the same device After TX is ofCVE-2026-139162In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: handle partial allocation in attr_data_get_block_locked() WhCVE-2026-139163In the Linux kernel, the following vulnerability has been resolved: bpf: Keep stack arguments in arch_bpf_timed_may_goto() The JITs pass tCVE-2026-139164In the Linux kernel, the following vulnerability has been resolved: net: dsa: mv88e6xxx: fix 88E6171 statistics type The 88E6171 uses the CVE-2026-139165In the Linux kernel, the following vulnerability has been resolved: ksmbd: avoid races between named-pipe operations RPC IPC replies are mCVE-2026-139166In the Linux kernel, the following vulnerability has been resolved: devlink: region: fix snapshot id leak on kernel-allocated ids When DEVCVE-2026-139167In the Linux kernel, the following vulnerability has been resolved: net-sysfs: reject a one-entry RPS flow table store_rps_dev_flow_table_CVE-2026-1391687.5In the Linux kernel, the following vulnerability has been resolved: net: microchip: fdma: fix DCB corruption under sustained load __fdma_d
CVE-2026-139157: Unscored | Vulnix