bisecting fixing commit since aec3002d07fd2564cd32e56f126fa6db14a168bb
building syzkaller on 907bf74686129436f81aa40336ee89f7cc01b0b4
testing commit aec3002d07fd2564cd32e56f126fa6db14a168bb with gcc (GCC) 8.1.0
kernel signature: 86a63270892c7070b285af197445054b7469f854b5910dea7f86e13d1059cf1b
all runs: crashed: WARNING in perf_group_attach
testing current HEAD fdc072324f3c66190a20f57490b4842a391d8233
testing commit fdc072324f3c66190a20f57490b4842a391d8233 with gcc (GCC) 8.1.0
kernel signature: c29adc023b93c03ef1b7bccf695c010e43b1bfd05c63bdbdd22b48cb1675f015
all runs: crashed: WARNING in perf_group_attach
revisions tested: 2, total time: 25m45.922370425s (build: 18m27.47541943s, test: 6m11.336655061s)
the crash still happens on HEAD
commit msg: Linux 4.19.120
crash: WARNING in perf_group_attach
IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready
IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready
8021q: adding VLAN 0 to HW filter on device batadv0
8021q: adding VLAN 0 to HW filter on device batadv0
WARNING: CPU: 0 PID: 6232 at kernel/events/core.c:1834 perf_group_attach+0x3b1/0x470 kernel/events/core.c:1826
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 6232 Comm: syz-executor.0 Not tainted 4.19.120-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
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:1037
RIP: 0010:perf_group_attach+0x3b1/0x470 kernel/events/core.c:1834
Code: ec 10 4c 39 e3 75 d7 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 4e 7d 1d 00 e9 c8 fc ff ff e8 44 7d 1d 00 e9 fe fc ff ff <0f> 0b e9 75 fd ff ff e8 53 7d 1d 00 eb c1 e8 4c 7d 1d 00 e9 6d fc
RSP: 0018:ffff8880aea07ec0 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffff888091c1f740 RCX: 1ffff1101244be42
RDX: 1ffff1101244be6b RSI: ffff8880aea313e0 RDI: ffff88809225f358
RBP: ffff8880aea07ef0 R08: ffffffff890a5018 R09: 0000000000000006
R10: fffffbfff1214a01 R11: 0000000000000001 R12: ffff88809225f140
R13: ffffe8ffffc141d0 R14: 0000000000000000 R15: ffff8880aea313c8
add_event_to_ctx kernel/events/core.c:2392 [inline]
__perf_install_in_context+0x3f6/0x860 kernel/events/core.c:2533
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:915
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x56/0x80 kernel/locking/spinlock.c:192
Code: 12 88 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 32 48 83 3d ab 89 91 01 00 74 1f fb 66 0f 1f 44 00 00 01 00 00 00 e8 00 32 c2 fa 65 8b 05 09 70 81 79 85 c0 74 05 5b
RSP: 0018:ffff888088d17b28 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff04
RAX: dffffc0000000000 RBX: ffff8880aea2c240 RCX: 0000000000000000
RDX: 1ffffffff10240eb RSI: 0000000000000001 RDI: ffffffff88120758
RBP: ffff888088d17b30 R08: ffffed1015d45849 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880aea2c240
R13: ffff888096daa4c0 R14: 0000000000000000 R15: ffff8880aea2c240
finish_lock_switch kernel/sched/core.c:2576 [inline]
finish_task_switch+0x14a/0x720 kernel/sched/core.c:2676
context_switch kernel/sched/core.c:2829 [inline]
__schedule+0x794/0x1c10 kernel/sched/core.c:3515
schedule+0x7f/0x1b0 kernel/sched/core.c:3559
freezable_schedule include/linux/freezer.h:172 [inline]
do_nanosleep+0x1f2/0x5d0 kernel/time/hrtimer.c:1691
hrtimer_nanosleep+0x1f7/0x4f0 kernel/time/hrtimer.c:1745
__do_sys_nanosleep kernel/time/hrtimer.c:1779 [inline]
__se_sys_nanosleep kernel/time/hrtimer.c:1766 [inline]
__x64_sys_nanosleep+0x166/0x1d0 kernel/time/hrtimer.c:1766
do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4579c0
Code: c0 5b 5d c3 66 0f 1f 44 00 00 8b 04 24 48 83 c4 18 5b 5d c3 66 0f 1f 44 00 00 83 3d 91 ed 61 00 00 75 14 b8 23 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 24 d3 fb ff c3 48 83 ec 08 e8 ea 46 00 00
RSP: 002b:00007ffc2d93c658 EFLAGS: 00000246 ORIG_RAX: 0000000000000023
RAX: ffffffffffffffda RBX: 000000000000ba95 RCX: 00000000004579c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffc2d93c660
RBP: 000000000000001a R08: 0000000000000001 R09: 0000000001faf940
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 00007ffc2d93c6b0 R14: 000000000000b98d R15: 00007ffc2d93c6c0
Kernel Offset: disabled
Rebooting in 86400 seconds..