WARNING: CPU: 0 PID: 891 at kernel/events/core.c:1835 perf_group_attach+0x3fd/0x4d0 kernel/events/core.c:1835 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 891 Comm: kworker/u4:4 Not tainted 5.2.0-rc3+ #26 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+0x172/0x1f0 lib/dump_stack.c:113 panic+0x2cb/0x744 kernel/panic.c:219 __warn.cold+0x20/0x4d kernel/panic.c:576 report_bug+0x263/0x2b0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:179 [inline] fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:986 RIP: 0010:perf_group_attach+0x3fd/0x4d0 kernel/events/core.c:1835 Code: ff 48 8d 7b 10 48 89 f8 48 c1 e8 03 42 80 3c 28 00 75 57 48 8b 5b 10 48 83 eb 10 49 39 dc 75 d4 e9 20 ff ff ff e8 73 3a eb ff <0f> 0b e9 55 fd ff ff 48 c7 c7 34 c4 80 89 e8 40 e0 23 00 e9 5b fc RSP: 0018:ffff8880ae809ea8 EFLAGS: 00010006 RAX: ffff8880a8248580 RBX: ffff8880a5e18d80 RCX: ffffffff818568e8 RDX: 0000000000010000 RSI: ffffffff81856c0d RDI: ffff8880a5e18f98 RBP: ffff8880ae809ed8 R08: ffff8880a8248580 R09: ffffed1015d013cb R10: ffffed1015d013ca R11: 0000000000000003 R12: ffff888095fa41c0 R13: ffffe8ffffc14a08 R14: 0000000000000000 R15: ffff8880ae83a5c8 add_event_to_ctx kernel/events/core.c:2393 [inline] __perf_install_in_context+0x4b5/0x960 kernel/events/core.c:2544 remote_function kernel/events/core.c:86 [inline] remote_function+0x129/0x1a0 kernel/events/core.c:66 flush_smp_call_function_queue+0x147/0x4f0 kernel/smp.c:244 generic_smp_call_function_single_interrupt+0x13/0x2b kernel/smp.c:193 smp_call_function_single_interrupt+0x9d/0x450 arch/x86/kernel/smp.c:294 call_function_single_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:828 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:102 [inline] RIP: 0010:__local_bh_enable_ip+0x18e/0x270 kernel/softirq.c:197 Code: 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 df 00 00 00 48 83 3d 9f f9 6d 07 00 0f 84 8f 00 00 00 fb 66 0f 1f 44 00 00 <65> 8b 05 13 83 bd 7e 85 c0 74 7f 5b 41 5c 41 5d 5d c3 80 3d 00 4e RSP: 0018:ffff8880a8257c20 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff04 RAX: 1ffffffff1164e80 RBX: 0000000000000201 RCX: 1ffff110150491c9 RDX: dffffc0000000000 RSI: ffff8880a8248e28 RDI: ffff8880a8248dfc RBP: ffff8880a8257c38 R08: ffff8880a8248580 R09: ffff8880a8248e48 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff87005545 R13: ffff8880a8248580 R14: ffffffff87005fe0 R15: 0000000000000058 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0x31/0x40 kernel/locking/spinlock.c:207 spin_unlock_bh include/linux/spinlock.h:383 [inline] batadv_nc_purge_paths+0x265/0x370 net/batman-adv/network-coding.c:470 batadv_nc_worker+0x2cf/0x760 net/batman-adv/network-coding.c:721 process_one_work+0x989/0x1790 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x354/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Kernel Offset: disabled Rebooting in 86400 seconds..