Bug 2315174 (CVE-2024-46822) - CVE-2024-46822 kernel: arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry
Summary: CVE-2024-46822 kernel: arm64: acpi: Harden get_cpu_for_acpi_id() against miss...
Keywords:
Status: NEW
Alias: CVE-2024-46822
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2315285
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-27 13:21 UTC by OSIDB Bzimport
Modified: 2025-05-13 08:28 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:6966 0 None None None 2025-05-13 08:28:46 UTC

Description OSIDB Bzimport 2024-09-27 13:21:35 UTC
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.

Comment 2 errata-xmlrpc 2025-05-13 08:28:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:6966 https://access.redhat.com/errata/RHSA-2025:6966


Note You need to log in before you can comment on or make changes to this bug.