syzbot


WARNING in perf_group_attach

Status: upstream: reported C repro on 2018/12/28 12:51
Reported-by: syzbot+23fe48cbe532abffa52e@syzkaller.appspotmail.com
First crash: 1470d, last: 1128d

Cause bisection: introduced by (bisect log) :
commit 33ea4b24277b06dbc55d7f5772a46f029600255e
Author: Song Liu <songliubraving@fb.com>
Date: Wed Dec 6 22:45:16 2017 +0000

  perf/core: Implement the 'perf_uprobe' PMU

Crash: WARNING in perf_group_attach (log)
Repro: C syz .config

Fix bisection: fixed by (bisect log) :
commit 311633b604063a8a5d3fbc74d0565b42df721f68
Author: Cong Wang <xiyou.wangcong@gmail.com>
Date: Wed Jul 10 06:24:54 2019 +0000

  hsr: switch ->dellink() to ->ndo_uninit()

similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in perf_group_attach C error 49 322d 1217d 0/1 upstream: reported C repro on 2019/04/11 05:14

Sample crash report:
WARNING: CPU: 0 PID: 10161 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: 10161 Comm: syz-executor141 Not tainted 5.2.0-rc7 #39
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __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 c3 39 eb ff <0f> 0b e9 55 fd ff ff 48 c7 c7 74 c6 80 89 e8 70 e7 23 00 e9 5b fc
RSP: 0018:ffff8880ae809ea8 EFLAGS: 00010006
RAX: ffff88808e018180 RBX: ffff888080a6e9c0 RCX: ffffffff81858658
RDX: 0000000000010000 RSI: ffffffff8185897d RDI: ffff888080a6ebd8
RBP: ffff8880ae809ed8 R08: ffff88808e018180 R09: ffffffff89bec008
R10: ffffffff89bec010 R11: 0000000000000001 R12: ffff88808e394080
R13: ffffe8ffffc17208 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
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:767 [inline]
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x95/0xe0 kernel/locking/spinlock.c:191
Code: 48 c7 c0 30 74 b2 88 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 39 48 83 3d 82 17 95 01 00 74 24 48 89 df 57 9d <0f> 1f 44 00 00 bf 01 00 00 00 e8 2c 31 30 fa 65 8b 05 bd a0 e4 78
RSP: 0018:ffff88809ad579c8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff04
RAX: 1ffffffff1164e86 RBX: 0000000000000286 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000006 RDI: 0000000000000286
RBP: ffff88809ad579d8 R08: ffff88808e018180 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888092df6840
R13: 0000000000000001 R14: ffff8880ae9354d8 R15: ffff8880ae920660
 try_to_wake_up+0xc8/0x13f0 kernel/sched/core.c:2096
 wake_up_process kernel/sched/core.c:2114 [inline]
 wake_up_q+0x99/0xf0 kernel/sched/core.c:484
 futex_wake+0x429/0x4d0 kernel/futex.c:1607
 do_futex+0x358/0x1d90 kernel/futex.c:3642
 __do_sys_futex kernel/futex.c:3698 [inline]
 __se_sys_futex kernel/futex.c:3666 [inline]
 __x64_sys_futex+0x3f7/0x590 kernel/futex.c:3666
 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x446a49
