CVE-2025-40202
Description
A flaw was found in the Linux kernel's Intelligent Platform Management Interface (IPMI) driver. Flawed accounting and reference counting when enforcing user message limits can lead to a use-after-free condition, where the kernel accesses memory that has already been released. A local attacker with access to the IPMI interface could exploit this vulnerability to cause a system crash (Denial of Service) or potentially execute arbitrary code.
Statement
Red Hat Enterprise Linux is not affected by this vulnerability because the flawed user message accounting mechanism was introduced in an upstream kernel commit not present in Red Hat enterprise kernels. Exploiting this issue would require local access to interact with the IPMI interface to induce reference counting discrepancies and trigger memory corruption. Consequently, this flaw does not present a security risk to supported Red Hat environments.
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
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.