kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 10248 Comm: syz-executor.5 Not tainted 5.2.0-rc6+ #7
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:btf_type_is_var kernel/bpf/btf.c:392 [inline]
RIP: 0010:btf_type_is_resolve_source_only kernel/bpf/btf.c:405 [inline]
RIP: 0010:btf_array_resolve+0x1b4/0x18f0 kernel/bpf/btf.c:1931
Code: 00 00 00 00 00 fc ff df 42 80 3c 30 00 74 08 48 89 df e8 ff 86 25 00 48 8b 03 48 89 44 24 70 48 8d 50 04 49 89 d7 49 c1 ef 03 <43> 8a 04 37 84 c0 48 89 54 24 30 0f 85 ec 10 00 00 44 8b 32 44 89
RSP: 0018:ffff888056997560 EFLAGS: 00010247
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000040000
RDX: 0000000000000004 RSI: 00000000000009a4 RDI: 00000000000009a5
RBP: ffff888056997690 R08: ffffffff818953cd R09: ffffffff8188fb11
R10: ffff8880582e4400 R11: 0000000000000003 R12: 0000000000000003
R13: 1ffff11010845929 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007f3a574a2700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdf18d3a8f0 CR3: 00000000a94d4000 CR4: 00000000001406f0
Call Trace:
 btf_resolve+0x3ed/0xda0 kernel/bpf/btf.c:3037
 btf_check_all_types kernel/bpf/btf.c:3076 [inline]
 btf_parse_type_sec kernel/bpf/btf.c:3117 [inline]
 btf_parse kernel/bpf/btf.c:3346 [inline]
 btf_new_fd+0x216a/0x37b0 kernel/bpf/btf.c:3394
 bpf_btf_load kernel/bpf/syscall.c:2630 [inline]
 __do_sys_bpf+0x1212/0xc5d0 kernel/bpf/syscall.c:2854
 __se_sys_bpf kernel/bpf/syscall.c:2772 [inline]
 __x64_sys_bpf+0x7a/0x90 kernel/bpf/syscall.c:2772
 do_syscall_64+0xfe/0x140 arch/x86/entry/common.c:301
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459519
Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f3a574a1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459519
RDX: 0000000000000020 RSI: 00000000200000c0 RDI: 0000000000000012
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3a574a26d4
R13: 00000000004bf726 R14: 00000000004d0fe0 R15: 00000000ffffffff
Modules linked in:
---[ end trace ae1681c99e2afd5b ]---
RIP: 0010:btf_type_is_var kernel/bpf/btf.c:392 [inline]
RIP: 0010:btf_type_is_resolve_source_only kernel/bpf/btf.c:405 [inline]
RIP: 0010:btf_array_resolve+0x1b4/0x18f0 kernel/bpf/btf.c:1931
Code: 00 00 00 00 00 fc ff df 42 80 3c 30 00 74 08 48 89 df e8 ff 86 25 00 48 8b 03 48 89 44 24 70 48 8d 50 04 49 89 d7 49 c1 ef 03 <43> 8a 04 37 84 c0 48 89 54 24 30 0f 85 ec 10 00 00 44 8b 32 44 89
RSP: 0018:ffff888056997560 EFLAGS: 00010247
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000040000
RDX: 0000000000000004 RSI: 00000000000009a4 RDI: 00000000000009a5
RBP: ffff888056997690 R08: ffffffff818953cd R09: ffffffff8188fb11
R10: ffff8880582e4400 R11: 0000000000000003 R12: 0000000000000003
R13: 1ffff11010845929 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007f3a574a2700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdb87060000 CR3: 00000000a94d4000 CR4: 00000000001406f0