CVE-2026-139270

Source
https://cve.org/CVERecord?id=CVE-2026-139270
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139270.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139270
Downstream
Published
2026-11-30T13:33:11Z
Modified
2026-11-30T15:00:53Z
Summary
cgroup/cpuset: Properly disabling partition when partition state switching fails
Details

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

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139270.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4a74e418881f26cdeae1011453acd66cedc8ad2c
Fixed
52e75bbfc1942e275b71eb7402acdfbb65ece5c1
Fixed
5ba729165a9ec590b0a3fde98c24cd063711b89a
Fixed
db27a748a399e24af715c54c12a7e928e32d15b0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139270.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139270.json"