Technical impact
bpf_wq_work() runs a callback under rcu_read_lock_trace() because the callback may sleep. The program belonging to the callback is not guaranteed to be sleepable, and the reference that bpf_wq holds is dropped when the map element goes or when another callback is set, regardless of whether the work is still running. If that drop leaves the program with no remaining reference, the kernel frees the JIT image while the callback is executing, which leads to an Oops as the worker continues in the freed memory. The vulnerability is a use‑after‑free race that can cause a kernel crash and data corruption, effectively denying service to the affected host.
Affected Systems
The issue is present in all Linux kernel releases that support BPF via bpf_wq, with no version range specified in the vendor advisory. Therefore, every unpatched Linux kernel containing this code path is potentially vulnerable, regardless of distribution or release.
Risk and Exploitability
The CVE is not listed in the CISA KEV catalog and no EPSS score is available, indicating that known public exploitation is currently absent. An attacker would need privileged local access to load a BPF program with a sleepable callback and then close the map and program while the callback is still running. Even though the attack surface is limited to trusted users, the resulting kernel crash can halt the system and may provide a foothold for privilege escalation. The overall risk is moderate to high for environments that allow arbitrary BPF loading, but the likelihood of a successful exploit remains low until an external exploit is released.