# CVE-2026-139192: cgroup/cpuset: Fix incorrect effective_cpus bug in update_cpumasks_hier()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-30T13:32:25.901Z
- Modified: 2026-11-30T14:18:38.700Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e2ffe502ba4505ee9c7b432980c702b7801a37f3 before 641635cbb850efb69e7b22f77efbc28adc317bfd; from e2ffe502ba4505ee9c7b432980c702b7801a37f3 before d3873b45bea4cc99d135922cdc89841164f33855; 6.7 (not affected: before 6.7; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/641635cbb850efb69e7b22f77efbc28adc317bfd>
- <https://git.kernel.org/stable/c/d3873b45bea4cc99d135922cdc89841164f33855>

## Sources

- CVE List: [CVE-2026-139192](https://www.cve.org/CVERecord?id=CVE-2026-139192), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139192](https://nvd.nist.gov/vuln/detail/CVE-2026-139192), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139192 · Whole record: https://cve.day/CVE-2026-139192.json · Rebuilt by cve.day 2026-11-30T14:32:56.464Z
