GHSA-wg3q-w98j-244cunknown
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Don't warn on...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
sched_ext: Don't warn on core-sched forced idle in put_prev_task_scx()
put_prev_task_scx() warns when a runnable task drops to a lower sched_class without SCX_OPS_ENQ_LAST, on the assumption that balance_one() would have kept it running. Core scheduling breaks that: a forced-idle SMT sibling reschedules through the core_pick fast path in pick_next_task(), which skips pick_task_scx() and thus balance_one(), so a runnable task can drop to idle with ENQ_LAST unset.
Gate the warning on sched_cpu_cookie_match(): a cookie mismatch means core scheduling forced the idle, while a match (or core scheduling off) still catches a genuine missing-ENQ_LAST drop.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-68421
- https://git.kernel.org/stable/c/2907e9d0f05b506dfd58aec589a23042a56ef36b
- https://git.kernel.org/stable/c/b7d9c359e5cf867f7eb23df3bb1c6b9e58af24da
- https://git.kernel.org/stable/c/e2f188cdbf8312289532c36eb4e9eb1c9544d43a
- https://github.com/advisories/GHSA-wg3q-w98j-244c