CVE-2025-38366: Linux kernel · LoongArch: KVM: Check validity of "num_cpu" from user space
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 13 Nov 2026, 20:13 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 25 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel by adding validation for the "num_cpu" parameter in the KVM module for LoongArch. Users and administrators should apply the official kernel updates that include this fix to mitigate the risk. Since this is a kernel-level vulnerability, updating to the patched kernel version is the recommended remediation.
Description
A vulnerability in the Linux kernel's KVM implementation for the LoongArch architecture was addressed by adding validation for the "num_cpu" parameter received from user space. This validation prevents an array pointer overflow related to the maximum supported CPU number for the EIOINTC irqchip. The flaw could allow local attackers with limited privileges to cause high impact on confidentiality, integrity, and availability.