------------[ cut here ]------------ WARNING: CPU: 1 PID: 5994 at kernel/bpf/btf.c:1828 btf_type_id_size+0x1cf/0x820 kernel/bpf/btf.c:1828 Modules linked in: CPU: 1 PID: 5994 Comm: syz-executor.0 Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:btf_type_id_size+0x1cf/0x820 kernel/bpf/btf.c:1828 Code: 48 d3 e6 f7 c6 72 80 01 00 75 23 83 f9 03 0f 84 94 02 00 00 83 f9 02 0f 84 81 02 00 00 8d 41 f8 83 f8 03 76 7e 83 f9 0e 74 79 <0f> 0b eb b7 48 8d 78 08 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 RSP: 0018:ffffc900017dfb38 EFLAGS: 00010216 RAX: 0000000000000009 RBX: ffff88801aeebb10 RCX: 0000000000000011 RDX: 0000000000000000 RSI: 0000000000000005 RDI: ffff888018f98aa8 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: ffff888018f98ac0 R11: dffffc0000000000 R12: 0000000000000002 R13: ffff888012fff100 R14: ffffc900017dfc40 R15: 0000000000000000 FS: 00007fd46c7ea700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f14052bd9ee CR3: 000000001c402000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btf_func_proto_check kernel/bpf/btf.c:3958 [inline] btf_check_all_types kernel/bpf/btf.c:4232 [inline] btf_parse_type_sec kernel/bpf/btf.c:4267 [inline] btf_parse kernel/bpf/btf.c:4501 [inline] btf_new_fd+0x1633/0x2040 kernel/bpf/btf.c:5982 bpf_btf_load kernel/bpf/syscall.c:3993 [inline] __sys_bpf+0x2c1/0x44a0 kernel/bpf/syscall.c:4632 __do_sys_bpf kernel/bpf/syscall.c:4691 [inline] __se_sys_bpf kernel/bpf/syscall.c:4689 [inline] __x64_sys_bpf+0x70/0xb0 kernel/bpf/syscall.c:4689 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fd46d0775a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd46c7ea168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fd46d197f80 RCX: 00007fd46d0775a9 RDX: 0000000000000020 RSI: 0000000020000140 RDI: 0000000000000012 RBP: 00007fd46d0d2580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffc95aca9f R14: 00007fd46c7ea300 R15: 0000000000022000