{"api_version":"1","generated_at":"2026-12-04T10:47:17+00:00","cve":"CVE-2026-143117","urls":{"html":"https://cve.report/CVE-2026-143117","api":"https://cve.report/api/cve/CVE-2026-143117.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143117","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143117"},"summary":{"title":"cgroup/cpuset: Don't revive invalid partition without active CPU on hotplug","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:44","updated_at":"2026-12-03 10:17:44"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/acec9637e03ca54bd3c3a0c1a6ad5c6dfa07c0df","name":"https://git.kernel.org/stable/c/acec9637e03ca54bd3c3a0c1a6ad5c6dfa07c0df","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ddca901b47d020e8cfa0029c841708d3ad8ebaab","name":"https://git.kernel.org/stable/c/ddca901b47d020e8cfa0029c841708d3ad8ebaab","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7b24edc4296a0e0d26405b1bdafeb0ed8c566d2f","name":"https://git.kernel.org/stable/c/7b24edc4296a0e0d26405b1bdafeb0ed8c566d2f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d51357affc3cfd485c14eb7f03cbe68366a51226","name":"https://git.kernel.org/stable/c/d51357affc3cfd485c14eb7f03cbe68366a51226","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143117","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143117","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0c7f293efc87a06b51db9aa65256f8cb0a5a0a21 7b24edc4296a0e0d26405b1bdafeb0ed8c566d2f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0c7f293efc87a06b51db9aa65256f8cb0a5a0a21 ddca901b47d020e8cfa0029c841708d3ad8ebaab git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0c7f293efc87a06b51db9aa65256f8cb0a5a0a21 d51357affc3cfd485c14eb7f03cbe68366a51226 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0c7f293efc87a06b51db9aa65256f8cb0a5a0a21 acec9637e03ca54bd3c3a0c1a6ad5c6dfa07c0df git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143117","cve":"CVE-2026-143117","epss":"0.002090000","percentile":"0.116400000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/cgroup/cpuset.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"7b24edc4296a0e0d26405b1bdafeb0ed8c566d2f","status":"affected","version":"0c7f293efc87a06b51db9aa65256f8cb0a5a0a21","versionType":"git"},{"lessThan":"ddca901b47d020e8cfa0029c841708d3ad8ebaab","status":"affected","version":"0c7f293efc87a06b51db9aa65256f8cb0a5a0a21","versionType":"git"},{"lessThan":"d51357affc3cfd485c14eb7f03cbe68366a51226","status":"affected","version":"0c7f293efc87a06b51db9aa65256f8cb0a5a0a21","versionType":"git"},{"lessThan":"acec9637e03ca54bd3c3a0c1a6ad5c6dfa07c0df","status":"affected","version":"0c7f293efc87a06b51db9aa65256f8cb0a5a0a21","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/cgroup/cpuset.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.7"},{"lessThan":"6.7","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"6.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:19:30.177Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/7b24edc4296a0e0d26405b1bdafeb0ed8c566d2f"},{"url":"https://git.kernel.org/stable/c/ddca901b47d020e8cfa0029c841708d3ad8ebaab"},{"url":"https://git.kernel.org/stable/c/d51357affc3cfd485c14eb7f03cbe68366a51226"},{"url":"https://git.kernel.org/stable/c/acec9637e03ca54bd3c3a0c1a6ad5c6dfa07c0df"}],"title":"cgroup/cpuset: Don't revive invalid partition without active CPU on hotplug","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143117","datePublished":"2026-12-03T09:19:30.177Z","dateReserved":"2026-12-03T03:10:28.350Z","dateUpdated":"2026-12-03T09:19:30.177Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:44","lastModifiedDate":"2026-12-03 10:17:44","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143117","Ordinal":"1","Title":"cgroup/cpuset: Don't revive invalid partition without active CPU","CVE":"CVE-2026-143117","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143117","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"cgroup/cpuset: Don't revive invalid partition without active CPU"}]}}}