CVE-2026-98087: sched/rt,dl: Skip migrate-disabled tasks when picking a push candidate

Published Sep 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

sched/rt,dl: Skip migrate-disabled tasks when picking a push candidate

A migratedisable()'d RT task cannot be moved to another CPU, but the scheduler still keeps such a task on that CPU's pushable list (rq->rt.pushabletasks) and still marks the runqueue RT-overloaded (rq->rt.overloaded = 1). So the RT balancer keeps treating this CPU as having a task to move away, and keeps trying to move the task, but the push can never succeed. When the head is pinned, pushrttask() does not give up either. It falls back to pushing rq->curr instead, using the per-CPU stopper, as added by commit a7c81556ec4d ("sched: Fix migratedisable() vs rt/dl balancing").

The CPU spends tens of milliseconds in this retry loop. The core is isolated for real-time work, but during the loop nearly half of its time is consumed by pushes that cannot succeed.

An ftrace capture of the affected CPU, with schedswitch enabled and commit 94894c9c477e ("sched/rt: Skip currently executing CPU in rtonextcpu()") applied, shows where the CPU time went. Two SCHEDFIFO tasks at equal priority shared the CPU, taskA migratedisable()'d and queued, taskB as rq->curr. In one 89 ms window, taskB got only 52 ms of CPU. The other 37 ms went to the stopper thread.

The scheduler kept trying to push taskA, the pinned head of the pushable list, fell back to pushing taskB instead, and woke the stopper 5204 times. Every one of those pushes failed and no task was moved. taskA stayed runnable and queued the whole time, and never ran.

Pushing taskB fails on a re-check. findlocklowestrq() drops the rq lock to take the target rq lock, then checks again with "task != picknextpushabletask(rq)".

The task being pushed is taskB, but the pick returns taskA, the head of the pushable list. taskB is rq->curr, and setnexttaskrt() removes the running task from that list, so taskB can never be the head. The check expects a candidate taken from the pushable list, but the fallback pushes rq->curr, which is never on that list. So the check fails every time.

.--> push-IPI arrives | | | v | pushable head = taskA -> pinned, cannot be pushed | | | v | so push taskB instead -> wake migration/N, a stop-class | | thread, so it preempts taskB | v | re-check compares taskB against the pushable head, | which is still taskA -> give up | | | v | nothing moved, taskA still queued, rq still overloaded | | '----------' repeats every ~17 us, 5204 times, for 89 ms

The loop cannot stop itself. Every round leaves the runqueue exactly as it was, so the next push-IPI does the same thing. In the capture it ended only when taskB went to sleep on its own. taskA was then picked locally and left the pushable list.

CPU time per task in the window, from schedswitch:

taskB 51.95 ms real work migration/N 37.18 ms nothing moved taskA 0.00 ms queued the whole time, never picked idle 0.01 ms

Counts over the same window:

7667 push-IPIs handled on this CPU 17481 picknextpushabletask() returned taskA, still pinned 5204 findlocklowestrq() gave up on the re-check 1 push that actually completed 0 migrations of taskA

The CPU times and the window length come from the standard schedswitch tracepoint. The counts needed tracepoints added inside the RT balancer for this investigation.

The self-IPI path is closed by the rtonextcpu() fix above, and that part works. But the runqueue is still marked overloaded, because the pinned task is still advertised as pushable. Other CPUs now send the push-IPIs during their own RT balancing, and the same loop runs again. Closing the self-IPI path did not stop a pinn ---truncated---

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 25, 2026
CVE Published
via MITRE·10:24 AM
Data Sourced
via MITRE·10:24 AM
Description

Frequently Asked Questions

1

Which systems are most likely to be affected in practice?

Systems running real-time or deadline scheduling workloads are most relevant, particularly where a CPU is isolated for real-time work and runs migrate-disabled real-time tasks. The described impact occurs when the scheduler repeatedly attempts to push a task that cannot migrate.

2

What conditions trigger the excessive scheduler activity?

A SCHED_FIFO real-time task must be inside migrate_disable() and remain on the runqueue's pushable-task list while the runqueue is marked RT-overloaded. When that pinned task is selected as a push candidate, push attempts cannot succeed and the scheduler can repeatedly invoke the per-CPU stopper path.

3

What is the operational impact?

The affected CPU can spend tens of milliseconds in the retry loop. In the described isolated real-time workload, nearly half of the core's time was consumed by unsuccessful task-push attempts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203