CVE-2026-72016
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
15/08/2026
Última modificación:
17/08/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
cpu/hotplug: Fix NULL kobject warning in cpuhp_smt_enable()<br />
<br />
On arm64, when booting with `maxcpus` greater than the number of present<br />
CPUs (e.g., QEMU -smp cpus=4,maxcpus=8), some CPUs are marked as &#39;present&#39;<br />
but have not yet been registered via register_cpu(). Consequently,<br />
the per-cpu device objects for these CPUs are not yet initialized.<br />
<br />
In cpuhp_smt_enable(), the code iterates over all present CPUs. Calling<br />
_cpu_up() for these unregistered CPUs eventually leads to<br />
sysfs_create_group() being called with a NULL kobject (or a kobject<br />
without a directory), triggering the following warning in<br />
fs/sysfs/group.c:<br />
<br />
WARNING: fs/sysfs/group.c:137 at internal_create_group+0x41c/0x4bc, CPU#2: sh/181<br />
[...]<br />
Call trace:<br />
internal_create_group+0x41c/0x4bc (P)<br />
sysfs_create_group+0x18/0x24<br />
topology_add_dev+0x1c/0x28<br />
cpuhp_invoke_callback+0x104/0x20c<br />
__cpuhp_invoke_callback_range+0x94/0x11c<br />
_cpu_up+0x200/0x37c<br />
<br />
When booting with ACPI, arm64 smp_prepare_cpus() currently sets all<br />
enumerated CPUs as "present" regardless of their status in the MADT. This<br />
causes issues with SMT hotplug control. For instance, with QEMU&#39;s<br />
"-smp 4,maxcpus=8" configuration, the MADT GICC entries are populated as<br />
follows:<br />
<br />
1. The first four CPUs: `Enabled` set but `Online Capable` not set.<br />
<br />
2. The remaining four CPUs: `Online Capable` set but `Enabled` not set<br />
to support potential hot-plugging.<br />
<br />
Fix this by:<br />
<br />
1. When booting with ACPI, checking the ACPI_MADT_ENABLED flag in the GICC<br />
entry before calling set_cpu_present() during SMP initialization.<br />
<br />
2. Properly managing the present mask in acpi_map_cpu() and<br />
acpi_unmap_cpu() to support actual CPU hotplug events, This aligns with<br />
other architectures like x86 and LoongArch.<br />
<br />
3. Update the arm64 CPU hotplug documentation to no longer state that all<br />
online-capable vCPUs are marked as present by the kernel at boot time.<br />
<br />
This ensures that only physically available or explicitly enabled CPUs<br />
are in the present mask, keeping the SMT control logic consistent with<br />
the actual hardware state.


