In kernel/bpf/verifier.c in the Linux kernel before 5.12.13, a branch can be mispredicted (e.g., because of type confusion) and consequently an unprivileged BPF program can read arbitrary memory locations via a side-channel attack, aka CID-9183671af6db.
https://www.usenix.org/conference/usenixsecurity21/presentation/kirzner
https://lists.debian.org/debian-lts-announce/2021/10/msg00010.html
https://github.com/torvalds/linux/commit/9183671af6dbf60a1219371d4ed73e23f43b49db