CVE-2025-38366
Description
A flaw was found in the Linux kernel's Kernel-based Virtual Machine (KVM) subsystem on the LoongArch architecture. The extended I/O interrupt controller (EIOINTC) emulation fails to properly validate the number of virtual CPUs specified from user space. A local user with the ability to configure virtual machines could supply an excessive CPU count, triggering an array pointer overflow and causing kernel memory corruption or a Denial of Service (DoS).
Statement
This vulnerability does not affect Red Hat Enterprise Linux as the flaw is isolated to KVM virtualization on the LoongArch architecture. Red Hat does not support the LoongArch architecture, and the vulnerable code introduced in upstream kernel version 6.13 is not present in Red Hat Enterprise Linux kernels. As a result, supported Red Hat products are not impacted.
Understanding the Weakness (CWE)
Integrity
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.
Other
Technical Impact: Unexpected State
Subsequent write operations can produce undefined or unexpected results.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.