CVE-2025-38367

Description

A flaw was found in the Linux kernel's KVM (Kernel-based Virtual Machine) implementation for the LoongArch architecture. When modifying the virtual interrupt controller register (EIOINTC_ENABLE), an index variable is improperly reused, resulting in an array index overflow. A local attacker within a guest virtual machine could exploit this vulnerability to trigger out-of-bounds memory access, leading to a Denial of Service (DoS) by crashing the host system or potentially causing memory corruption.

Statement

This vulnerability does not affect Red Hat Enterprise Linux as Red Hat does not ship or support the LoongArch hardware architecture. Additionally, the affected KVM code was introduced in upstream Linux 6.13 and is not present in any supported Red Hat kernel releases. Consequently, there is no security exposure for Red Hat products.

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

Want to get errata notifications? Sign up here.