{"id":"CVE-2026-99105","aliases":["CVE-2026-99105"],"related":[],"kind":"vulnerability","state":"published","title":"sched_ext: Fix stall when a task enqueued with SCX_ENQ_LAST lands back on its CPU's local DSQ","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Fix stall when a task enqueued with SCX_ENQ_LAST lands back on its CPU's local DSQ\n\nWith SCX_OPS_ENQ_LAST, the last runnable task on a CPU is passed to\nops.enqueue() instead of being kept running. Exiting tasks without\nSCX_OPS_ENQ_EXITING, migration disabled tasks without\nSCX_OPS_ENQ_MIGRATION_DISABLED and tasks on an offline rq skip ops.enqueue()\nand go straight to the local DSQ. This happens in put_prev_task_scx() after\nthe pick has settled on idle, so nothing reschedules the CPU, which idles\nwith the task queued until an unrelated wakeup lands on it or the watchdog\nfires.\n\nscx_mitosis, which sets SCX_OPS_ENQ_LAST without SCX_OPS_ENQ_EXITING, hit\nthis during mass cgroup teardown: exiting tasks stuck in exit_mmap() for\nover 40 seconds.\n\nA task put on the local DSQ runs, as anywhere else. If the SCX_ENQ_LAST\nenqueue left the task on this CPU's local DSQ, set need_resched on the task\nbeing switched in, as proxy_resched_idle() does. resched_curr() would flag\nthe task being put instead, and __schedule() clears that right after the\npick.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Fix stall when a task enqueued with SCX_ENQ_LAST lands back on its CPU's local DSQ\n\nWith SCX_OPS_ENQ_LAST, the last runnable task on a CPU is passed to\nops.enqueue() instead of being kept running. Exiting tasks without\nSCX_OPS_ENQ_EXITING, migration disabled tasks without\nSCX_OPS_ENQ_MIGRATION_DISABLED and tasks on an offline rq skip ops.enqueue()\nand go straight to the local DSQ. This happens in put_prev_task_scx() after\nthe pick has settled on idle, so nothing reschedules the CPU, which idles\nwith the task queued until an unrelated wakeup lands on it or the watchdog\nfires.\n\nscx_mitosis, which sets SCX_OPS_ENQ_LAST without SCX_OPS_ENQ_EXITING, hit\nthis during mass cgroup teardown: exiting tasks stuck in exit_mmap() for\nover 40 seconds.\n\nA task put on the local DSQ runs, as anywhere else. If the SCX_ENQ_LAST\nenqueue left the task on this CPU's local DSQ, set need_resched on the task\nbeing switched in, as proxy_resched_idle() does. resched_curr() would flag\nthe task being put instead, and __schedule() clears that right after the\npick.","source":"cvelist"}],"published":"2026-10-28T10:34:24.456Z","modified":"2026-10-30T13:21:45.317Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f0e1a0643a59bf1f922fa209cec86a170b784f3f","fixed":"ea47eec058fc1b6a3c3c54870d24a8bdcb3e204d","status":"affected"},{"type":"git","introduced":"f0e1a0643a59bf1f922fa209cec86a170b784f3f","fixed":"8d891c218016b6145993e082e7f732cb69dd0e29","status":"affected"},{"type":"git","introduced":"f0e1a0643a59bf1f922fa209cec86a170b784f3f","fixed":"396ba6f04da3fd1fb5a3d1c9535bef3f967f4e59","status":"affected"},{"type":"git","introduced":"f0e1a0643a59bf1f922fa209cec86a170b784f3f","fixed":"7a9df76679633cf26e0fea882a684012c6ec245a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12","status":"unaffected"},{"type":"semver","introduced":"6.12.115","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.59","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.13","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/ea47eec058fc1b6a3c3c54870d24a8bdcb3e204d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8d891c218016b6145993e082e7f732cb69dd0e29","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/396ba6f04da3fd1fb5a3d1c9535bef3f967f4e59","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a9df76679633cf26e0fea882a684012c6ec245a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99105","url":"https://www.cve.org/CVERecord?id=CVE-2026-99105","licence":"CVE Terms of Use","modified":"2026-10-30T12:41:46.163Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99105","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99105","licence":"Public domain","modified":"2026-10-30T13:21:45.317Z"}],"updatedAt":"2026-11-25T22:59:47.563Z","epss":{"score":0.00201,"percentile":0.10492,"date":"2026-12-01T12:00:22.000Z"}}