{"id":"CVE-2026-139194","state":"PUBLISHED","title":"cgroup/cpuset: Don't allow a child root partition under an isolated parent","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup/cpuset: Don't allow a child root partition under an isolated parent\n\nAlthough it is not typical for real users to create a complicated nested\npartition hierarchy, it is currently allowed to create nested root and\nisolated partitions. In addition, disabling or invalidating a partition\nshould always be allowed especially when the cpuset is being deleted.\n\nWith a nested root and isolated partition hierarchy, it is possible\nthat all active housekeeping CPUs can be exhausted when disabling or\ninvalidating a root partition and returning its CPUs to the isolated\nparent.\n\nOne way to avoid this problem is to disallow the creation of a root\npartition under an isolated parent. It is indeed a new limitation imposed\non the existing cpuset partition functionality. However an isolated\npartition is usually a left node where scheduling and some other kernel\nnoises are disabled. It doesn't make much sense to create a child root\npartition under an isolated parent and remove some CPUs from the set\nof isolated CPUs again. Creation of a child isolated partition under a\nroot or isolated parent is still allowed.\n\nIf a partition with child root partitions is converted to isolated,\nthe child root partitions will be invalidated.\n\nThe cgroup-v2 documentation is also updated to reflect this new\nlimitation. New test cases are added to test_cpuset_prs.sh to verify\nthis new behavior. Some existing test cases are also updated accordingly.","publishedAt":"2026-11-30T13:32:26.985Z","updatedAt":"2026-11-30T13:32:26.985Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"8c6412fecad0c43a3852a23e82d8def28456974f","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"c0189e75d3b8355ed29fea33c184c3eb00dc273d","versionType":"git"},{"version":"0","status":"affected","lessThan":"7.3.6","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["Documentation/admin-guide/cgroup-v2.rst","kernel/cgroup/cpuset-internal.h","kernel/cgroup/cpuset.c","tools/testing/selftests/cgroup/test_cpuset_prs.sh"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["Documentation/admin-guide/cgroup-v2.rst","kernel/cgroup/cpuset-internal.h","kernel/cgroup/cpuset.c","tools/testing/selftests/cgroup/test_cpuset_prs.sh"]}],"references":["https://git.kernel.org/stable/c/8c6412fecad0c43a3852a23e82d8def28456974f","https://git.kernel.org/stable/c/c0189e75d3b8355ed29fea33c184c3eb00dc273d"],"weaknesses":[],"ingestedAt":"2026-11-30T13:44:05.999Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139194.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139194","state":"PUBLISHED","datePublished":"2026-11-30T13:32:26.985Z","dateUpdated":"2026-11-30T13:32:26.985Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.919Z"},"containers":{"cna":{"title":"cgroup/cpuset: Don't allow a child root partition under an isolated parent","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup/cpuset: Don't allow a child root partition under an isolated parent\n\nAlthough it is not typical for real users to create a complicated nested\npartition hierarchy, it is currently allowed to create nested root and\nisolated partitions. In addition, disabling or invalidating a partition\nshould always be allowed especially when the cpuset is being deleted.\n\nWith a nested root and isolated partition hierarchy, it is possible\nthat all active housekeeping CPUs can be exhausted when disabling or\ninvalidating a root partition and returning its CPUs to the isolated\nparent.\n\nOne way to avoid this problem is to disallow the creation of a root\npartition under an isolated parent. It is indeed a new limitation imposed\non the existing cpuset partition functionality. However an isolated\npartition is usually a left node where scheduling and some other kernel\nnoises are disabled. It doesn't make much sense to create a child root\npartition under an isolated parent and remove some CPUs from the set\nof isolated CPUs again. Creation of a child isolated partition under a\nroot or isolated parent is still allowed.\n\nIf a partition with child root partitions is converted to isolated,\nthe child root partitions will be invalidated.\n\nThe cgroup-v2 documentation is also updated to reflect this new\nlimitation. New test cases are added to test_cpuset_prs.sh to verify\nthis new behavior. Some existing test cases are also updated accordingly."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"8c6412fecad0c43a3852a23e82d8def28456974f","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"c0189e75d3b8355ed29fea33c184c3eb00dc273d","versionType":"git"},{"version":"0","status":"affected","lessThan":"7.3.6","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["Documentation/admin-guide/cgroup-v2.rst","kernel/cgroup/cpuset-internal.h","kernel/cgroup/cpuset.c","tools/testing/selftests/cgroup/test_cpuset_prs.sh"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["Documentation/admin-guide/cgroup-v2.rst","kernel/cgroup/cpuset-internal.h","kernel/cgroup/cpuset.c","tools/testing/selftests/cgroup/test_cpuset_prs.sh"]}],"references":[{"url":"https://git.kernel.org/stable/c/8c6412fecad0c43a3852a23e82d8def28456974f"},{"url":"https://git.kernel.org/stable/c/c0189e75d3b8355ed29fea33c184c3eb00dc273d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:32:26.985Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}