general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 0 PID: 17918 Comm: syz-executor.3 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:btf_resolved_type_id kernel/bpf/btf.c:1770 [inline] RIP: 0010:btf_type_id_size+0x40e/0x960 kernel/bpf/btf.c:1811 Code: 48 c1 e9 03 80 3c 11 00 0f 85 17 05 00 00 49 8b 47 10 44 29 f3 48 8d 1c 98 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <0f> b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 ec RSP: 0018:ffffc9000183fd18 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 0000000000000014 RCX: 1ffff11002a91f22 RDX: 0000000000000002 RSI: ffffffff818ad103 RDI: ffff88801548f910 RBP: ffff88801548f900 R08: 0000000000000005 R09: ffffffff818acf5a R10: ffffffff818ad09e R11: 000000000000000a R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88801548f900 FS: 00007f5bedf0b700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31423000 CR3: 0000000017725000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: map_check_btf kernel/bpf/syscall.c:757 [inline] map_create kernel/bpf/syscall.c:860 [inline] __do_sys_bpf+0x4000/0x4f00 kernel/bpf/syscall.c:4370 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465ef9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5bedf0b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465ef9 RDX: 0000000000000040 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00000000004bfa34 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffd3cfdb13f R14: 00007f5bedf0b300 R15: 0000000000022000 Modules linked in: ---[ end trace c856c343dd3b1b88 ]--- RIP: 0010:btf_resolved_type_id kernel/bpf/btf.c:1770 [inline] RIP: 0010:btf_type_id_size+0x40e/0x960 kernel/bpf/btf.c:1811 Code: 48 c1 e9 03 80 3c 11 00 0f 85 17 05 00 00 49 8b 47 10 44 29 f3 48 8d 1c 98 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <0f> b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 ec RSP: 0018:ffffc9000183fd18 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 0000000000000014 RCX: 1ffff11002a91f22 RDX: 0000000000000002 RSI: ffffffff818ad103 RDI: ffff88801548f910 RBP: ffff88801548f900 R08: 0000000000000005 R09: ffffffff818acf5a R10: ffffffff818ad09e R11: 000000000000000a R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88801548f900 FS: 00007f5bedf0b700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000541bf8 CR3: 0000000017725000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400