# CVE-2024-46822: arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-09-27T12:39:23.345Z
- Modified: 2026-06-17T07:56:01.390Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry

In a review discussion of the changes to support vCPU hotplug where
a check was added on the GICC being enabled if was online, it was
noted that there is need to map back to the cpu and use that to index
into a cpumask. As such, a valid ID is needed.

If an MPIDR check fails in acpi_map_gic_cpu_interface() it is possible
for the entry in cpu_madt_gicc[cpu] == NULL.  This function would
then cause a NULL pointer dereference.   Whilst a path to trigger
this has not been established, harden this caller against the
possibility.

(As written by CVE List.)

## Affected

- Linux Linux: from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before f57769ff6fa7f97f1296965f20e8a2bb3ee9fd0f; from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before 4c3b21204abb4fa3ab310fbbb5cf7f0e85f3a1bc; from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before 945be49f4e832a9184c313fdf8917475438a795b; from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before 40cae0df42e5e7f7a1c0f32deed9c4027c1ba94e; from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before 62ca6d3a905b4c40cd942f3cc645a6718f8bc7e7; from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before bc7fbb37e3d2df59336eadbd6a56be632e3c7df7; from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before 2488444274c70038eb6b686cba5f1ce48ebb9cdd; 3.7 (not affected: before 3.7; from 5.4.284 up to 5.4.*; from 5.10.226 up to 5.10.*; from 5.15.167 up to 5.15.*; from 6.1.110 up to 6.1.*; from 6.6.51 up to 6.6.*; from 6.10.10 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 5.4.284; from 5.5 before 5.10.226; from 5.11 before 5.15.167; from 5.16 before 6.1.110; from 6.2 before 6.6.51; from 6.7 before 6.10.10

## References

- <https://git.kernel.org/stable/c/f57769ff6fa7f97f1296965f20e8a2bb3ee9fd0f> (patch)
- <https://git.kernel.org/stable/c/4c3b21204abb4fa3ab310fbbb5cf7f0e85f3a1bc> (patch)
- <https://git.kernel.org/stable/c/945be49f4e832a9184c313fdf8917475438a795b> (patch)
- <https://git.kernel.org/stable/c/40cae0df42e5e7f7a1c0f32deed9c4027c1ba94e> (patch)
- <https://git.kernel.org/stable/c/62ca6d3a905b4c40cd942f3cc645a6718f8bc7e7> (patch)
- <https://git.kernel.org/stable/c/bc7fbb37e3d2df59336eadbd6a56be632e3c7df7> (patch)
- <https://git.kernel.org/stable/c/2488444274c70038eb6b686cba5f1ce48ebb9cdd> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Sources

- CVE List: [CVE-2024-46822](https://www.cve.org/CVERecord?id=CVE-2024-46822), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-46822](https://nvd.nist.gov/vuln/detail/CVE-2024-46822), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-46822 · Whole record: https://cve.day/CVE-2024-46822.json · Rebuilt by cve.day 2026-11-25T22:58:45.831Z
