# CVE-2026-99205: sched/core: Call wakeup\_preempt() for queued tasks during class change

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-10-28T10:35:59.093Z
- **Modified:** 2026-10-28T11:17:41.773Z

## Who should check

- Anyone running Linux \>= 704069649b5bfb7bf1fe32c0281fe9036806a59a, \< ae89744c5ebf299bf55ac7581768fbd9f119a903; \>= 704069649b5bfb7bf1fe32c0281fe9036806a59a, \< 118a2cf4ced60777a2408001e2b4838fed1cea55
- Anyone running Linux 7.0

## Description

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

sched/core: Call wakeup\_preempt() 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-\>next\_class = &fair\_sched\_class
  rq-\>nr\_running = 1
  rq-\>cfs.h\_nr\_queued = 0
  rq-\>rt.rt\_nr\_running = 1

Although the waiting task was an RT task, "rq-\>next\_class" did not point
to rt\_sched\_class and was stuck at the lower priority fair\_sched\_class.

Inspecting sched\_change\_end() revealed the following race with
\_\_sched\_setscheduler() for queued, but non-running tasks:

    CPU0                                   CPU1
    ====                                   ====

  \_\_schedule()

    /\*
     \* rq-\>donor is a fair task that blocks.
     \* rq-\>next\_class = &fair\_sched\_class
     \*/

    rq\_lock(rq0)

    pick\_next\_task()
      /\* nr\_running = 0 \*/
      pick\_task\_fair()
        sched\_balance\_newidle()
          raw\_spin\_rq\_unlock(rq0)
                                    rq\_lock(rq0)

                                    activate\_task(rq0, p)
                                      /\* p is a fair task \*/
                                      rq0-\>nr\_running++;
                                      rq0-\>cfs.h\_nr\_queued++;
                                      wakeup\_preempt(rq, p)
                                        rq-\>next\_class = &fair\_sched\_class
                                        resched\_curr()

                                    rq\_unlock(rq0)

                                    \_\_sched\_setscheduler(p)
                                      /\* p is moved to SCHED\_RR \*/
                                      task\_rq\_lock(p)
                                      sched\_change\_begin()

				      rq0-\>cfs.h\_nr\_queued--;
				      rq0-\>rt.rt\_nr\_running++;

                                      sched\_change\_end()
                                        /\*
                                         \* p-\>on\_rq = 1 (ctx-\>queued)
                                         \* but p is not rq-\>donor
                                         \* (!ctx-\>running) hence
                                         \* resched\_curr() is and
                                         \* rq-\>next\_class upgrade is
                                         \* skipped.
                                         \*/

                                       task\_rq\_unlock()

          raw\_spin\_rq\_lock(rq0)

          /\*
           \* rq-\>nr\_running = 1
           \* rq-\>cfs.h\_nr\_queued = 0
           \* rq-\>rt.rt\_nr\_running = 1
           \* rq-\>next\_class = &fair\_sched\_class
           \*/

           if (rq-\>cfs.h\_nr\_queued && ...)
             /\* Above is false \*/

           if (rq\_modified\_above(this\_rq, &fair\_sched\_class))
             /\* Also false since rq-\>next\_class is still fair \*/

      /\*
       \* sched\_balance\_newidle() is considered to
       \* have failed to pull any fair tasks and no
       \* other wakeups were detected.
       \*/
       return NULL; /\* pick\_task\_fair() \*/

    pick\_task\_idle()
      return rq-\>idle;

    next = rq-\>idle;

    /\* Preemption indicators are lost \*/
    clear\_tsk\_need\_resched(prev);
    clear\_preempt\_need\_resched();

    rq-\>curr = rq-\>idle;

  !!! rq-\>idle switches in with rq-\>running == 1 but !need\_resched() !!!

In simple words, enqueue, followed by a class change of the newly queued
task goes unnoticed in rq-\>next\_class indicator and
sched\_balance\_newidle() 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 wakeup\_preempt() for ctx-\>queued cases in sched\_change\_end() to
re-evaluate rq-\>next\_class after class change (ENQUEUE\_CLASS) and set
the NEED\_RESCHED indicator accordingly.

Newidle balance will correctly see an enqueue of a higher priority
t
---truncated---

## Affected and fixed versions

- Linux: \>= 704069649b5bfb7bf1fe32c0281fe9036806a59a, \< ae89744c5ebf299bf55ac7581768fbd9f119a903; \>= 704069649b5bfb7bf1fe32c0281fe9036806a59a, \< 118a2cf4ced60777a2408001e2b4838fed1cea55 (cvelist)
- Linux: 7.0 (cvelist)

## Mitigation

- Upgrade Linux to 118a2cf4ced60777a2408001e2b4838fed1cea55 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99205. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99205.md
Affected: Linux >= 704069649b5bfb7bf1fe32c0281fe9036806a59a, < ae89744c5ebf299bf55ac7581768fbd9f119a903; >= 704069649b5bfb7bf1fe32c0281fe9036806a59a, < 118a2cf4ced60777a2408001e2b4838fed1cea55; Linux 7.0
Fixed in: Linux 118a2cf4ced60777a2408001e2b4838fed1cea55

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99205 being exploited?

There is no confirmed exploitation: CVE-2026-99205 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99205?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99205?

Linux \>= 704069649b5bfb7bf1fe32c0281fe9036806a59a, \< ae89744c5ebf299bf55ac7581768fbd9f119a903; \>= 704069649b5bfb7bf1fe32c0281fe9036806a59a, \< 118a2cf4ced60777a2408001e2b4838fed1cea55; Linux 7.0.

### Is there a fix for CVE-2026-99205?

Yes. Fixed in Linux 118a2cf4ced60777a2408001e2b4838fed1cea55. Upgrade Linux to 118a2cf4ced60777a2408001e2b4838fed1cea55 or later.

### How do I check if I'm affected by CVE-2026-99205?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ae89744c5ebf299bf55ac7581768fbd9f119a903>
- other: <https://git.kernel.org/stable/c/118a2cf4ced60777a2408001e2b4838fed1cea55>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99205>

HTML: <https://flawdb.com/CVE-2026-99205> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99205>
