CVE-2024-46822
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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.*
CVE List
linux linux_kernelbefore 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.10NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: arm64: acpi: endurecer get_cpu_for_acpi_id() contra la entrada de CPU faltante En una discusión de revisión de los cambios para soportar vCPU hotplug donde se agregó una verificación en el GICC que se habilita si está en línea, se observó que es necesario volver a mapear a la CPU y usar eso para indexar en una cpumask. Como tal, se necesita una ID válida. Si una verificación MPIDR falla en acpi_map_gic_cpu_interface() es posible que la entrada en cpu_madt_gicc[cpu] == NULL. Esta función causaría una desreferencia de puntero NULL. Si bien no se ha establecido una ruta para activar esto, endurezca este llamador contra la posibilidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-46822 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-46822 changed 2026-06-17Public domain