Technical impact
An unzero-extended index in the Linux kernel’s bpf_get_func_arg() function allows a BPF program to supply a 64‑bit value whose high 32 bits are non‑zero. The bounds check compares only the low 32 bits, so an index such as 1ULL<<32 passes the check as zero, yet the load uses the full 64‑bit value when computing a context address. This results in an out‑of‑bounds memory access that can corrupt kernel memory, potentially granting elevated privileges or causing a denial of service.
Affected Systems
Any Linux kernel release that contains the pre‑patch implementation of bpf_get_func_arg(), as identified by the vendor entry Linux:Linux. The vulnerability is present in all kernel versions before the patch referenced in the provided commit URLs.
Risk and Exploitability
The bug represents an out‑of‑bounds read/write in kernel space, which is normally considered high risk. The EPSS score is not available and the vulnerability is not listed in CISA KEV, so its exploitation probability is unknown. A local user with the ability to load eBPF programs can trigger the fault, making the attack vector local and dependent on CAP_BPF. The lack of a publicly known exploit and the absence of a specific CVSS score suggest a moderate to high risk, contingent on the attacker’s access to BPF program loading.