CVE-2026-139454

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

cxl/port: Attach endpoints to a dport under the lock that pins it

devm_cxl_enumerate_ports() and add_port_attach_ep() look up or create a dport under its port's device lock, drop the lock, then pass the dport to cxl_add_ep(). add_ep() reads dport->port before taking the lock, and cxl_gpf_port_setup() reads and writes the dport with no lock held.

A concurrent cxl_detach_ep() for another memdev below the same port can free the dport in that window: it calls del_dports() under the port lock when the last endpoint leaves. The enumerating memdev then dereferences freed memory.

Attach the endpoint and set up GPF while the port lock from the lookup is still held. Make add_ep() assert that lock instead of taking it. Under the lock, a dport found in port->dports is still live, since removal erases it from the xarray before freeing it.

[ dj: Added kdoc update from Alison. ]

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-139455In the Linux kernel, the following vulnerability has been resolved: cxl/core: Hold the dport host lock across dport lookup and use CallersCVE-2026-139456In the Linux kernel, the following vulnerability has been resolved: bpf: Fix arg_track_xfer() for atomic stack spills and fills Track spilCVE-2026-139457In the Linux kernel, the following vulnerability has been resolved: vfio/pci: Drain eventfd RCU callbacks on module exit vfio_pci_eventfd_CVE-2026-139458In the Linux kernel, the following vulnerability has been resolved: PCI/P2PDMA: Safely terminate ACS redirect lists seq_buf marks an overfCVE-2026-139459In the Linux kernel, the following vulnerability has been resolved: PCI/P2PDMA: Wait for RCU readers before freeing state pci_p2pmem_find_CVE-2026-139464.3Inappropriate implementation in ScriptInjections in Google Chrome on iOS prior to 150.0.7871.47 allowed a remote attacker to leak cross-origCVE-2026-139460In the Linux kernel, the following vulnerability has been resolved: PCI/P2PDMA: Do not tear down the allocate attribute on registration faiCVE-2026-139461In the Linux kernel, the following vulnerability has been resolved: dma-direct: Restore arch_dma_alloc() for the DMA_ATTR_NO_KERNEL_MAPPINGCVE-2026-139462In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: reg: protect regdb pointer with RCU reg_query_regdb_wmCVE-2026-139463In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: fix mbssid/rnr allocation in beacon data These structsCVE-2026-139464In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: limit injected HT/VHT MCSes With radiotap injection thCVE-2026-139465In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: kill wake_txqs_tasklet on unregistration We never kill
CVE-2026-139454: Unscored | Vulnix