# CVE-2025-68780: sched/deadline: only set free\_cpus for online runqueues

> 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.27% (percentile 11, 2026-11-26)
- **Published:** 2026-01-13T15:28:55.483Z
- **Modified:** 2026-06-17T09:59:34.603Z

## Who should check

- Anyone running Linux \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< 9019e399684e3cc68c4a3f050e268f74d69c1317; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< fb36846cbcc936954f2ad2bffdff13d16c0be08a; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< 91e448e69aca4bb0ba2e998eb3e555644db7322b; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< dbc61834b0412435df21c71410562d933e4eba49; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< 3ed049fbfb4d75b4e0b8ab54c934f485129d5dc8; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< 382748c05e58a9f1935f5a653c352422375566ea
- Anyone running Linux 4.0

## Description

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

sched/deadline: only set free\_cpus for online runqueues

Commit 16b269436b72 ("sched/deadline: Modify cpudl::free\_cpus
to reflect rd-\>online") introduced the cpudl\_set/clear\_freecpu
functions to allow the cpu\_dl::free\_cpus mask to be manipulated
by the deadline scheduler class rq\_on/offline callbacks so the
mask would also reflect this state.

Commit 9659e1eeee28 ("sched/deadline: Remove cpu\_active\_mask
from cpudl\_find()") removed the check of the cpu\_active\_mask to
save some processing on the premise that the cpudl::free\_cpus
mask already reflected the runqueue online state.

Unfortunately, there are cases where it is possible for the
cpudl\_clear function to set the free\_cpus bit for a CPU when the
deadline runqueue is offline. When this occurs while a CPU is
connected to the default root domain the flag may retain the bad
state after the CPU has been unplugged. Later, a different CPU
that is transitioning through the default root domain may push a
deadline task to the powered down CPU when cpudl\_find sees its
free\_cpus bit is set. If this happens the task will not have the
opportunity to run.

One example is outlined here:
https://lore.kernel.org/lkml/20250110233010.2339521-1-opendmb@gmail.com

Another occurs when the last deadline task is migrated from a
CPU that has an offlined runqueue. The dequeue\_task member of
the deadline scheduler class will eventually call cpudl\_clear
and set the free\_cpus bit for the CPU.

This commit modifies the cpudl\_clear function to be aware of the
online state of the deadline runqueue so that the free\_cpus mask
can be updated appropriately.

It is no longer necessary to manage the mask outside of the
cpudl\_set/clear functions so the cpudl\_set/clear\_freecpu
functions are removed. In addition, since the free\_cpus mask is
now only updated under the cpudl lock the code was changed to
use the non-atomic \_\_cpumask functions.

## Affected and fixed versions

- Linux: \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< 9019e399684e3cc68c4a3f050e268f74d69c1317; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< fb36846cbcc936954f2ad2bffdff13d16c0be08a; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< 91e448e69aca4bb0ba2e998eb3e555644db7322b; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< dbc61834b0412435df21c71410562d933e4eba49; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< 3ed049fbfb4d75b4e0b8ab54c934f485129d5dc8; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< 382748c05e58a9f1935f5a653c352422375566ea (cvelist)
- Linux: 4.0 (cvelist)

## Mitigation

- Upgrade Linux to 382748c05e58a9f1935f5a653c352422375566ea or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68780.md
Affected: Linux >= 9659e1eeee28f7025b6545934d644d19e9c6e603, < 9019e399684e3cc68c4a3f050e268f74d69c1317; >= 9659e1eeee28f7025b6545934d644d19e9c6e603, < fb36846cbcc936954f2ad2bffdff13d16c0be08a; >= 9659e1eeee28f7025b6545934d644d19e9c6e603, < 91e448e69aca4bb0ba2e998eb3e555644db7322b; >= 9659e1eeee28f7025b65459…
Fixed in: Linux 9019e399684e3cc68c4a3f050e268f74d69c1317, Linux 91e448e69aca4bb0ba2e998eb3e555644db7322b, Linux 3ed049fbfb4d75b4e0b8ab54c934f485129d5dc8, Linux 382748c05e58a9f1935f5a653c352422375566ea

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-2025-68780 being exploited?

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

### How serious is CVE-2025-68780?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68780?

Linux \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< 9019e399684e3cc68c4a3f050e268f74d69c1317; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< fb36846cbcc936954f2ad2bffdff13d16c0be08a; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< 91e448e69aca4bb0ba2e998eb3e555644db7322b; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< dbc61834b0412435df21c71410562d933e4eba49; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< 3ed049fbfb4d75b4e0b8ab54c934f485129d5dc8; \>= 9659e1eeee28f7025b6545934d644d19e9c6e603, \< 382748c05e58a9f1935f5a653c352422375566ea; Linux 4.0.

### Is there a fix for CVE-2025-68780?

Yes. Fixed in Linux 9019e399684e3cc68c4a3f050e268f74d69c1317, Linux 91e448e69aca4bb0ba2e998eb3e555644db7322b, Linux 3ed049fbfb4d75b4e0b8ab54c934f485129d5dc8, Linux 382748c05e58a9f1935f5a653c352422375566ea. Upgrade Linux to 382748c05e58a9f1935f5a653c352422375566ea or later.

### How do I check if I'm affected by CVE-2025-68780?

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/9019e399684e3cc68c4a3f050e268f74d69c1317>
- other: <https://git.kernel.org/stable/c/fb36846cbcc936954f2ad2bffdff13d16c0be08a>
- other: <https://git.kernel.org/stable/c/91e448e69aca4bb0ba2e998eb3e555644db7322b>
- other: <https://git.kernel.org/stable/c/dbc61834b0412435df21c71410562d933e4eba49>
- other: <https://git.kernel.org/stable/c/3ed049fbfb4d75b4e0b8ab54c934f485129d5dc8>
- other: <https://git.kernel.org/stable/c/382748c05e58a9f1935f5a653c352422375566ea>

## 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-2025-68780>

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