Technical impact
A bug in the Linux kernel’s BPF verifier allows a program that performs a non‑fetch atomic operation on a partially spilled stack slot to read uninitialized high‑order bits of the stack. The read occurs after the atomic add, after the lower 32 bits have been written, so the high 32 bits are leaked to the BPF program. This leak gives an attacker a short window of kernel memory disclosure, which could be leveraged by a privileged user to exfiltrate sensitive data or to facilitate further exploitation.
Affected Systems
The vulnerability exists in all versions of the Linux kernel that do not include the patch. It affects the kernel itself, particularly the BPF subsystem, and is limited to processes that possess the CAP_BPF privilege. Any kernel running before the fix is potentially vulnerable.
Risk and Exploitability
The flaw requires local privilege to load a BPF program with CAP_BPF (or CAP_PERFMON). An attacker with such capability can trigger the verifier to accept a program that reads uninitialized memory and thus extract stack bytes. The exploitation probability is moderate because it is not remotely exploitable and requires a kernel holding the capability, but once the privilege is present it is straightforward. EPSS score is not available and the issue is not listed in CISA’s KEV catalog, indicating that large‑scale active exploitation has not been observed. The patch is the recommended mitigation.