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.
https://git.kernel.org/stable/c/cc8d5b209e09d3b52bca1ffe00045876842d96ae
https://git.kernel.org/stable/c/a3293b4078ee93174f70f36d3ab7618554ce6ab6