bisecting fixing commit since aec3002d07fd2564cd32e56f126fa6db14a168bb building syzkaller on 907bf74686129436f81aa40336ee89f7cc01b0b4 testing commit aec3002d07fd2564cd32e56f126fa6db14a168bb with gcc (GCC) 8.1.0 kernel signature: 41bc14f0471a892295f3201d6f17e041dba60e33cb19d16afd3b757783229032 all runs: crashed: WARNING in perf_group_attach testing current HEAD f5d8eef067acee3fda37137f4a08c0d3f6427a8e testing commit f5d8eef067acee3fda37137f4a08c0d3f6427a8e with gcc (GCC) 8.1.0 kernel signature: cc98943de9b6f8ad7c0bc829471eed785506524ba9dcfa254dff1aacb67278ee all runs: crashed: WARNING in perf_group_attach revisions tested: 2, total time: 23m14.804824277s (build: 16m18.049327802s, test: 6m18.998828569s) the crash still happens on HEAD commit msg: Linux 4.19.154 crash: WARNING in perf_group_attach 8021q: adding VLAN 0 to HW filter on device batadv0 WARNING: CPU: 0 PID: 23 at kernel/events/core.c:1840 perf_group_attach+0x3b1/0x470 kernel/events/core.c:1832 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 23 Comm: kworker/u4:1 Not tainted 4.19.154-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x123/0x177 lib/dump_stack.c:118 panic+0x1cd/0x375 kernel/panic.c:186 __warn.cold.8+0x1b/0x3e kernel/panic.c:541 report_bug+0x1a4/0x200 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x200/0x350 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:perf_group_attach+0x3b1/0x470 kernel/events/core.c:1840 Code: ec 10 4c 39 e3 75 d7 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 0e b1 1d 00 e9 c8 fc ff ff e8 04 b1 1d 00 e9 fe fc ff ff <0f> 0b e9 75 fd ff ff e8 13 b1 1d 00 eb c1 e8 0c b1 1d 00 e9 6d fc RSP: 0018:ffff8880ba607ec0 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: ffff8880b490abc0 RCX: 1ffff1101335fef2 RDX: 1ffff1101335ff1b RSI: ffff8880ba6313e0 RDI: ffff888099aff8d8 RBP: ffff8880ba607ef0 R08: ffffffff890a4018 R09: 0000000000000006 R10: fffffbfff1214801 R11: 0000000000000001 R12: ffff888099aff6c0 R13: ffffe8ffffc11bd0 R14: 0000000000000000 R15: ffff8880ba6313c8 add_event_to_ctx kernel/events/core.c:2398 [inline] __perf_install_in_context+0x3f6/0x860 kernel/events/core.c:2539 remote_function+0xff/0x180 kernel/events/core.c:87 flush_smp_call_function_queue+0x10e/0x3d0 kernel/smp.c:243 generic_smp_call_function_single_interrupt+0xe/0x11 kernel/smp.c:192 smp_call_function_single_interrupt+0xa0/0x440 arch/x86/kernel/smp.c:304 call_function_single_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:916 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_acquire+0x1f1/0x3d0 kernel/locking/lockdep.c:3910 Code: 00 00 00 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 aa 01 00 00 48 83 3d 73 4f c5 06 00 0f 84 31 01 00 00 48 8b 7d c8 57 9d <0f> 1f 44 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 65 8b RSP: 0018:ffff8880b54c7cb0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff04 RAX: dffffc0000000000 RBX: ffff8880b54b4600 RCX: 1ffff11016a969df RDX: 1ffffffff1023ff1 RSI: 0000000000000000 RDI: 0000000000000282 RBP: ffff8880b54c7cf8 R08: ffff8880b54b4ef8 R09: 0000000000000002 R10: ffff8880b54b4ed8 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:242 [inline] rcu_read_lock include/linux/rcupdate.h:627 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:419 [inline] batadv_nc_worker+0xec/0x630 net/batman-adv/network-coding.c:730 process_one_work+0x830/0x1670 kernel/workqueue.c:2155 worker_thread+0x85/0xb60 kernel/workqueue.c:2298 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Kernel Offset: disabled Rebooting in 86400 seconds..