CVE-2026-139670

cxl/port: Fix uninitialized coordinates reported for RCDs

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

cxl/port: Fix uninitialized coordinates reported for RCDs

cxl_endpoint_get_perf_coordinates() 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.

Analysis

AI-generated

Technical impact

The Linux kernel’s cxl/port module had a flaw where cxl_endpoint_get_perf_coordinates returned success for a Restricted CXL Device without setting the coordinate values. Callers treated the output as valid, exposing whatever random data lay on the stack at that location. This leak allows an attacker to read sensitive kernel memory, leading to information disclosure.

Affected Systems

Any system running a Linux kernel with the faulty cxl/port implementation is affected. The exact kernel version range is not specified, but the issue appears in versions before the patch commit referenced in the advisory.

Risk and Exploitability

The flaw does not provide direct remote code execution; the attack vector is local, requiring access that can invoke the cxl_endpoint_get_perf_coordinates function. Because no EPSS score is available and the vulnerability is not listed in CISA KEV, the exploitation likelihood appears low, but the confidentiality impact could be significant if accessed by privileged users. The CVSS score is not specified, so the severity assessment relies on the information leakage risk. Vigilant monitoring and timely patching are recommended.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the patch for the cxl/port module (see commit references).
  • If an upgrade is not immediately possible, apply a local patch that zeros the coordinate array before returning for Restricted CXL Devices.
  • Disable or restrict access to CXL devices that trigger the bug and monitor system logs for anomalous coordinate usage.

Generated by OpenCVE AI on December 1, 2026 at 00:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-200
CWE-788
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: cxl/port: Fix uninitialized coordinates reported for RCDs cxl_endpoint_get_perf_coordinates() 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.
Title cxl/port: Fix uninitialized coordinates reported for RCDs
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-788

    Access of Memory Location After End of Buffer

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM