Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139192

cgroup/cpuset: Fix incorrect effective_cpus bug in update_cpumasks_hier()

Description

In the Linux kernel, the following vulnerability has been resolved: cgroup/cpuset: Fix incorrect effective_cpus bug in update_cpumasks_hier() With the introduction of cpuset.cpus.exclusive, the computation of effective_cpus differs depending on if a cpuset is a valid partition root or not. In update_cpumasks_hier(), effective_cpus is computed early to check if the current subtree can be skipped. Later on update_parent_effective_cpumask() may be called which can change the partition state from valid to invalid or vice versa. If the partition state changes, the previously computed effective_cpus may no longer be valid. Fix that by recomputing effective_cpus again when that happens. Also add a new test case into test_cpuset_prs.sh to verify this change.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e2ffe502ba4505ee9c7b432980c702b7801a37f3 to < 641635cbb850efb69e7b22f77efbc28adc317bfdaffected
  • e2ffe502ba4505ee9c7b432980c702b7801a37f3 to < d3873b45bea4cc99d135922cdc89841164f33855affected

Linux Linux

Default version status: affected

  • 6.7affected
  • 0 to < 6.7unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References