# CVE-2024-46822: arm64: acpi: Harden get\_cpu\_for\_acpi\_id() against missing CPU entry

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-09-27T12:39:23.345Z
- **Modified:** 2026-06-17T07:56:01.390Z

## Who should check

- Anyone running Linux \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< f57769ff6fa7f97f1296965f20e8a2bb3ee9fd0f; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 4c3b21204abb4fa3ab310fbbb5cf7f0e85f3a1bc; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 945be49f4e832a9184c313fdf8917475438a795b; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 40cae0df42e5e7f7a1c0f32deed9c4027c1ba94e; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 62ca6d3a905b4c40cd942f3cc645a6718f8bc7e7; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< bc7fbb37e3d2df59336eadbd6a56be632e3c7df7; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 2488444274c70038eb6b686cba5f1ce48ebb9cdd
- Anyone running Linux 3.7

## 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.

## Affected and fixed versions

- Linux: \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< f57769ff6fa7f97f1296965f20e8a2bb3ee9fd0f; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 4c3b21204abb4fa3ab310fbbb5cf7f0e85f3a1bc; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 945be49f4e832a9184c313fdf8917475438a795b; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 40cae0df42e5e7f7a1c0f32deed9c4027c1ba94e; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 62ca6d3a905b4c40cd942f3cc645a6718f8bc7e7; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< bc7fbb37e3d2df59336eadbd6a56be632e3c7df7; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 2488444274c70038eb6b686cba5f1ce48ebb9cdd (cvelist)
- Linux: 3.7 (cvelist)

## Mitigation

- Upgrade Linux to 2488444274c70038eb6b686cba5f1ce48ebb9cdd or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-46822. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-46822.md
Affected: Linux >= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, < f57769ff6fa7f97f1296965f20e8a2bb3ee9fd0f; >= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, < 4c3b21204abb4fa3ab310fbbb5cf7f0e85f3a1bc; >= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, < 945be49f4e832a9184c313fdf8917475438a795b; >= 0be7320a635c2e434e8b67e…
Fixed in: Linux 4c3b21204abb4fa3ab310fbbb5cf7f0e85f3a1bc, Linux 945be49f4e832a9184c313fdf8917475438a795b, Linux 40cae0df42e5e7f7a1c0f32deed9c4027c1ba94e, Linux 62ca6d3a905b4c40cd942f3cc645a6718f8bc7e7, Linux 2488444274c70038eb6b686cba5f1ce48ebb9cdd

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-46822 being exploited?

There is no confirmed exploitation: CVE-2024-46822 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-46822?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-46822?

Linux \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< f57769ff6fa7f97f1296965f20e8a2bb3ee9fd0f; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 4c3b21204abb4fa3ab310fbbb5cf7f0e85f3a1bc; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 945be49f4e832a9184c313fdf8917475438a795b; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 40cae0df42e5e7f7a1c0f32deed9c4027c1ba94e; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 62ca6d3a905b4c40cd942f3cc645a6718f8bc7e7; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< bc7fbb37e3d2df59336eadbd6a56be632e3c7df7; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 2488444274c70038eb6b686cba5f1ce48ebb9cdd; Linux 3.7.

### Is there a fix for CVE-2024-46822?

Yes. Fixed in Linux 4c3b21204abb4fa3ab310fbbb5cf7f0e85f3a1bc, Linux 945be49f4e832a9184c313fdf8917475438a795b, Linux 40cae0df42e5e7f7a1c0f32deed9c4027c1ba94e, Linux 62ca6d3a905b4c40cd942f3cc645a6718f8bc7e7, Linux 2488444274c70038eb6b686cba5f1ce48ebb9cdd. Upgrade Linux to 2488444274c70038eb6b686cba5f1ce48ebb9cdd or later.

### How do I check if I'm affected by CVE-2024-46822?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-46822>

HTML: <https://flawdb.com/CVE-2024-46822> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-46822>
