------------[ cut here ]------------ WARNING: CPU: 1 PID: 25995 at kernel/bpf/btf.c:1988 btf_type_id_size+0x2d9/0x9d0 kernel/bpf/btf.c:1988 Modules linked in: CPU: 1 PID: 25995 Comm: syz-executor.2 Not tainted 6.4.0-rc2-syzkaller-00481-gdcbe4ea1985d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:btf_type_id_size+0x2d9/0x9d0 kernel/bpf/btf.c:1988 Code: ef e8 0b 2b e2 ff 41 83 ff 0b 77 28 f6 44 24 10 18 75 3f e8 99 2e e2 ff 44 89 fe bf 0e 00 00 00 e8 ac 2a e2 ff e8 87 2e e2 ff <0f> 0b 45 31 f6 e9 98 02 00 00 41 83 ff 12 74 18 e8 72 2e e2 ff 44 RSP: 0018:ffffc9000d6c7b68 EFLAGS: 00010212 RAX: 0000000000000fb6 RBX: 0000000000000001 RCX: ffffc90012d20000 RDX: 0000000000040000 RSI: ffffffff81a21449 RDI: 0000000000000005 RBP: ffff88807d090600 R08: 0000000000000005 R09: 000000000000000e R10: 0000000000000011 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000011 R14: ffff88804d22ce98 R15: 0000000000000011 FS: 00007fcf1cca8700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcf1bfa3ccc CR3: 000000001e58c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: map_check_btf kernel/bpf/syscall.c:1024 [inline] map_create+0x1157/0x1860 kernel/bpf/syscall.c:1198 __sys_bpf+0x127f/0x5420 kernel/bpf/syscall.c:5040 __do_sys_bpf kernel/bpf/syscall.c:5162 [inline] __se_sys_bpf kernel/bpf/syscall.c:5160 [inline] __x64_sys_bpf+0x79/0xc0 kernel/bpf/syscall.c:5160 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcf1be8c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcf1cca8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fcf1bfabf80 RCX: 00007fcf1be8c169 RDX: 0000000000000048 RSI: 0000000020000180 RDI: 0000000000000000 RBP: 00007fcf1bee7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff494333bf R14: 00007fcf1cca8300 R15: 0000000000022000