------------[ cut here ]------------ WARNING: CPU: 0 PID: 4221 at kernel/bpf/btf.c:1943 btf_type_id_size+0x8e0/0x948 Modules linked in: CPU: 0 PID: 4221 Comm: syz-executor356 Not tainted 6.1.74-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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 : ffff80001da979d0 x29: ffff80001da979e0 x28: 1ffff00003b52f50 x27: dfff800000000000 x26: 0000000011000000 x25: 0000000000000011 x24: 0000000000000000 x23: 0000000000000000 x22: ffff0000c0863800 x21: 0000000000000001 x20: ffff80001da97a80 x19: 000000000e000000 x18: 0000000000000140 x17: ffff8000085a5678 x16: ffff80001209a100 x15: 0000000000000000 x14: 0000000000000012 x13: ffff0000de449bc0 x12: 0000000000ff0100 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000866578c x8 : ffff0000de449bc0 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000005 x2 : ffff80001da97aa0 x1 : 0000000011000000 x0 : 000000000e000000 Call trace: btf_type_id_size+0x8e0/0x948 map_check_btf+0x104/0x97c kernel/bpf/syscall.c:996 map_create+0x6f4/0xbc8 kernel/bpf/syscall.c:1145 __sys_bpf+0x284/0x654 kernel/bpf/syscall.c:4950 __do_sys_bpf kernel/bpf/syscall.c:5072 [inline] __se_sys_bpf kernel/bpf/syscall.c:5070 [inline] __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:5070 __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: 15070 hardirqs last enabled at (15069): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (15069): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (15070): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (15036): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (15036): [] __do_softirq+0xc1c/0xe38 kernel/softirq.c:600 softirqs last disabled at (15029): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]---