CVE-2026-89580
kernel: bpf: Disable preemption in __bpf_get_stack
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 11, 2026
Updated · October 30, 2026
Description
A flaw was found in the Linux kernel's BPF (Berkeley Packet Filter) subsystem. A local attacker could exploit a timing issue in the __bpf_get_stack function. This occurs when a preemptible BPF program is scheduled out, allowing another task to overwrite a per-CPU buffer. This leads to an out-of-bounds write, potentially causing memory corruption.
Statement
This vulnerability is rated as Moderate impact because successful exploitation requires local access and precise timing to trigger a race condition in the kernel's stack unwinding helpers. An attacker must win a race during execution of a preemptible BPF tracing program on the same processor core to cause buffer corruption. Furthermore, loading and attaching tracing programs typically demands administrative privileges or relies on existing tracing sessions, significantly constraining an unprivileged attacker's ability to trigger the flaw reliably.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-787 · Out-of-bounds Write