# CVE-2026-99085: sched\_ext: Fix CPU hotplug hang when a dying CPU's tasks sit in the BPF scheduler

> 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.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-23T12:45:03.465Z
- **Modified:** 2026-10-23T13:17:32.803Z

## Who should check

- Anyone running Linux \>= f0e1a0643a59bf1f922fa209cec86a170b784f3f, \< f79cd7a2df3768323fbfb9b0f96adff08fb7eb4c; \>= f0e1a0643a59bf1f922fa209cec86a170b784f3f, \< 638ee6bca19750934ea13f9c325f46fd8ae60064; \>= f0e1a0643a59bf1f922fa209cec86a170b784f3f, \< 173ff9d03ec6373c3158b6e630af33a9b36fd216; \>= f0e1a0643a59bf1f922fa209cec86a170b784f3f, \< d35a535d3e3e71f92a051d94e415f43612c4edfc
- Anyone running Linux 6.12

## Description

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

sched\_ext: Fix CPU hotplug hang when a dying CPU's tasks sit in the BPF scheduler

A CPU going down has to empty its own rq. Its hotplug thread waits in
sched\_cpu\_wait\_empty() until nothing else is left, and the only thing that
wakes it is balance\_push(), which runs from \_\_schedule() on the dying CPU
and pushes off the migratable tasks the CPU picks.

sched\_ext breaks this. A task sitting on a user DSQ or held by the BPF
scheduler is still counted on its rq, but an inactive CPU no longer calls
ops.dispatch() and can't pull the task back. The dying CPU goes idle with
the task still counted, and one of two things happens:

- Another CPU consumes the task. The rq empties without a \_\_schedule() on
  the dying CPU, so the hotplug thread is never woken and cpu\_down() hangs
  holding cpu\_hotplug\_lock.
- The task is affine only to the dying CPU. Nothing can move it, and the
  offline stalls until the watchdog ejects the BPF scheduler.

When the rq goes offline, re-enqueue every task on it that isn't already on
the local DSQ. An enqueue on an offline rq lands on the local DSQ, so the
dying CPU itself picks the tasks and balance\_push() pushes them off, the
same as for the other sched classes. From then on no sched\_ext path on
another CPU can pull a task off the rq.

ops.dispatch() currently stops as soon as the CPU goes inactive, and CPU
hotplug then waits for an RCU grace period before taking the rq offline. A
BPF-held task affine only to the dying CPU and preempted inside an RCU
read-side critical section would block that grace period, and the rq would
never go offline. Test SCX\_RQ\_ONLINE directly so that ops.dispatch() keeps
running until the rq goes offline. Only the dying CPU's own hotplug thread
clears the flag during teardown, and task\_can\_run\_on\_remote\_rq() still keeps
other rqs' tasks off the CPU.

## Affected and fixed versions

- Linux: \>= f0e1a0643a59bf1f922fa209cec86a170b784f3f, \< f79cd7a2df3768323fbfb9b0f96adff08fb7eb4c; \>= f0e1a0643a59bf1f922fa209cec86a170b784f3f, \< 638ee6bca19750934ea13f9c325f46fd8ae60064; \>= f0e1a0643a59bf1f922fa209cec86a170b784f3f, \< 173ff9d03ec6373c3158b6e630af33a9b36fd216; \>= f0e1a0643a59bf1f922fa209cec86a170b784f3f, \< d35a535d3e3e71f92a051d94e415f43612c4edfc (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99085.md
Affected: Linux >= f0e1a0643a59bf1f922fa209cec86a170b784f3f, < f79cd7a2df3768323fbfb9b0f96adff08fb7eb4c; >= f0e1a0643a59bf1f922fa209cec86a170b784f3f, < 638ee6bca19750934ea13f9c325f46fd8ae60064; >= f0e1a0643a59bf1f922fa209cec86a170b784f3f, < 173ff9d03ec6373c3158b6e630af33a9b36fd216; >= f0e1a0643a59bf1f922fa20…
Fixed in: Linux 638ee6bca19750934ea13f9c325f46fd8ae60064, Linux 173ff9d03ec6373c3158b6e630af33a9b36fd216

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-99085 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= f0e1a0643a59bf1f922fa209cec86a170b784f3f, \< f79cd7a2df3768323fbfb9b0f96adff08fb7eb4c; \>= f0e1a0643a59bf1f922fa209cec86a170b784f3f, \< 638ee6bca19750934ea13f9c325f46fd8ae60064; \>= f0e1a0643a59bf1f922fa209cec86a170b784f3f, \< 173ff9d03ec6373c3158b6e630af33a9b36fd216; \>= f0e1a0643a59bf1f922fa209cec86a170b784f3f, \< d35a535d3e3e71f92a051d94e415f43612c4edfc; Linux 6.12.

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

Yes. Fixed in Linux 638ee6bca19750934ea13f9c325f46fd8ae60064, Linux 173ff9d03ec6373c3158b6e630af33a9b36fd216. No fix listed yet: follow the vendor advisory.

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

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/f79cd7a2df3768323fbfb9b0f96adff08fb7eb4c>
- other: <https://git.kernel.org/stable/c/638ee6bca19750934ea13f9c325f46fd8ae60064>
- other: <https://git.kernel.org/stable/c/173ff9d03ec6373c3158b6e630af33a9b36fd216>
- other: <https://git.kernel.org/stable/c/d35a535d3e3e71f92a051d94e415f43612c4edfc>

## 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-99085>

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