================================================================== BUG: KFENCE: memory corruption in pskb_expand_head+0x11f/0x450 net/core/skbuff.c:2307 Corrupted memory at 0xffff888236fd0fc0 [ 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ] (in kfence-#231): pskb_expand_head+0x11f/0x450 net/core/skbuff.c:2307 __skb_cow include/linux/skbuff.h:3702 [inline] skb_cow_head include/linux/skbuff.h:3736 [inline] __vlan_insert_inner_tag include/linux/if_vlan.h:354 [inline] __vlan_insert_tag include/linux/if_vlan.h:400 [inline] skb_vlan_push+0x97/0x190 net/core/skbuff.c:6324 ____bpf_skb_vlan_push net/core/filter.c:3191 [inline] bpf_skb_vlan_push+0x7c/0x140 net/core/filter.c:3181 ___bpf_prog_run+0x5f6/0x2280 kernel/bpf/core.c:2010 __bpf_prog_run480+0xb4/0xe0 kernel/bpf/core.c:2253 bpf_dispatcher_nop_func include/linux/bpf.h:1257 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] bpf_test_run+0x284/0x400 net/bpf/test_run.c:433 bpf_prog_test_run_skb+0x3cd/0x590 net/bpf/test_run.c:1094 bpf_prog_test_run+0xdf/0x100 kernel/bpf/syscall.c:4247 __sys_bpf+0x2ff/0x5a0 kernel/bpf/syscall.c:5652 __do_sys_bpf kernel/bpf/syscall.c:5741 [inline] __se_sys_bpf kernel/bpf/syscall.c:5739 [inline] __x64_sys_bpf+0x17/0x20 kernel/bpf/syscall.c:5739 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x190 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f kfence-#231: 0xffff888236fd0e00-0xffff888236fd0fbf, size=448, cache=kmalloc-512 allocated by task 5051 on cpu 0 at 63.517943s (0.103368s ago): kmalloc_noprof include/linux/slab.h:882 [inline] kzalloc_noprof include/linux/slab.h:1014 [inline] bpf_test_init+0x5b/0xc0 net/bpf/test_run.c:669 bpf_prog_test_run_skb+0xa2/0x590 net/bpf/test_run.c:1000 bpf_prog_test_run+0xdf/0x100 kernel/bpf/syscall.c:4247 __sys_bpf+0x2ff/0x5a0 kernel/bpf/syscall.c:5652 __do_sys_bpf kernel/bpf/syscall.c:5741 [inline] __se_sys_bpf kernel/bpf/syscall.c:5739 [inline] __x64_sys_bpf+0x17/0x20 kernel/bpf/syscall.c:5739 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x190 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f freed by task 5051 on cpu 0 at 63.517967s (0.146647s ago): pskb_expand_head+0x11f/0x450 net/core/skbuff.c:2307 __skb_cow include/linux/skbuff.h:3702 [inline] skb_cow_head include/linux/skbuff.h:3736 [inline] __vlan_insert_inner_tag include/linux/if_vlan.h:354 [inline] __vlan_insert_tag include/linux/if_vlan.h:400 [inline] skb_vlan_push+0x97/0x190 net/core/skbuff.c:6324 ____bpf_skb_vlan_push net/core/filter.c:3191 [inline] bpf_skb_vlan_push+0x7c/0x140 net/core/filter.c:3181 ___bpf_prog_run+0x5f6/0x2280 kernel/bpf/core.c:2010 __bpf_prog_run480+0xb4/0xe0 kernel/bpf/core.c:2253 bpf_dispatcher_nop_func include/linux/bpf.h:1257 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] bpf_test_run+0x284/0x400 net/bpf/test_run.c:433 bpf_prog_test_run_skb+0x3cd/0x590 net/bpf/test_run.c:1094 bpf_prog_test_run+0xdf/0x100 kernel/bpf/syscall.c:4247 __sys_bpf+0x2ff/0x5a0 kernel/bpf/syscall.c:5652 __do_sys_bpf kernel/bpf/syscall.c:5741 [inline] __se_sys_bpf kernel/bpf/syscall.c:5739 [inline] __x64_sys_bpf+0x17/0x20 kernel/bpf/syscall.c:5739 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x190 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 5051 Comm: syz.1.416 Not tainted 6.12.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================