------------[ cut here ]------------ WARNING: CPU: 0 PID: 12047 at kernel/bpf/btf.c:1943 btf_type_id_size+0x8e0/0x948 Modules linked in: CPU: 0 PID: 12047 Comm: syz-executor.2 Not tainted 6.1.90-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 : ffff80001ddd79d0 x29: ffff80001ddd79e0 x28: 1ffff00003bbaf50 x27: dfff800000000000 x26: 0000000011000000 x25: 0000000000000011 x24: 0000000000000000 x23: 0000000000000000 x22: ffff0000c3914a00 x21: 0000000000000001 x20: ffff80001ddd7a80 x19: 000000000e000000 x18: 0000000000000000 x17: ffff8000085a6b34 x16: ffff800012159304 x15: 0000000000000002 x14: 0000000000000012 x13: ffff0000d61bd340 x12: 0000000000040000 x11: 0000000000000808 x10: ffff800021499000 x9 : ffff8000086673ec x8 : 0000000000000809 x7 : ffff800008abea18 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000005 x2 : ffff80001ddd7aa0 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: 146 hardirqs last enabled at (145): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (145): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (146): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (126): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (124): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---