PT-2026-163496

CVE-2026-139455

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
cxl/core: Hold the dport host lock across dport lookup and use
Callers of cxl pci find port() and cxl mem find port() can be handed a 'struct cxl dport' that is already freed, and all four dereference it without the lock that would prevent that.
A dport is kzalloc()'d into a devres group on its host device, so it dies when that host unbinds. The host is &port->dev for a switch port and port->uport dev for the root port.
Both helpers return the dport through an output parameter. The caller's port reference pins struct cxl port, not the dport allocation, and the lookup itself is a bare xa load() under no lock.
Add cxl port dport host() to name the device that pins a dport, and cxl pci find dport() / cxl mem find dport() to look one up with that device's lock held and asserted. Convert the four callers to use them and bail if the dport is gone. cxl port add dport() already follows this rule.
cxl mem probe() chose its endpoint devm host from dport->rch, which meant dereferencing the dport before taking any lock. Use cxl port dport host(): rch dports only ever land on the root port, so it selects the same device without needing the dport.
With every caller converted, the dport output parameter of cxl pci find port() and cxl mem find port() is unused. Drop it.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