CVE-2025-40262

Description

A flaw was found in the Linux kernel's NXP i.MX System Controller key driver. During module unloading, the driver incorrectly passes a stack memory address instead of the driver data pointer to a cleanup function. A local user with administrative privileges could trigger this flaw by unloading the driver module, leading to kernel memory corruption and a system crash, resulting in a Denial of Service (DoS).

Statement

This vulnerability poses minimal risk to Red Hat environments because the affected NXP i.MX System Controller key driver is not enabled or shipped in supported Red Hat Enterprise Linux kernels. The issue is restricted to driver cleanup routines on specialized embedded platforms, potentially causing kernel memory corruption when unloading the module. As the required driver is absent from Red Hat kernel builds, enterprise installations are not affected.

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands

If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.

Frequently Asked Questions

Want to get errata notifications? Sign up here.