Technical impact
A race condition arises in the Linux kernel’s BPF subsystem when a long-jump trampoline is attached to or detached from a BPF program on arm64. The function bpf_arch_text_poke() temporarily changes page permissions to write to a PLT target, but this change is not serialized with other writers or with the text mutex. As a result, two CPUs that operate on PLT entries belonging to different BPF programs on the same page can simultaneously toggle page permissions and perform stores, causing a permission fault and a kernel Oops that crashes the system. This manifests as a write to read‑only memory and results in a denial of service.
Affected Systems
Affected systems are Linux kernel versions running on the ARM64 architecture that employ the BPF subsystem and rely on long‑jump trampoline logic within the bpf_arch_text_poke() function. All ARM64 kernels with this code path—particularly those that load or detach BPF programs that use long‑jump trampolines—are potentially vulnerable. The exact range of affected releases is not specified, so any in‑use kernel with that implementation is at risk.
Risk and Exploitability
Based on the description, it is inferred that the flaw requires local privileged code execution to load or detach BPF programs and that two CPUs simultaneously manipulating PLT entries on the same page can trigger the race. The EPSS score is <1%, and the vulnerability is not in the CISA KEV catalog. The kernel crash observed in the reported crash trace confirms that the bug can be triggered by privileged users who have the ability to attach or detach BPF programs. Because the race is challenging to time precisely, the exploitability is considered moderate; however, the impact remains high due to the kernel crash that results in a local denial of service.