# CVE-2026-89904: LoongArch: Fix acpi_package_ids[] array overflow

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-02)
- Published: 2026-09-16T10:32:03.752Z
- Modified: 2026-10-19T09:18:35.790Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from f18992be262d6515c94bf4bf6ce7598135076771 before 0195e04b1eec8fb00e2db9c5e55655a3f5e76f60; from 4427a33faabb4b81511b99dfee18ce0a38b5b5df before d3fd094c13c6d0b74f246461ca4cf427d539c8e8; from 4e8f58620f6717f72f3d88a2c8f25c0c656d0ba7 before 6311b8c471afa33c18adbe4eb16f862936b71ca3; from 4e8f58620f6717f72f3d88a2c8f25c0c656d0ba7 before 2a2367d46d7a4ee4122b7a86e57125542dbbe963; 496bc868d9066e034787aa14b8ad6c23e77b51ef; from 6.12.101 before 6.12.110; from 6.18.42 before 6.18.51; from 7.1.6 before 7.2; 7.2 (not affected: before 7.2; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/0195e04b1eec8fb00e2db9c5e55655a3f5e76f60>
- <https://git.kernel.org/stable/c/d3fd094c13c6d0b74f246461ca4cf427d539c8e8>
- <https://git.kernel.org/stable/c/6311b8c471afa33c18adbe4eb16f862936b71ca3>
- <https://git.kernel.org/stable/c/2a2367d46d7a4ee4122b7a86e57125542dbbe963>

## Sources

- CVE List: [CVE-2026-89904](https://www.cve.org/CVERecord?id=CVE-2026-89904), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89904](https://nvd.nist.gov/vuln/detail/CVE-2026-89904), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89904 · Whole record: https://cve.day/CVE-2026-89904.json · Rebuilt by cve.day 2026-11-25T22:59:38.973Z
