Security mailing lists by PureSourceCode

CVE-2026-139270

not scored yet

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

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

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 4a74e418881f26cdeae1011453acd66cedc8ad2c, < 52e75bbfc1942e275b71eb7402acdfbb65ece5c1; >= 4a74e418881f26cdeae1011453acd66cedc8ad2c, < 5ba729165a9ec590b0a3fde98c24cd063711b89a; >= 4a74e418881f26cdeae1011453acd66cedc8ad2c, < db27a748a399e24af715c54c12a7e928e32d15b0 52e75bbfc1942e275b71eb7402acdfbb65ece5c1, 5ba729165a9ec590b0a3fde98c24cd063711b89a, db27a748a399e24af715c54c12a7e928e32d15b0
CVE List Linux Linux = 6.7

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.