CVE-2025-38366

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux1ad7efa552fd5cf4e8c49fea863c5c6a5dcf9f00 < a3293b4078ee93174f70f36d3ab7618554ce6ab6affected
LinuxLinux1ad7efa552fd5cf4e8c49fea863c5c6a5dcf9f00 < cc8d5b209e09d3b52bca1ffe00045876842d96aeaffected
LinuxLinux6.13affected
LinuxLinux0 < 6.13unaffected
LinuxLinux6.15.5 <= 6.15.*unaffected
LinuxLinux6.16 <= *unaffected

Weaknesses

References