{"id":41014,"date":"2026-10-19T00:31:49","date_gmt":"2026-10-18T16:31:49","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98542"},"modified":"2026-10-19T00:31:49","modified_gmt":"2026-10-18T16:31:49","slug":"cve-2026-98542","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98542","title":{"rendered":"CVE-2026-98542 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup\/cpuset: Return"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>cgroup\/cpuset: Return PERR_NOCPUS in remote_partition_enable() on subpartitions_cpus conflict<\/p>\n<p>When a remote partition is created underneath an existing local partition<br \/>\nvia a non-partition (PRS_MEMBER) intermediate cgroup, update_prstate() sees<br \/>\nparent-&gt;partition_root_state == PRS_MEMBER and calls<br \/>\nremote_partition_enable().<\/p>\n<p>Commit 86888c7bd117 (&#8220;cgroup\/cpuset: Add warnings to catch inconsistency<br \/>\nin exclusive CPUs&#8221;) replaced the cpumask_intersects(tmp-&gt;new_cpus,<br \/>\nsubpartitions_cpus) error check in remote_partition_enable() with<br \/>\nWARN_ON_ONCE(). As a result, remote_partition_enable() emits a warning<br \/>\nand proceeds to enable the remote partition on CPUs that are already<br \/>\nowned by the ancestor local partition in subpartitions_cpus.<\/p>\n<p>This can be reproduced on Linux 7.3.0-rc3 with:<\/p>\n<p>  mkdir -p \/tmp\/cg1<br \/>\n  mount -t cgroup2 none \/tmp\/cg1<br \/>\n  echo &#8220;+cpuset&#8221; &gt; \/tmp\/cg1\/cgroup.subtree_control<\/p>\n<p>  mkdir \/tmp\/cg1\/A<br \/>\n  echo 1 &gt; \/tmp\/cg1\/A\/cpuset.cpus<br \/>\n  echo 1 &gt; \/tmp\/cg1\/A\/cpuset.cpus.exclusive<br \/>\n  echo root &gt; \/tmp\/cg1\/A\/cpuset.cpus.partition<br \/>\n  echo &#8220;+cpuset&#8221; &gt; \/tmp\/cg1\/A\/cgroup.subtree_control<\/p>\n<p>  mkdir \/tmp\/cg1\/A\/B<br \/>\n  echo 1 &gt; \/tmp\/cg1\/A\/B\/cpuset.cpus<br \/>\n  echo 1 &gt; \/tmp\/cg1\/A\/B\/cpuset.cpus.exclusive<br \/>\n  echo &#8220;+cpuset&#8221; &gt; \/tmp\/cg1\/A\/B\/cgroup.subtree_control<\/p>\n<p>  mkdir \/tmp\/cg1\/A\/B\/D<br \/>\n  echo 1 &gt; \/tmp\/cg1\/A\/B\/D\/cpuset.cpus<br \/>\n  echo 1 &gt; \/tmp\/cg1\/A\/B\/D\/cpuset.cpus.exclusive<br \/>\n  echo root &gt; \/tmp\/cg1\/A\/B\/D\/cpuset.cpus.partition<\/p>\n<p>which triggers:<\/p>\n<p>  WARNING: kernel\/cgroup\/cpuset.c:1594 at remote_partition_enable+0x1c1\/0x300<\/p>\n<p>and leaves both \/tmp\/cg1\/A and \/tmp\/cg1\/A\/B\/D as active root partitions<br \/>\nclaiming exclusive CPU 1.<\/p>\n<p>Fix this by returning PERR_NOCPUS when tmp-&gt;new_cpus intersects<br \/>\nsubpartitions_cpus in remote_partition_enable(), matching the error code<br \/>\nused by remote_cpus_update() for the same subpartitions_cpus conflict, and<br \/>\nadd a regression test case to<br \/>\ntools\/testing\/selftests\/cgroup\/test_cpuset_prs.sh.<\/p>\n<p>Tested in QEMU on Linux 7.3.0-rc3 using the reproducer above and<br \/>\ntools\/testing\/selftests\/cgroup\/test_cpuset_prs.sh.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>cgroup\/cpuset: Return PERR_NOCPUS in remote_partition_enable() on subpartitions_cpus conflict<\/p>\n<p>When a remote partition is created u<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41014","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=41014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}