Technical impact
The Linux kernel BPF subsystem contains a defect where the routine that checks map compatibility for sleepable callbacks bypasses certain callback types, such as bpf_wq or bpf_task_work, and inner map accesses. This omission allows a sleepable BPF program to operate on maps that normally require an RCU read lock, leading to use‑after‑free or race conditions that can corrupt kernel memory and trigger a crash.
Affected Systems
All Linux kernel builds that have not yet incorporated the patch commits referenced in the provided commit links are impacted. The issue is present in any distribution that uses the standard Linux kernel without the code changes in those commits.
Risk and Exploitability
No CVSS or KEV score is published, but the flaw can be leveraged by an attacker who can load a kernel‑level BPF program. The missing lock checks directly lead to kernel panic or memory corruption, providing a potential vector for privilege escalation. The exploitation path involves crafting a sleepable BPF program that accesses a protected map without acquiring the required RCU lock, which the kernel will then mishandle.