# CVE-2026-98219: sched\_ext: Close the pre-enable ops error claim window

> 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-06T08:44:54.943Z
- **Modified:** 2026-10-19T10:18:22.677Z

## Who should check

- Anyone running Linux \>= 105dcd005be2ac1d5541921db8feb1d0f98d59d5, \< 959c66dc4a915be306c35691095c787c61dc7df9; \>= 105dcd005be2ac1d5541921db8feb1d0f98d59d5, \< c7a1c6e8004ab12a9c9bfdcb603f60f9bf4a3cee
- Anyone running Linux 7.1

## Description

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

sched\_ext: Close the pre-enable ops error claim window

scx\_alloc\_and\_add\_sched() publishes ops-\>priv before
scx\_root\_enable\_workfn() switches the state to SCX\_ENABLING. An error
claimed via scx\_bpf\_error\_bstr() from an associated BPF program in that
window is consumed by scx\_disable\_workfn(), which takes the pre-enable
shortcut in scx\_root\_disable(). The shortcut returns without any teardown
and restores SCX\_DISABLED with an unconditional scx\_set\_enable\_state() xchg
racing the enable workfn's own transition. The enable then completes with
the claim consumed: the scheduler stays up but can never be disabled again,
and bpf\_scx\_unreg() frees it while still in use, resulting in a
use-after-free. Both WARN\_ON\_ONCE()s fire back to back:

  WARNING: kernel/sched/ext/ext.c:7522 at
  scx\_root\_enable\_workfn+0xeec/0x1be0, CPU\#3: scx\_enable\_help/276

  WARNING: kernel/sched/ext/ext.c:6398 at scx\_root\_disable+0xb50/0xdb8,
  CPU\#0: sched\_ext\_helpe/664

scx\_root\_enable\_workfn() switches to SCX\_ENABLING before the scheduler
allocation, so ops-\>priv is never visible while SCX\_DISABLED. The allocation
failure path restores SCX\_DISABLED.

## Affected and fixed versions

- Linux: \>= 105dcd005be2ac1d5541921db8feb1d0f98d59d5, \< 959c66dc4a915be306c35691095c787c61dc7df9; \>= 105dcd005be2ac1d5541921db8feb1d0f98d59d5, \< c7a1c6e8004ab12a9c9bfdcb603f60f9bf4a3cee (cvelist)
- Linux: 7.1 (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-98219. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98219.md
Affected: Linux >= 105dcd005be2ac1d5541921db8feb1d0f98d59d5, < 959c66dc4a915be306c35691095c787c61dc7df9; >= 105dcd005be2ac1d5541921db8feb1d0f98d59d5, < c7a1c6e8004ab12a9c9bfdcb603f60f9bf4a3cee; Linux 7.1
Fixed in: Linux 959c66dc4a915be306c35691095c787c61dc7df9

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

There is no confirmed exploitation: CVE-2026-98219 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-98219?

It has no CVSS score yet. Unknown.

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

Linux \>= 105dcd005be2ac1d5541921db8feb1d0f98d59d5, \< 959c66dc4a915be306c35691095c787c61dc7df9; \>= 105dcd005be2ac1d5541921db8feb1d0f98d59d5, \< c7a1c6e8004ab12a9c9bfdcb603f60f9bf4a3cee; Linux 7.1.

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

Yes. Fixed in Linux 959c66dc4a915be306c35691095c787c61dc7df9. No fix listed yet: follow the vendor advisory.

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

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/959c66dc4a915be306c35691095c787c61dc7df9>
- other: <https://git.kernel.org/stable/c/c7a1c6e8004ab12a9c9bfdcb603f60f9bf4a3cee>

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

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