arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.226, 5.15.167, 5.4.284, 6.1.110, 6.10.10, 6.6.51
- CVEs
- CVE-2024-46822
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 18:25 UTC · Revision 1
Source evidence
arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry
core-osv · Original sourcePublished 27 Sept 2024, 12:39 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.
osv:CVE-2024-46822
Kernel
Fixed versions: 5.4.284, 5.10.226, 5.15.167, 6.1.110, 6.6.51, 6.10.10
Complete source record
{
"id": "e514156f4d35c0b57fd531bd0b4b4af50b535076af37c16c0f2032b8fe671af4",
"url": "https://osv.dev/vulnerability/CVE-2024-46822",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry",
"summary": "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.",
"evidence": "osv:CVE-2024-46822",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.284",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.226",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.167",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.110",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.51",
"evidence": "/affected/1/ranges"
},
{
"value": "6.10.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-46822",
"aliases": [
"CVE-2024-46822"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "0be7320a635c2e434e8b67e0e9474a85ceb421c4"
},
{
"fixed": "f57769ff6fa7f97f1296965f20e8a2bb3ee9fd0f"
},
{
"fixed": "4c3b21204abb4fa3ab310fbbb5cf7f0e85f3a1bc"
},
{
"fixed": "945be49f4e832a9184c313fdf8917475438a795b"
},
{
"fixed": "40cae0df42e5e7f7a1c0f32deed9c4027c1ba94e"
},
{
"fixed": "62ca6d3a905b4c40cd942f3cc645a6718f8bc7e7"
},
{
"fixed": "bc7fbb37e3d2df59336eadbd6a56be632e3c7df7"
},
{
"fixed": "2488444274c70038eb6b686cba5f1ce48ebb9cdd"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46822.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.7.0"
},
{
"fixed": "5.4.284"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.226"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.167"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.110"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.51"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.10.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46822.json"
}
}
],
"modified": "2026-10-28T02:30:31.491254975Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/2488444274c70038eb6b686cba5f1ce48ebb9cdd",
"https://git.kernel.org/stable/c/40cae0df42e5e7f7a1c0f32deed9c4027c1ba94e",
"https://git.kernel.org/stable/c/4c3b21204abb4fa3ab310fbbb5cf7f0e85f3a1bc",
"https://git.kernel.org/stable/c/62ca6d3a905b4c40cd942f3cc645a6718f8bc7e7",
"https://git.kernel.org/stable/c/945be49f4e832a9184c313fdf8917475438a795b",
"https://git.kernel.org/stable/c/bc7fbb37e3d2df59336eadbd6a56be632e3c7df7",
"https://git.kernel.org/stable/c/f57769ff6fa7f97f1296965f20e8a2bb3ee9fd0f",
"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html",
"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46822.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-46822",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46822.json"
}
},
"related_cves": [
{
"value": "CVE-2024-46822",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 498394,
"published_at": "2024-09-27T12:39:23.345+00:00"
}