------------[ cut here ]------------ WARNING: CPU: 1 PID: 6079 at kernel/bpf/btf.c:1943 btf_type_id_size+0x904/0x990 Modules linked in: CPU: 1 PID: 6079 Comm: syz-executor.2 Not tainted 6.1.94-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:btf_type_id_size+0x904/0x990 kernel/bpf/btf.c:1942 Code: 04 3b 00 e9 d1 fa ff ff 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 03 fb ff ff 48 89 ef e8 46 05 3b 00 e9 f6 fa ff ff e8 8c 84 e3 ff <0f> 0b 45 31 f6 e9 f1 fa ff ff 44 89 f9 80 e1 07 80 c1 03 38 c1 0f RSP: 0018:ffffc90004fe7bc0 EFLAGS: 00010287 RAX: ffffffff81a70ec4 RBX: 0000000011000000 RCX: 0000000000040000 RDX: ffffc90014e3d000 RSI: 000000000000008c RDI: 000000000000008d RBP: 0000000000000009 R08: ffffffff81a709f2 R09: ffffffff81a7090e R10: 0000000000000005 R11: ffff888027c30000 R12: ffff888072e27600 R13: dffffc0000000000 R14: ffff88807cd34c98 R15: 0000000000000001 FS: 00007f1a1a8186c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1a19ba8ff8 CR3: 000000005b91d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: map_check_btf+0x134/0xb90 kernel/bpf/syscall.c:1018 map_create+0x7bc/0xd20 kernel/bpf/syscall.c:1167 __sys_bpf+0x2d3/0x6c0 kernel/bpf/syscall.c:4987 __do_sys_bpf kernel/bpf/syscall.c:5109 [inline] __se_sys_bpf kernel/bpf/syscall.c:5107 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5107 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f1a19a7d0a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1a1a8180c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f1a19bb3f80 RCX: 00007f1a19a7d0a9 RDX: 0000000000000048 RSI: 0000000020000180 RDI: 0000000000000000 RBP: 00007f1a19aec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f1a19bb3f80 R15: 00007ffc3502d4b8