CVE-2026-139670: cxl/port: Fix uninitialized coordinates reported for RCDs
In the Linux kernel, the following vulnerability has been resolved:
cxl/port: Fix uninitialized coordinates reported for RCDs
cxlendpointgetperfcoordinates() returns success for a Restricted CXL Device without calculating coordinates, so the caller's output array is left uninitialized. Callers treat it as valid and can expose the stack residue as access coordinates.
Initialize the coordinates to zero before returning for an RCD. Zeroing in the helper rather than at the caller keeps the @coord output contract the exported function documents.
Reported by the Sashiko review bot.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Initialize the coordinates to zero before returning for a Restricted CXL Device (RCD) in cxl_endpoint_get_perf_coordinates().
Event History
Frequently Asked Questions
Which deployments are potentially affected?
The issue is specific to Linux kernel CXL handling of Restricted CXL Devices (RCDs). Exposure requires a caller that obtains performance coordinates for an RCD and exposes those coordinates as access-coordinate data.
How can an affected system be recognized?
An affected path returns success when querying performance coordinates for an RCD, but the output coordinate array has not been calculated or initialized. Any resulting access-coordinate values may therefore contain stack residue rather than valid coordinates.
What behavior does the correction provide?
The corrected helper initializes the coordinate output to zero for an RCD before returning success. This preserves the documented output contract and prevents callers from consuming uninitialized coordinate data.