PT-2026-163495
CVE-2026-139454
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo 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/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. ]
Found an issue in the description? Have something to add? Feel free to write us 👾