CVE-2026-72016

Source
https://cve.org/CVERecord?id=CVE-2026-72016
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72016.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72016
Downstream
Published
2026-08-15T05:51:44.050Z
Modified
2026-08-18T03:30:58.042762218Z
Summary
cpu/hotplug: Fix NULL kobject warning in cpuhp_smt_enable()
Details

In the Linux kernel, the following vulnerability has been resolved:

cpu/hotplug: Fix NULL kobject warning in cpuhpsmtenable()

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 cpuhpsmtenable(), the code iterates over all present CPUs. Calling cpuup() for these unregistered CPUs eventually leads to sysfscreategroup() 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 internalcreategroup+0x41c/0x4bc, CPU#2: sh/181 [...] Call trace: internalcreategroup+0x41c/0x4bc (P) sysfscreategroup+0x18/0x24 topologyadddev+0x1c/0x28 cpuhpinvokecallback+0x104/0x20c _cpuhpinvokecallbackrange+0x94/0x11c cpuup+0x200/0x37c

When booting with ACPI, arm64 smppreparecpus() 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 ACPIMADTENABLED flag in the GICC entry before calling setcpupresent() during SMP initialization.

  2. Properly managing the present mask in acpimapcpu() and acpiunmapcpu() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72016.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
eed4583bcf9a60f8d6dd3a3c7c94dea28134b1eb
Fixed
ccdf1770a4ba27e31599d24ad970d77a371c7912
Fixed
901a489d89ee9c854624c8444090e38e70aed234
Fixed
f9a82544c7174851f5c7524622f5966dcafd3a47

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72016.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72016.json"