In the Linux kernel, the following vulnerability has been resolved: bpf: Mask pseudo pointer values in verifier logs print_bpf_insn() masks ldimm64 immediates for pointer-bearing pseudo sources when pointer leaks are not allowed, but the mask only covers BPF_PSEUDO_MAP_FD and BPF_PSEUDO_MAP_VALUE. BPF_PSEUDO_MAP_IDX, BPF_PSEUDO_MAP_IDX_VALUE, and BPF_PSEUDO_BTF_ID can also be resolved to kernel pointer values before the verifier log prints the instruction. Include them in the existing pointer classification so the log prints 0x0 instead of the rewritten address.
https://git.kernel.org/stable/c/c727b3d50ecb0f4992a964360771040a84026914
https://git.kernel.org/stable/c/b96cb1235fcaa687291b1e1d910f0930d1939919
https://git.kernel.org/stable/c/72a85e9464a5332fb2cd7efd26d9295275ceda2d
https://git.kernel.org/stable/c/1c53d16b174dd9e02243fc0e85089e2aa6a0d21a