
hulk inclusion category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IC5J6M CVE: CVE-2024-58100 -------------------------------- Fix kabi breakage for changes_pkt_data in struct bpf_prog_aux by using KABI_FILL_HOLE. Fixes: 81f6d0530ba0 ("bpf: check changes_pkt_data property for extension programs") Signed-off-by: Chen Zhongjin <chenzhongjin@huawei.com> --- include/linux/bpf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/bpf.h b/include/linux/bpf.h index 9accee44d1e1..9e67254a0390 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h @@ -902,7 +902,7 @@ struct bpf_prog_aux { bool func_proto_unreliable; bool sleepable; bool tail_call_reachable; - bool changes_pkt_data; + KABI_FILL_HOLE(bool changes_pkt_data) struct hlist_node tramp_hlist; /* BTF_KIND_FUNC_PROTO for valid attach_btf_id */ const struct btf_type *attach_func_proto; -- 2.25.1