CVE-2025-38252

Description

A flaw was found in the Linux kernel's Compute Express Link (CXL) subsystem. When processing Common Platform Error Records (CPER) for protocol errors, the error-handling mechanism improperly assumes that the target endpoint is a specific device type bound to a standard driver. On systems utilizing CXL hardware, receiving unexpected or non-conforming error records can cause device confusion and trigger a kernel crash, resulting in a Denial of Service (DoS).

Statement

This flaw does not affect supported Red Hat Enterprise Linux releases because the vulnerable CXL handling code is not present in Red Hat kernels. In affected upstream environments, the issue poses a denial of service risk where unexpected protocol error records on systems equipped with Compute Express Link hardware can trigger a kernel crash. Triggering this condition requires specialized CXL accelerator devices and the generation of Common Platform Error Records.

Understanding the Weakness (CWE)

Other

Technical Impact: Varies by Context

When the product accesses the resource using an incompatible type, this could trigger logical errors because the resource does not have expected properties.

Availability,Integrity,Confidentiality

Technical Impact: Read Memory; Modify Memory; Execute Unauthorized Code or Commands; DoS: Crash, Exit, or Restart

If a memory buffer is accessed using an incompatible type, and the allocated buffer is smaller than the type that the code is attempting to access, then an attacker could read or write memory outside the bounds of the buffer, leading to a crash or possibly code execution.

Frequently Asked Questions

Want to get errata notifications? Sign up here.