Use-after-free in Linux kernel - CVE-2026-98219
Published: October 7, 2026
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.