🔍 CVE-2026-72016

0.0
CVSS Score
UNKNOWN
2026-08-15
2026-08-17 06:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 arm64 아키텍처에서 ACPI 부팅 시 실제 존재하지 않는 CPU가 'present' 상태로 잘못 표시되어 NULL kobject 경고가 발생하는 취약점입니다. 이는 cpuhp_smt_enable() 함수가 초기화되지 않은 CPU의 디바이스 객체에 접근할 때 발생합니다. 이를 해결하기 위해 ACPI_MADT_ENABLED 플래그를 확인하고 CPU present 마스크 관리 로직을 수정했습니다.

💡 쉬운 설명

컴퓨터가 켜질 때 실제로는 없는 CPU를 있는 것처럼 착각하여 시스템 내부에서 오류가 발생하는 문제입니다. 이로 인해 시스템 경고가 발생하거나 비정상적인 동작이 일어날 수 있습니다.

🇺🇸 원문 (English)

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

📍 영향받는 시스템

Linux kernel (arm64 architecture using ACPI)

⚔️ 공격 벡터

Local (시스템 부팅 설정 또는 가상화 환경의 CPU 구성 조작을 통한 트리거)

🛡️ 대응 방법

Linux 커널을 최신 패치가 적용된 버전으로 업데이트하여 arm64 CPU hotplug 로직을 수정해야 합니다.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel