sched_ext: Fix stall when a task enqueued with SCX_ENQ_LAST lands back on its CPU's local DSQ (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.20 % · centile 10 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix stall when a task enqueued with SCX_ENQ_LAST lands back on its CPU's local DSQ With SCX_OPS_ENQ_LAST, the last runnable task on a CPU is passed to ops.enqueue() instead of being kept running. Exiting tasks without SCX_OPS_ENQ_EXITING, migration disabled tasks without SCX_OPS_ENQ_MIGRATION_DISABLED and tasks on an offline rq skip ops.enqueue() and go straight to the local DSQ. This happens in put_prev_task_scx() after the pick has settled on idle, so nothing reschedules the CPU, which idles with the task queued until an unrelated wakeup lands on it or the watchdog fires. scx_mitosis, which sets SCX_OPS_ENQ_LAST without SCX_OPS_ENQ_EXITING, hit this during mass cgroup teardown: exiting tasks stuck in exit_mmap() for over 40 seconds. A task put on the local DSQ runs, as anywhere else. If the SCX_ENQ_LAST enqueue left the task on this CPU's local DSQ, set need_resched on the task being switched in, as proxy_resched_idle() does. resched_curr() would flag the task being put instead, and __schedule() clears that right after the pick.
Références
Références européennes
- ENISA EUVD · EUVD-2026-112005
- GCVE · GCVE-0-2026-99105
Avis du CERT-FR
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ f0e1a0643a59bf1f922fa209cec86a170b784f3f < ea47eec058fc1b6a3c3c54870d24a8bdcb3e204d affectée : ≥ f0e1a0643a59bf1f922fa209cec86a170b784f3f < 8d891c218016b6145993e082e7f732cb69dd0e29 affectée : ≥ f0e1a0643a59bf1f922fa209cec86a170b784f3f < 396ba6f04da3fd1fb5a3d1c9535bef3f967f4e59 affectée : ≥ f0e1a0643a59bf1f922fa209cec86a170b784f3f < 7a9df76679633cf26e0fea882a684012c6ec245a Autres versions : non affectée |
| Linux · Linux | affectée : 6.12 non affectée : ≥ 0 < 6.12 non affectée : ≥ 6.12.115 ≤ 6.12.* non affectée : ≥ 6.18.59 ≤ 6.18.* non affectée : ≥ 7.2.13 ≤ 7.2.* non affectée : ≥ 7.3 ≤ * Autres versions : affectée |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |