{"id":"CVE-2026-98972","aliases":["CVE-2026-98972"],"related":[],"kind":"vulnerability","state":"published","title":"cgroup/cpuset: Don't access cpuset_cgrp_subsys.root in is_in_v2_mode()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup/cpuset: Don't access cpuset_cgrp_subsys.root in is_in_v2_mode()\n\nAfter seeing the patch [1] to guard is_in_v2_mode() with RCU, it makes\nme realize that is_in_v2_mode() may be called in a context where a new\ncgroup filesystem is being rebound with stale cpuset_cgrp_subsys.root\npointer. Avoid this potential UaF situation by adding a new cpuset_v2_mode\nflag which is set when the cpuset_v2_mode mount option is used. This\nflag is written into only when cpuset_bind() is being called with a\nstable cpuset_cgrp_subsys.root value. The is_in_v2_mode() helper is\nmodified to read the new cpuset_v2_mode flag instead of accessing\ncpuset_cgrp_subsys.root directly.\n\n[1] https://lore.kernel.org/lkml/20260929084124.626693-2-arighi@nvidia.com","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup/cpuset: Don't access cpuset_cgrp_subsys.root in is_in_v2_mode()\n\nAfter seeing the patch [1] to guard is_in_v2_mode() with RCU, it makes\nme realize that is_in_v2_mode() may be called in a context where a new\ncgroup filesystem is being rebound with stale cpuset_cgrp_subsys.root\npointer. Avoid this potential UaF situation by adding a new cpuset_v2_mode\nflag which is set when the cpuset_v2_mode mount option is used. This\nflag is written into only when cpuset_bind() is being called with a\nstable cpuset_cgrp_subsys.root value. The is_in_v2_mode() helper is\nmodified to read the new cpuset_v2_mode flag instead of accessing\ncpuset_cgrp_subsys.root directly.\n\n[1] https://lore.kernel.org/lkml/20260929084124.626693-2-arighi@nvidia.com","source":"cvelist"}],"published":"2026-10-23T12:19:45.458Z","modified":"2026-10-23T13:17:18.783Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b8d1b8ee93df8ffbabbeadd65d39853cfad6d698","fixed":"988bf67a13890a37a33201f95947095ca9bec856","status":"affected"},{"type":"git","introduced":"b8d1b8ee93df8ffbabbeadd65d39853cfad6d698","fixed":"e06b678e3b4e12fdaa0b51a7a5a54abc5dbd6469","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"7.2.11","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/988bf67a13890a37a33201f95947095ca9bec856","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e06b678e3b4e12fdaa0b51a7a5a54abc5dbd6469","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98972","url":"https://www.cve.org/CVERecord?id=CVE-2026-98972","licence":"CVE Terms of Use","modified":"2026-10-23T12:19:45.458Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98972","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98972","licence":"Public domain","modified":"2026-10-23T13:17:18.783Z"}],"updatedAt":"2026-11-25T22:59:46.927Z","epss":{"score":0.00163,"percentile":0.05721,"date":"2026-12-01T12:00:22.000Z"}}