CVE-2026-139270

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

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
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 nohz_full
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 subpartitions_cpus and isolated_cpus are not properly
updated.
2) In the case of remote partition with remote_partition 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 cgroup_debug" set
and more than 16 cores, the following commands were executed after boot.

# cd /sys/fs/cgroup
# echo +cpuset > cgroup.subtree_control
# 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

Analysis

AI-generated

Technical impact

The flaw resides in the Linux kernel’s cgroup cpuset subsystem, where a failure to properly disable a partition during state transitions can leave the partition in an invalid state. This results in the subpartitions_cpus and isolated_cpus being left incorrectly configured or the remote_partition flag remaining set. The consequence is that CPU allocation for the affected task group may be incorrect or the kernel may abort due to a partition configuration conflict, potentially causing a denial of service or stability issues. The weakness can be classified as CWE‑682, an incorrect resource deallocation or cleanup problem.

Affected Systems

All Linux kernel builds prior to the integration of commit 103b08709e8a, where the fix was introduced, are vulnerable. The affected product is the Linux kernel itself. Versions older than the commit remain at risk.

Risk and Exploitability

The CVSS and EPSS scores are not available, and the issue is not listed in the CISA KEV catalog, indicating no publicly disclosed exploits. Attackers would need the ability to write to the kernel‑controlled /sys/fs/cgroup interface or have high‑privilege access. With such access, the attacker could trigger the failure by attempting to switch a partition from 'root' to 'isolated' when housekeeping CPUs are exhausted or vice versa. The resulting kernel misconfiguration or crash would cause a denial of service. Because the exploit requires privileged interaction with the kernel, the likelihood of widespread remote exploitation is low, though local or compromised‑system exploitation could be practical.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes commit 103b08709e8a or newer, ensuring the partition disabling function is correctly invoked after a failed state transition.
  • If an upgrade is not immediately possible, avoid creating cgroup cpuset partitions that could trigger failure—do not set isolated CPUs via the 'isolcpus' kernel parameter or switch partitions when housekeeping CPUs are exhausted.
  • Continuously monitor sysfs diagnostic messages (e.g., "partition config conflicts with housekeeping setup") and correct any invalid partition configurations by resetting the partition to its proper state.

Generated by OpenCVE AI on November 30, 2026 at 21:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-682
Type Values Removed Values Added
Description 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 nohz_full 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 subpartitions_cpus and isolated_cpus are not properly updated. 2) In the case of remote partition with remote_partition 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 cgroup_debug" set and more than 16 cores, the following commands were executed after boot. # cd /sys/fs/cgroup # echo +cpuset > cgroup.subtree_control # 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
Title cgroup/cpuset: Properly disabling partition when partition state switching fails
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:33 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM