From: Alexei Starovoitov Date: Fri, 5 Jun 2026 22:21:24 +0000 (-0700) Subject: Merge branch 'bpf-check-tail-zero-of-bpf_map_info-and-bpf_prog_info' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1f1acf6a1491394d57e9635e47ccfcf8381f265;p=thirdparty%2Flinux.git Merge branch 'bpf-check-tail-zero-of-bpf_map_info-and-bpf_prog_info' Leon Hwang says: ==================== bpf: Check tail zero of bpf_map_info and bpf_prog_info Check the tail bytes of bpf_map_info and bpf_prog_info due to padding when getting map info and prog info via BPF_OBJ_GET_INFO_BY_FD, which was discussed in the thread "bpf: Check tail zero of bpf_common_attr using offsetofend" [1]. Links: [1] https://lore.kernel.org/bpf/20260518145446.6794-2-leon.hwang@linux.dev/ Changes: v2 -> v3: * Add "__u32 :32" to bpf_map_info and bpf_prog_info (per Alexei). * v2: https://lore.kernel.org/bpf/20260604150505.99129-1-leon.hwang@linux.dev/ v1 -> v2: * Collect Acked-by tags from Mykyta, thanks. * Update Fixes tag in patch #2 (per bot+bpf-ci) * v1: https://lore.kernel.org/bpf/20260603144518.67065-1-leon.hwang@linux.dev/ ==================== Link: https://patch.msgid.link/20260605155249.20772-1-leon.hwang@linux.dev Signed-off-by: Alexei Starovoitov --- a1f1acf6a1491394d57e9635e47ccfcf8381f265