cvelo
P4 · InfoEPSS 0.2%

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

  • CVE-2026-139192
  • GHSA-7hx8-5h4x-f43x
  • EUVD-2026-138897

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    6.7none stated
    before 6.7: not affectednone stated
    from 7.3.6 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.