{"id":"CVE-2026-99105","summary":"sched_ext: Fix stall when a task enqueued with SCX_ENQ_LAST lands back on its CPU's local DSQ","details":"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.","modified":"2026-11-01T02:30:47.032070867Z","published":"2026-10-28T10:34:24.456Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99105.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/396ba6f04da3fd1fb5a3d1c9535bef3f967f4e59"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a9df76679633cf26e0fea882a684012c6ec245a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8d891c218016b6145993e082e7f732cb69dd0e29"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ea47eec058fc1b6a3c3c54870d24a8bdcb3e204d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99105.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99105"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f0e1a0643a59bf1f922fa209cec86a170b784f3f"},{"fixed":"ea47eec058fc1b6a3c3c54870d24a8bdcb3e204d"},{"fixed":"8d891c218016b6145993e082e7f732cb69dd0e29"},{"fixed":"396ba6f04da3fd1fb5a3d1c9535bef3f967f4e59"},{"fixed":"7a9df76679633cf26e0fea882a684012c6ec245a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99105.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.12.0"},{"fixed":"6.12.115"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.59"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99105.json"}}],"schema_version":"1.9.2"}