{"id":"CVE-2026-74731","published":"2026-08-22T15:33:20Z","modified":"2026-08-25T05:42:10Z","title":"sched_ext: Skip sub-disable teardown for never-linked sub-schedulers","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Skip sub-disable teardown for never-linked sub-schedulers\n\nA sub-scheduler enable can fail before scx_link_sched() links the sched into\nthe hierarchy, e.g. when the parent is already being disabled, and cleanup\nstill runs the full scx_sub_disable().\n\nThat is racy against root disable: drain_descendants() is the only ordering\nbetween a sub's disable-time task walk and root disable's all-task teardown,\nand an unlinked sub is invisible to it. Root's teardown can thus run between\nthe never-linked sub's drain and its walk, exiting every task to no\nscheduler.\n\nThe walk then trips the membership WARN and re-homes the exited tasks onto\nthe dying hierarchy, a use-after-free.\n\nSkip the cgroup ownership reset and the task walk if @sch was never linked,\nindicated by the empty ->sibling as unlinking only happens later in the same\nfunction. The membership WARN remains valid: a linked sub is always waited\non by an ancestor's drain.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00165,"percentile":0.05699,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6428093a4a986c38c9089b5eb32b56d914ef437a","tags":[]},{"url":"https://git.kernel.org/stable/c/8c13364db9c9a43ed286f3a8d0fb9477b1adc43c","tags":[]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":1.14},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 337ec00b1d9c676f637651c2cefddb8612b867ee, < 6428093a4a986c38c9089b5eb32b56d914ef437a",">= 337ec00b1d9c676f637651c2cefddb8612b867ee, < 8c13364db9c9a43ed286f3a8d0fb9477b1adc43c"]},{"vendor":"Linux","product":"Linux","versions":["7.1"]}],"euvd":{"id":"EUVD-2026-64418","exploited":false,"provenance":"source"}}