{"id":"CVE-2026-139192","summary":"cgroup/cpuset: Fix incorrect effective_cpus bug in update_cpumasks_hier()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup/cpuset: Fix incorrect effective_cpus bug in update_cpumasks_hier()\n\nWith the introduction of cpuset.cpus.exclusive, the computation of\neffective_cpus differs depending on if a cpuset is a valid partition\nroot or not.\n\nIn update_cpumasks_hier(), effective_cpus is computed early\nto check if the current subtree can be skipped. Later on\nupdate_parent_effective_cpumask() may be called which can change the\npartition state from valid to invalid or vice versa. If the partition\nstate changes, the previously computed effective_cpus may no longer be\nvalid. Fix that by recomputing effective_cpus again when that happens.\n\nAlso add a new test case into test_cpuset_prs.sh to verify this change.","modified":"2026-11-30T15:02:27.599646126Z","published":"2026-11-30T13:32:25.901Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139192.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/641635cbb850efb69e7b22f77efbc28adc317bfd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3873b45bea4cc99d135922cdc89841164f33855"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139192.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139192"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e2ffe502ba4505ee9c7b432980c702b7801a37f3"},{"fixed":"641635cbb850efb69e7b22f77efbc28adc317bfd"},{"fixed":"d3873b45bea4cc99d135922cdc89841164f33855"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139192.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139192.json"}}],"schema_version":"1.9.2"}