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: 13523 Comm: syz-executor.3 Not tainted 5.2.0-rc5+ #5
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_struct_resolve+0x42d/0xfc0 kernel/bpf/btf.c:2173
Code: e8 03 42 80 3c 28 00 4d 89 e7 74 08 48 89 df e8 a9 5b 25 00 4c 8b 23 49 8d 5c 24 04 48 89 d8 48 c1 e8 03 48 89 85 68 ff ff ff <42> 0f b6 04 28 84 c0 48 8b 55 c8 0f 85 19 04 00 00 4c 8d 6a fc 48
RSP: 0018:ffff888050f775f0 EFLAGS: 00010247
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000040000
RDX: ffffc9000c621000 RSI: 00000000000008b4 RDI: 00000000000008b5
RBP: ffff888050f77690 R08: ffffffff81897f28 R09: fffffbfff1178ed9
R10: fffffbfff1178ed9 R11: 1ffffffff1178ed8 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff8880a11ed180 R15: ffff88808ace88c0
FS:  00007f69da65e700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5fe4057518 CR3: 00000000857ab000 CR4: 00000000001426f0
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:0x4592c9
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:00007f69da65dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004592c9
RDX: 0000000000000020 RSI: 0000000020000000 RDI: 0000000000000012
RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f69da65e6d4
R13: 00000000004bf4d3 R14: 00000000004d0aa0 R15: 00000000ffffffff
Modules linked in:
---[ end trace ded0c1aa85965973 ]---
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_struct_resolve+0x42d/0xfc0 kernel/bpf/btf.c:2173
Code: e8 03 42 80 3c 28 00 4d 89 e7 74 08 48 89 df e8 a9 5b 25 00 4c 8b 23 49 8d 5c 24 04 48 89 d8 48 c1 e8 03 48 89 85 68 ff ff ff <42> 0f b6 04 28 84 c0 48 8b 55 c8 0f 85 19 04 00 00 4c 8d 6a fc 48
RSP: 0018:ffff888050f775f0 EFLAGS: 00010247
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000040000
RDX: ffffc9000c621000 RSI: 00000000000008b4 RDI: 00000000000008b5
RBP: ffff888050f77690 R08: ffffffff81897f28 R09: fffffbfff1178ed9
R10: fffffbfff1178ed9 R11: 1ffffffff1178ed8 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff8880a11ed180 R15: ffff88808ace88c0
FS:  00007f69da65e700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd43a30f38 CR3: 00000000857ab000 CR4: 00000000001426e0