CVE-2024-46822

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

State
Published
Severity
Not scored
Published
Sep 27, 2024
Updated
May 11, 2026
Reserved
Sep 11, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before f57769ff6fa7f97f1296965f20e8a2bb3ee9fd0fAffected
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 4c3b21204abb4fa3ab310fbbb5cf7f0e85f3a1bcAffected
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 945be49f4e832a9184c313fdf8917475438a795bAffected
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 40cae0df42e5e7f7a1c0f32deed9c4027c1ba94eAffected
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 62ca6d3a905b4c40cd942f3cc645a6718f8bc7e7Affected
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before bc7fbb37e3d2df59336eadbd6a56be632e3c7df7Affected
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 2488444274c70038eb6b686cba5f1ce48ebb9cddAffected
LinuxLinux
  • 3.7Affected
  • before 3.7Not affected
  • 5.4.284 through 5.4.*Not affected
  • 5.10.226 through 5.10.*Not affected
  • 5.15.167 through 5.15.*Not affected
  • 6.1.110 through 6.1.*Not affected
  • 6.6.51 through 6.6.*Not affected
  • 6.10.10 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.