CVE Catalog

CVE-2025-38366

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

4th percentile - higher than 4% of all known CVEs

Summary

In the Linux kernel for LoongArch architecture in the KVM module, there is a missing validation of the CPU number passed from user space. This can lead to an array pointer overflow.

Risk Assessment

An attacker with privileges to manage a virtual machine could cause a system crash or potentially gain unauthorized memory access.

Recommendation

Apply the Linux kernel patch that adds validation of the 'num_cpu' parameter in the KVM module for LoongArch.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: LoongArch: KVM: Check validity of "num_cpu" from user space The maximum supported cpu number is EIOINTC_ROUTE_MAX_VCPUS about irqchip EIOINTC, here add validation about cpu number to avoid array pointer overflow.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS