Technical impact
The patched kernel bug occurs when a global BPF function assumes a dynamic pointer (dynptr) received as a parameter is of type BPF_DYNPTR_TYPE_LOCAL, yet callers may provide a dynptr of any type, such as one referencing an skb. Because the type drives whether write operations invalidate packet pointers, the function incorrectly allows writes through the dynptr without performing the needed invalidation steps. This flaw lets a malicious BPF program write to memory that it should not be able to, potentially leading to kernel memory corruption, a use‑after‑free scenario, and eventually arbitrary code execution with kernel privileges. The impact is sufficient to compromise the confidentiality, integrity, and availability of the entire system when exploited from a user‑space BPF program.
Affected Systems
All Linux kernel implementations are affected. The version information is not explicitly listed in the advisory; the issue applies to any kernel that has not yet incorporated the fix referenced by the commit URLs.
Risk and Exploitability
Although no EPSS score is available and the vulnerability is not listed in the CISA KEV catalog, the potential for remote code execution through user‑supplied BPF code is considered high. An attacker with the ability to load a BPF program into the kernel (e.g., via privileged user or compromised application) can exploit the flaw by passing a non‑local dynptr and performing a write that corrupts kernel memory. The lack of a documented workaround suggests that the attack vector is primarily through normal BPF program loading and execution.