Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.8

CVE-2025-38366: Linux KVM on LoongArch: Prevent CPU Number Overflow

CVE-2025-38366 · published 1 year ago
Summary

A bug in the Linux kernel's KVM feature on LoongArch architecture could allow an attacker to cause a crash by passing an invalid number of CPUs. This has been fixed in the Linux kernel to prevent potential crashes. Update your kernel to fix this issue.

What to do
  • Update linux kernel to version 6.15.5.
  • Update linux linux_kernel to version 6.15.5 or later.
  • Update linux linux to version a3293b4078ee93174f70f36d3ab7618554ce6ab6 or later.
Affected software
Ecosystem VendorProductAffected versions
– linux linux_kernel >= 6.13, < 6.15.5
6.16
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
– linux linux < a3293b4078ee93174f70f36d3ab7618554ce6ab6
6.13
Linux linux kernel >= 6.13.0, < 6.15.5
Fix: upgrade to 6.15.5
Original advisory text
LoongArch: KVM: Check validity of "num_cpu" from user space
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.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker full control (estimated)
Severity
7.8 High
Exploitation
<1% chance of attack within 30 days
Timeline
Published25 Jul 2025
Updated27 Oct 2026
First seen7 Mar 2026
Sources
CVE-2025-38366 · MITRE
Track software like this
Free during beta