------------[ cut here ]------------ WARNING: CPU: 0 PID: 6880 at kernel/bpf/btf.c:1943 btf_type_id_size+0x8e0/0x948 Modules linked in: CPU: 0 PID: 6880 Comm: syz-executor.3 Not tainted 6.1.94-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btf_type_id_size+0x8e0/0x948 lr : btf_type_id_size+0x8dc/0x948 kernel/bpf/btf.c:1942 sp : ffff80001fcb79d0 x29: ffff80001fcb79e0 x28: 1ffff00003f96f50 x27: dfff800000000000 x26: 0000000011000000 x25: 0000000000000011 x24: 0000000000000000 x23: 0000000000000000 x22: ffff0000cf526600 x21: 0000000000000001 x20: ffff80001fcb7a80 x19: 000000000e000000 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80001215f914 x15: 0000000000000002 x14: 0000000000000012 x13: ffff0000d5df9bc0 x12: 0000000000040000 x11: 0000000000000f1a x10: ffff800021e1a000 x9 : ffff8000086668b4 x8 : 0000000000000f1b x7 : ffff800008abe120 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000001 x2 : ffff80001fcb7aa0 x1 : 0000000011000000 x0 : 000000000e000000 Call trace: btf_type_id_size+0x8e0/0x948 map_check_btf+0x104/0x97c kernel/bpf/syscall.c:1018 map_create+0x6f4/0xbc8 kernel/bpf/syscall.c:1167 __sys_bpf+0x284/0x654 kernel/bpf/syscall.c:4987 __do_sys_bpf kernel/bpf/syscall.c:5109 [inline] __se_sys_bpf kernel/bpf/syscall.c:5107 [inline] __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:5107 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 186 hardirqs last enabled at (185): [] mod_objcg_state+0x314/0x4e0 mm/memcontrol.c:3214 hardirqs last disabled at (186): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (148): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (146): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---