CVE-2026-139270: cgroup/cpuset: Properly disabling partition when partition state switching fails

Published Nov 30, 2026
·
Updated

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

cgroup/cpuset: Properly disabling partition when partition state switching fails

Before commit 103b08709e8a ("cgroup/cpuset: Fail if isolated and nohzfull don't leave any housekeeping"), the partition state can be freely switched from "root" to "isolated" and vice versa. After that commit, the switch from "root" to "isolated" can fail if it exhausts all the housekeeping CPUs. Later on, the switch from "isolated" to "root" can also fail if some of the partition CPUs are boot-time isolated by "isolcpus".

A local or remote partition is made invalid when the switch fails. However there are 2 problems with the existing invalidation code.

1) Both the subpartitionscpus and isolatedcpus are not properly updated. 2) In the case of remote partition with remotepartition flag set, it is not cleared.

Fix this by calling the proper partition disabling function in this case.

On an x86 test system with boot option "isolcpus=10 cgroupdebug" set and more than 16 cores, the following commands were executed after boot.

# cd /sys/fs/cgroup # echo +cpuset > cgroup.subtreecontrol # cat cpuset.cpus.isolated 10 # mkdir A # echo 10-12 > A/cpuset.cpus # echo isolated > A/cpuset.cpus.partition # cat A/cpuset.cpus.partition isolated

Before the patch:

# echo root > A/cpuset.cpus.partition # cat A/cpuset.cpus.partition root invalid (partition config conflicts with housekeeping setup) # cat cpuset.cpus.isolated .DEBUG.cpuset.cpus.subpartitions 10-12 10-12

After the patch:

# echo root > A/cpuset.cpus.partition # cat A/cpuset.cpus.partition root invalid (partition config conflicts with housekeeping setup) # cat cpuset.cpus.isolated .DEBUG.cpuset.cpus.subpartitions 10

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
Description

Frequently Asked Questions

1

What conditions are needed to trigger this issue?

A cpuset partition state transition must fail. The described failure cases are switching from root to isolated after exhausting housekeeping CPUs, or switching from isolated to root when partition CPUs are boot-time isolated with isolcpus.

2

Are systems using boot-time CPU isolation especially relevant?

Yes. The description specifically identifies isolcpus as a condition that can cause an isolated-to-root transition to fail when partition CPUs were boot-time isolated. The provided test scenario uses isolcpus=10 together with cpuset cgroup configuration.

3

What is left inconsistent after a failed partition-state switch?

The existing invalidation path may fail to update subpartitions_cpus and isolated_cpus correctly. For remote partitions, it may also leave the remote_partition flag set.

4

What remediation is described?

The resolved change invokes the proper partition-disabling function when partition state switching fails. The supplied stable-kernel references identify commits containing the fix.

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