general protection fault, probably for non-canonical address 0xdffffc0000000009: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000048-0x000000000000004f] CPU: 1 PID: 29863 Comm: syz-executor.5 Not tainted 5.8.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__btf_resolve_helper_id+0x149/0xb10 kernel/bpf/btf.c:4102 Code: 80 3c 03 00 0f 85 dd 08 00 00 48 8b 05 e0 c2 09 0b 48 8d 78 48 48 89 04 24 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 50 09 00 00 48 8b 04 24 31 ff RSP: 0018:ffffc90001777378 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 1ffffffff1923650 RCX: ffffc900116b0000 RDX: 0000000000000009 RSI: ffffffff8187ef81 RDI: 0000000000000048 RBP: ffffffff818acf40 R08: ffffc900017773e4 R09: ffffc90001777670 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888053d38260 R15: ffff888053d38000 FS: 00007faf50cf1700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000440 CR3: 0000000048cfc000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: btf_resolve_helper_id+0x10c/0x1c0 kernel/bpf/btf.c:4164 check_helper_call+0x1641/0x5650 kernel/bpf/verifier.c:4722 do_check kernel/bpf/verifier.c:8939 [inline] do_check_common+0x7253/0xc2d0 kernel/bpf/verifier.c:10567 do_check_main kernel/bpf/verifier.c:10633 [inline] bpf_check+0x86bc/0xcea2 kernel/bpf/verifier.c:11086 bpf_prog_load+0xdaf/0x1b30 kernel/bpf/syscall.c:2195 __do_sys_bpf+0x1ed7/0x4b20 kernel/bpf/syscall.c:4117 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45cba9 Code: Bad RIP value. RSP: 002b:00007faf50cf0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00000000004db900 RCX: 000000000045cba9 RDX: 0000000000000070 RSI: 0000000020000440 RDI: 0000000000000005 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000070 R14: 00000000004c34d0 R15: 00007faf50cf16d4 Modules linked in: ---[ end trace 4a1a7021c924e96f ]--- RIP: 0010:__btf_resolve_helper_id+0x149/0xb10 kernel/bpf/btf.c:4102 Code: 80 3c 03 00 0f 85 dd 08 00 00 48 8b 05 e0 c2 09 0b 48 8d 78 48 48 89 04 24 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 50 09 00 00 48 8b 04 24 31 ff RSP: 0018:ffffc90001777378 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 1ffffffff1923650 RCX: ffffc900116b0000 RDX: 0000000000000009 RSI: ffffffff8187ef81 RDI: 0000000000000048 RBP: ffffffff818acf40 R08: ffffc900017773e4 R09: ffffc90001777670 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888053d38260 R15: ffff888053d38000 FS: 00007faf50cf1700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f06fe34f000 CR3: 0000000048cfc000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600