bisecting fixing commit since 27ce4f2a6817e38ca74c643d47a96359f6cc0c1c building syzkaller on 1bf9a662c66aa432ff2fe3bf2562578cef626c09 testing commit 27ce4f2a6817e38ca74c643d47a96359f6cc0c1c with gcc (GCC) 8.4.1 20210217 kernel signature: 376d47689aeb569a0d2dae0ae283186ae45e56baa5721fc10e5727e455425d6c all runs: crashed: WARNING in bpf testing current HEAD 670d6552eda8ff0c5f396d3d6f0174237917c66c testing commit 670d6552eda8ff0c5f396d3d6f0174237917c66c with gcc (GCC) 8.4.1 20210217 kernel signature: 183a00bcc72571d2404e42c679e056b672caf3dd37b157363bfc116cdabb3600 all runs: crashed: WARNING in bpf revisions tested: 2, total time: 25m25.627186612s (build: 13m58.43376542s, test: 11m0.152973542s) the crash still happens on HEAD commit msg: Linux 4.14.227 crash: WARNING in bpf wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready perf buffer not large enough ------------[ cut here ]------------ WARNING: CPU: 0 PID: 9238 at kernel/trace/trace_event_perf.c:274 perf_trace_buf_alloc.cold.2+0x13/0x1c kernel/trace/trace_event_perf.c:273 Modules linked in: CPU: 0 PID: 9238 Comm: syz-executor.2 Not tainted 4.14.227-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8881e38340c0 task.stack: ffff8881e3f30000 RIP: 0010:perf_trace_buf_alloc.cold.2+0x13/0x1c kernel/trace/trace_event_perf.c:273 RSP: 0018:ffff8881e3f37c10 EFLAGS: 00010282 RAX: 000000000000001c RBX: ffff8881e644fcdc RCX: 0000000000000000 RDX: 000000000000001c RSI: 0000000000000001 RDI: ffffed103c7e6f79 RBP: ffff8881e3f37c38 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000000 R12: 0000000000209e54 R13: 0000000000209e54 R14: ffff8881e644fcc0 R15: 0000000000000000 FS: 00007fe0da7c8700(0000) GS:ffff8881f6400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020200000 CR3: 00000001ecd40004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: perf_trace_bpf_map_keyval+0x1ba/0x830 include/trace/events/bpf.h:228 trace_bpf_map_update_elem include/trace/events/bpf.h:274 [inline] map_update_elem kernel/bpf/syscall.c:612 [inline] SYSC_bpf kernel/bpf/syscall.c:1503 [inline] SyS_bpf+0x23c4/0x2fc0 kernel/bpf/syscall.c:1477 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x465889 RSP: 002b:00007fe0da7c8188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000055bf00 RCX: 0000000000465889 RDX: 0000000000000020 RSI: 0000000020000040 RDI: 0000000000000002 RBP: 00000000004af68d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000055bf00 R13: 00007ffe6b0e05df R14: 00007fe0da7c8300 R15: 0000000000022000 Code: df 7e 69 fa eb aa 48 89 f7 48 89 75 d0 e8 f1 7e 69 fa 48 8b 75 d0 eb d3 48 c7 c7 c0 4a 8e 87 c6 05 be 36 de 02 01 e8 7c 9b ff ff <0f> 0b 31 db e9 4d 20 46 fa e8 8a 67 69 fa 48 c7 c7 40 50 8e 87 ---[ end trace f424575acf4ff2a8 ]---