Use-after-free in Linux kernel - CVE-2026-98219

 

Use-after-free in Linux kernel - CVE-2026-98219

Published: October 7, 2026


Vulnerability identifier: #VU153804
CSH Severity: Low
CVSS v4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-98219
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to prevent a scheduler from being disabled and trigger a use-after-free in the kernel.

The vulnerability exists due to a use-after-free caused by a race condition in the sched_ext scheduler lifecycle handling when an associated BPF program claims an error after ops->priv is published but before the state transitions to SCX_ENABLING. A local user can trigger scx_bpf_error_bstr() during this window and subsequently unregister the scheduler to prevent a scheduler from being disabled and trigger a use-after-free in the kernel.


Affected software

Linux kernel

How to mitigate CVE-2026-98219

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3

External References

Related Security Bulletins