{"id":"CVE-2026-143117","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:44.133","lastModified":"2026-12-03T10:17:44.133","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup/cpuset: Don't revive invalid partition without active CPU on hotplug\n\nWhen a CPU hotplug leaves no CPU outside of the partitions for the top\ncpuset, cpuset_handle_hotplug() clears subpartitions_cpus and gives all\nthe active CPUs back to the top cpuset. cpuset_hotplug_update_tasks()\nthen walks the hierarchy and invalidates the partitions, as\nsubpartitions_cpus is empty.\n\nHowever, an invalid partition visited in the same walk may be revived\nif its effective_xcpus is not empty. tasks_nocpu_error() doesn't catch\nit when its CPUs are all offline but it has no task. Its CPUs are put\nback into subpartitions_cpus, and the valid partitions visited after it\nare no longer invalidated, as subpartitions_cpus is not empty any more.\nThe top cpuset is left with CPUs overlapping with these partitions.\n\nIt can be reproduced on a system with 8 CPUs:\n\n  # cd /sys/fs/cgroup\n  # echo +cpuset > cgroup.subtree_control\n  # mkdir A1 B1\n  # echo 1 > A1/cpuset.cpus\n  # echo 1 > A1/cpuset.cpus.exclusive\n  # echo 0,2-7 > B1/cpuset.cpus\n  # echo root > B1/cpuset.cpus.partition\n  # echo root > A1/cpuset.cpus.partition\n  # cat A1/cpuset.cpus.partition\n  root invalid (Parent unable to distribute cpu downstream)\n  # echo 0 > /sys/devices/system/cpu/cpu1/online\n  # cat A1/cpuset.cpus.partition B1/cpuset.cpus.partition\n  root\n  root\n  # cat cpuset.cpus.effective\n  0,2-7\n\nA1 can't take CPU 1, the last CPU of the root cgroup which has tasks.\nWhen CPU 1 is offlined, A1 is revived without any active CPU, and B1\nstays valid while its CPUs are also in the effective CPUs of the root\ncgroup, which triggers\n\n  WARNING: kernel/cgroup/cpuset.c:919 at rebuild_sched_domains_locked\n\nOnly revive an invalid partition in hotplug if its effective_xcpus has\nan active CPU, the same as what is required to create a partition with\ntasks. With that, A1 and B1 are both invalidated in the above case."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["kernel/cgroup/cpuset.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"0c7f293efc87a06b51db9aa65256f8cb0a5a0a21","lessThan":"7b24edc4296a0e0d26405b1bdafeb0ed8c566d2f","versionType":"git","status":"affected"},{"version":"0c7f293efc87a06b51db9aa65256f8cb0a5a0a21","lessThan":"ddca901b47d020e8cfa0029c841708d3ad8ebaab","versionType":"git","status":"affected"},{"version":"0c7f293efc87a06b51db9aa65256f8cb0a5a0a21","lessThan":"d51357affc3cfd485c14eb7f03cbe68366a51226","versionType":"git","status":"affected"},{"version":"0c7f293efc87a06b51db9aa65256f8cb0a5a0a21","lessThan":"acec9637e03ca54bd3c3a0c1a6ad5c6dfa07c0df","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["kernel/cgroup/cpuset.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.7","status":"affected"},{"version":"0","lessThan":"6.7","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/7b24edc4296a0e0d26405b1bdafeb0ed8c566d2f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/acec9637e03ca54bd3c3a0c1a6ad5c6dfa07c0df","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d51357affc3cfd485c14eb7f03cbe68366a51226","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ddca901b47d020e8cfa0029c841708d3ad8ebaab","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}