In the Linux kernel, the following vulnerability has been resolved: LoongArch: Fix acpi_package_ids[] array overflow With LoongArch virt machine, a typical setting is one core per socket, there will max 256 sockets (packages) on one VM. With PPTT acpi table, array acpi_package_ids[] will be overflowed. Here change the array size of acpi_package_ids[] with the max value of MAX_PACKAGES and KVM_MAX_VCPUS.
https://git.kernel.org/stable/c/d3fd094c13c6d0b74f246461ca4cf427d539c8e8
https://git.kernel.org/stable/c/6311b8c471afa33c18adbe4eb16f862936b71ca3
https://git.kernel.org/stable/c/2a2367d46d7a4ee4122b7a86e57125542dbbe963
https://git.kernel.org/stable/c/0195e04b1eec8fb00e2db9c5e55655a3f5e76f60