{"id":"CVE-2026-74731","aliases":["CVE-2026-74731"],"related":[],"kind":"vulnerability","state":"published","title":"sched_ext: Skip sub-disable teardown for never-linked sub-schedulers","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nsched_ext: Omitir el desmantelamiento de sub-desactivación para sub-planificadores nunca vinculados\n\nUna activación de sub-planificador puede fallar antes de que scx_link_sched() vincule el planificador a la jerarquía, por ejemplo, cuando el padre ya está siendo deshabilitado, y la limpieza aún ejecuta el scx_sub_disable() completo.\n\nEso es una condición de carrera contra la desactivación de la raíz: drain_descendants() es el único ordenamiento entre un recorrido de tareas en tiempo de desactivación de un sub y el desmantelamiento de todas las tareas de la desactivación de la raíz, y un sub desvinculado es invisible para ello. El desmantelamiento de la raíz puede, por lo tanto, ejecutarse entre el drenaje del sub nunca vinculado y su recorrido, haciendo que cada tarea salga a ningún planificador.\n\nEl recorrido entonces activa la ADVERTENCIA de membresía y reasigna las tareas que salieron a la jerarquía moribunda, un uso después de liberación.\n\nOmitir el restablecimiento de la propiedad del cgroup y el recorrido de tareas si @sch nunca fue vinculado, indicado por el  -> sibling vacío ya que la desvinculación solo ocurre más tarde en la misma función. La ADVERTENCIA de membresía sigue siendo válida: un sub vinculado siempre es esperado por el drenaje de un ancestro.","source":"nvd"}],"published":"2026-08-22T15:33:20.294Z","modified":"2026-10-14T13:10:00.187Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"337ec00b1d9c676f637651c2cefddb8612b867ee","fixed":"6428093a4a986c38c9089b5eb32b56d914ef437a","status":"affected"},{"type":"git","introduced":"337ec00b1d9c676f637651c2cefddb8612b867ee","fixed":"8c13364db9c9a43ed286f3a8d0fb9477b1adc43c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","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/6428093a4a986c38c9089b5eb32b56d914ef437a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c13364db9c9a43ed286f3a8d0fb9477b1adc43c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74731","url":"https://www.cve.org/CVERecord?id=CVE-2026-74731","licence":"CVE Terms of Use","modified":"2026-08-25T05:42:10.750Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74731","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74731","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:34.955Z","epss":{"score":0.00123,"percentile":0.02256,"date":"2026-12-01T12:00:22.000Z"}}