[PATCH 6.12 301/626] libbpf: Fix out-of-bound read