Code: e8 0c e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 5b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f4da3215db8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 0000000000446a49
RDX: 0000000000446a49 RSI: 0000000000000081 RDI: 00000000006dbc2c
RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c
R13: 00007ffe72b780df R14: 00007f4da32169c0 R15: 000000000000002d
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (9934):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2019/07/01 22:20 upstream 6fbc7275c7a9 907bf746 .config log report syz C
ci-upstream-kasan-gce-root 2019/07/01 21:09 upstream 6fbc7275c7a9 907bf746 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/06/20 10:47 upstream abf02e2964b3 34bf9440 .config log report syz C
ci-upstream-kasan-gce-root 2019/06/20 09:14 upstream abf02e2964b3 34bf9440 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/04/12 14:28 upstream 2d06b235815e 8916f5e1 .config log report syz C
ci-upstream-kasan-gce-root 2019/04/12 14:28 upstream 2d06b235815e 8916f5e1 .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/04/12 14:27 upstream 2d06b235815e 8916f5e1 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/04/11 13:21 upstream 582549e3fbe1 e955ac50 .config log report syz C
ci-upstream-kasan-gce-root 2019/04/11 04:45 upstream 771acc7e4a6e e955ac50 .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/04/11 04:39 upstream 771acc7e4a6e e955ac50 .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/03/19 22:35 upstream b7a42146dca3 e4549234 .config log report syz C
ci-upstream-kasan-gce-root 2019/03/19 22:34 upstream b7a42146dca3 e4549234 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/03/19 22:06 upstream b7a42146dca3 e4549234 .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/03/11 10:39 upstream 12ad143e1b80 12365b99 .config log report syz C
ci-upstream-kasan-gce-root 2019/03/11 07:17 upstream 065b6c4c913d 12365b99 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/03/11 05:47 upstream 065b6c4c913d 12365b99 .config log report syz C
ci-upstream-kasan-gce-root 2019/02/17 06:05 upstream 64c0133eb88a f42dee6d .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/02/16 02:26 upstream 5ded5871030e f42dee6d .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/02/16 02:01 upstream 5ded5871030e f42dee6d .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/01/16 23:19 upstream 47bfa6d9dc8c d538790b .config log report syz C
ci-upstream-kasan-gce-root 2019/01/16 22:39 upstream 47bfa6d9dc8c d538790b .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/01/16 22:12 upstream 47bfa6d9dc8c d538790b .config log report syz C
ci-upstream-kasan-gce-smack-root 2018/12/04 01:13 upstream 0072a0c14d5b 03f94a45 .config log report syz C
ci-upstream-kasan-gce-root 2018/12/03 17:21 upstream 2595646791c3 819002b0 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2018/12/03 15:48 upstream 2595646791c3 819002b0 .config log report syz C
ci-upstream-bpf-kasan-gce 2019/07/01 20:12 bpf 0472301a28f6 907bf746 .config log report syz C
ci-upstream-bpf-kasan-gce 2019/06/20 08:40 bpf 56f0f84e69c7 34bf9440 .config log report syz C
ci-upstream-bpf-kasan-gce 2019/04/11 04:38 bpf bbd669a868bb e955ac50 .config log report syz C
ci-upstream-bpf-kasan-gce 2019/03/11 05:32 bpf 71b91a506bb0 12365b99 .config log report syz C
ci-upstream-bpf-kasan-gce 2019/01/16 22:34 bpf 6e8ccb4f624a d538790b .config log report syz C
ci-upstream-bpf-kasan-gce 2018/12/03 16:03 bpf dcb40590e69e 819002b0 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2019/07/01 20:13 bpf-next 8daed7677a1d 907bf746 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2019/06/20 08:43 bpf-next dca73a65a683 34bf9440 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2019/04/11 04:44 bpf-next 50bd645b3a21 e955ac50 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2019/03/11 05:32 bpf-next d9862cfbe209 12365b99 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2018/12/03 14:15 bpf-next 5482e9a93c83 819002b0 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2018/08/01 20:26 bpf-next fbeb1603bf4e 0a7cf4ec .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/04/12 14:35 linux-next bcb67f0fbce9 8916f5e1 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/04/11 04:38 linux-next 87b81df1a63d e955ac50 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/03/19 22:35 linux-next 75e6a83b189c e4549234 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/03/12 07:42 linux-next cf08baa29613 12365b99 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/02/16 00:48 linux-next 7a92eb7cc1dc f42dee6d .config log report syz C
ci-upstream-bpf-next-kasan-gce 2019/02/16 01:03 bpf-next 789f6bab849e f42dee6d .config log report syz
ci-upstream-kasan-gce-selinux-root 2019/07/02 14:44 upstream 6fbc7275c7a9 55565fa0 .config log report
ci-upstream-kasan-gce-selinux-root 2019/07/02 09:18 upstream 6fbc7275c7a9 cccc4302 .config log report
ci-upstream-kasan-gce-selinux-root 2019/07/01 08:52 upstream 6fbc7275c7a9 699d6448 .config log report
ci-upstream-kasan-gce-root 2019/06/30 12:17 upstream 728254541ebc 7509bf36 .config log report
ci-upstream-kasan-gce-selinux-root 2019/06/29 00:24 upstream 556e2f6020bf 7509bf36 .config log report
ci-upstream-kasan-gce-smack-root 2019/06/09 21:28 upstream d1fdb6d8f6a4 0159583c .config log report
ci-upstream-kasan-gce-root 2018/08/01 17:39 upstream c1d61e7fe376 1477993e .config log report
ci-upstream-bpf-kasan-gce 2019/07/09 11:08 bpf 9d1bc24b52fb f62e1e85 .config log report
ci-upstream-bpf-kasan-gce 2019/07/09 06:45 bpf 9d1bc24b52fb f62e1e85 .config log report
ci-upstream-bpf-kasan-gce 2019/07/09 04:36 bpf 9d1bc24b52fb f62e1e85 .config log report
ci-upstream-bpf-kasan-gce 2019/07/08 22:02 bpf 9d1bc24b52fb f62e1e85 .config log report
ci-upstream-bpf-kasan-gce 2019/07/02 12:09 bpf 0472301a28f6 cccc4302 .config log report
ci-upstream-bpf-kasan-gce 2019/07/01 06:01 bpf 0472301a28f6 699d6448 .config log report
ci-upstream-bpf-kasan-gce 2019/06/30 20:01 bpf 0472301a28f6 699d6448 .config log report
ci-upstream-bpf-kasan-gce 2019/06/30 13:35 bpf 0472301a28f6 7509bf36 .config log report
ci-upstream-bpf-kasan-gce 2019/06/30 10:32 bpf 0472301a28f6 7509bf36 .config log report
ci-upstream-bpf-kasan-gce 2019/06/29 22:50 bpf 0472301a28f6 7509bf36 .config log report
ci-upstream-bpf-kasan-gce 2019/06/29 18:13 bpf 0472301a28f6 7509bf36 .config log report
ci-upstream-bpf-kasan-gce 2019/06/29 14:26 bpf 0472301a28f6 7509bf36 .config log report
ci-upstream-bpf-kasan-gce 2019/06/29 09:23 bpf 0472301a28f6 7509bf36 .config log report
ci-upstream-bpf-kasan-gce 2019/06/29 07:36 bpf 0472301a28f6 7509bf36 .config log report
ci-upstream-bpf-kasan-gce 2019/06/28 20:09 bpf 75672dda27bd 7509bf36 .config log report
ci-upstream-bpf-kasan-gce 2019/06/28 10:27 bpf 75672dda27bd 7509bf36 .config log report
ci-upstream-bpf-kasan-gce 2019/06/28 05:46 bpf 75672dda27bd 7509bf36 .config log report
ci-upstream-bpf-kasan-gce 2019/06/27 17:19 bpf 75672dda27bd 7509bf36 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/09 14:58 bpf-next b14a260e33dd f62e1e85 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/09 03:26 bpf-next d2850ce0bdd7 f62e1e85 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/09 01:24 bpf-next d2850ce0bdd7 f62e1e85 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/08 14:15 bpf-next c3ec002e633e f62e1e85 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/08 03:54 bpf-next c3ec002e633e f62e1e85 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/07 21:09 bpf-next c3ec002e633e f62e1e85 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/07 01:29 bpf-next c3ec002e633e f62e1e85 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/04 20:47 bpf-next e5a3e259ef23 55565fa0 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/04 09:23 bpf-next e5a3e259ef23 55565fa0 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/03 23:21 bpf-next e5a3e259ef23 55565fa0 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/02 23:46 bpf-next 8daed7677a1d 55565fa0 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/01 11:44 bpf-next 8daed7677a1d 699d6448 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/01 07:25 bpf-next 8daed7677a1d 699d6448 .config log report
ci-upstream-bpf-next-kasan-gce 2019/07/01 01:39 bpf-next 8daed7677a1d 699d6448 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/30 02:15 bpf-next 8daed7677a1d 7509bf36 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/29 19:24 bpf-next 8daed7677a1d 7509bf36 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/29 10:39 bpf-next 8daed7677a1d 7509bf36 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/29 06:46 bpf-next 8daed7677a1d 7509bf36 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/29 02:25 bpf-next 2ec1899e99b4 7509bf36 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/28 18:05 bpf-next 2ec1899e99b4 7509bf36 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/28 16:39 bpf-next 2ec1899e99b4 7509bf36 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/28 11:34 bpf-next 2ec1899e99b4 7509bf36 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/06/20 14:59 linux-next dc636f5d78de 34bf9440 .config log report