CVE-2026-143117: cgroup/cpuset: Don't revive invalid partition without active CPU on hotplug

Published Dec 3, 2026
·
Updated

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

cgroup/cpuset: Don't revive invalid partition without active CPU on hotplug

When a CPU hotplug leaves no CPU outside of the partitions for the top cpuset, cpusethandlehotplug() clears subpartitionscpus and gives all the active CPUs back to the top cpuset. cpusethotplugupdatetasks() then walks the hierarchy and invalidates the partitions, as subpartitionscpus is empty.

However, an invalid partition visited in the same walk may be revived if its effectivexcpus is not empty. tasksnocpuerror() doesn't catch it when its CPUs are all offline but it has no task. Its CPUs are put back into subpartitionscpus, and the valid partitions visited after it are no longer invalidated, as subpartitionscpus is not empty any more. The top cpuset is left with CPUs overlapping with these partitions.

It can be reproduced on a system with 8 CPUs:

# cd /sys/fs/cgroup # echo +cpuset > cgroup.subtreecontrol # mkdir A1 B1 # echo 1 > A1/cpuset.cpus # echo 1 > A1/cpuset.cpus.exclusive # echo 0,2-7 > B1/cpuset.cpus # echo root > B1/cpuset.cpus.partition # echo root > A1/cpuset.cpus.partition # cat A1/cpuset.cpus.partition root invalid (Parent unable to distribute cpu downstream) # echo 0 > /sys/devices/system/cpu/cpu1/online # cat A1/cpuset.cpus.partition B1/cpuset.cpus.partition root root # cat cpuset.cpus.effective 0,2-7

A1 can't take CPU 1, the last CPU of the root cgroup which has tasks. When CPU 1 is offlined, A1 is revived without any active CPU, and B1 stays valid while its CPUs are also in the effective CPUs of the root cgroup, which triggers

WARNING: kernel/cgroup/cpuset.c:919 at rebuildscheddomainslocked

Only revive an invalid partition in hotplug if its effectivexcpus has an active CPU, the same as what is required to create a partition with tasks. With that, A1 and B1 are both invalidated in the above case.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203