Skip to content
Low 2.3

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

CVE-2026-139270 First seen on SecPulse

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.7.0, < 6.18.66→ 6.18.66
≥ 6.19.0, < 7.3.6→ 7.3.6

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details