UBUNTU-CVE-2026-99205: Medium severity vulnerability

Published Oct 28, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved: sched/core: Call wakeuppreempt() for queued tasks during class change Paul reported recent RCU changes exposed a lost resched where CPU idles with a rcutorture thread waiting while being completely runnable. Dumping the rq state at the time of idling with runnable tasks showed the following: rq->nextclass = &fairschedclass rq->nrrunning = 1 rq->cfs.hnrqueued = 0 rq->rt.rtnrrunning = 1 Although the waiting task was an RT task, "rq->nextclass" did not point to rtschedclass and was stuck at the lower priority fairschedclass. Inspecting schedchangeend() revealed the following race with schedsetscheduler() for queued, but non-running tasks: CPU0 CPU1 ==== ==== schedule() / rq->donor is a fair task that blocks. rq->nextclass = &fairschedclass / rqlock(rq0) picknexttask() / nrrunning = 0 / picktaskfair() schedbalancenewidle() rawspinrqunlock(rq0) rqlock(rq0) activatetask(rq0, p) / p is a fair task / rq0->nrrunning++; rq0->cfs.hnrqueued++; wakeuppreempt(rq, p) rq->nextclass = &fairschedclass reschedcurr() rqunlock(rq0) schedsetscheduler(p) / p is moved to SCHEDRR / taskrqlock(p) schedchangebegin() rq0->cfs.hnrqueued--; rq0->rt.rtnrrunning++; schedchangeend() / p->onrq = 1 (ctx->queued) but p is not rq->donor (!ctx->running) hence reschedcurr() is and rq->nextclass upgrade is skipped. / taskrqunlock() rawspinrqlock(rq0) / rq->nrrunning = 1 rq->cfs.hnrqueued = 0 rq->rt.rtnrrunning = 1 rq->nextclass = &fairschedclass / if (rq->cfs.hnrqueued && ...) / Above is false / if (rqmodifiedabove(thisrq, &fairschedclass)) / Also false since rq->nextclass is still fair / / schedbalancenewidle() is considered to have failed to pull any fair tasks and no other wakeups were detected. / return NULL; / picktaskfair() / picktaskidle() return rq->idle; next = rq->idle; / Preemption indicators are lost / cleartskneedresched(prev); clearpreemptneedresched(); rq->curr = rq->idle; !!! rq->idle switches in with rq->running == 1 but !needresched() !!! In simple words, enqueue, followed by a class change of the newly queued task goes unnoticed in rq->nextclass indicator and schedbalancenewidle() sees no fair task, nor any higher priority task enqueued. The above sequence will lead to CPU idling with a runnable task on the CPU. Call wakeuppreempt() for ctx->queued cases in schedchangeend() to re-evaluate rq->nextclass after class change (ENQUEUECLASS) and set the NEEDRESCHED indicator accordingly. Newidle balance will correctly see an enqueue of a higher priority t ---truncated---

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In sched_change_end(), call wakeup_preempt() for ctx->queued cases during a class change (ENQUEUE_CLASS) so rq->next_class is re-evaluated and the NEED_RESCHED indicator is set accordingly.

Event History

Oct 28, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What systems are most likely to encounter this issue?

Systems using real-time scheduling policies such as SCHED_RR are the relevant exposure case. The reported failure involves a queued but non-running task being changed from the fair scheduling class to a real-time class.

2

What is the observable impact if the race occurs?

A runnable real-time task can be left waiting while the CPU becomes idle. Scheduler state may incorrectly retain fair_sched_class as the next class even though an RT task is runnable, resulting in a lost reschedule.

3

What change addresses the problem?

The fix calls wakeup_preempt() for queued tasks during a scheduling-class change. This ensures the scheduler reevaluates preemption when a queued task moves to a higher-priority class.

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