Technical impact
The vulnerability arises because the CXL port driver caches pointers to dport objects in an array, but does not clear these entries when a dport is removed. Subsequent reads of the cached pointer can therefore dereference freed memory, resulting in a kernel use‑after‑free. The defect was detected by KASAN during a load/unload loop with concurrent sysfs reads, highlighting an unstable interaction between module management and userspace access.
Affected Systems
All Linux kernel builds that include the cxl/port driver are affected, regardless of specific version numbers, since the flaw resides in the core driver logic. The problem manifests when the CXL subsystem is active and dports are added and removed by module loading or system reconfiguration.
Risk and Exploitability
This local use‑after‑free can lead to a kernel panic or, with appropriate exploitation, privilege escalation to root. The CVSS score is not provided, and no EPSS entry is available, but the nature of the flaw suggests a moderate likelihood of exploitation in environments where an attacker can control CXL device operations. The vulnerability is not listed in the CISA KEV catalog, indicating that no widely observed exploitation has yet been reported.