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: 1516d, last: 1174d

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 369d 1264d 0/1 upstream: reported C repro on 2019/04/11 05:14
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/08 02:27 19m upstream OK log
2022/09/07 22:27 18m upstream OK log
2022/09/07 19:27 18m upstream OK log
2022/09/07 16:27 17m upstream OK log
2022/09/07 10:27 8m upstream error
2022/09/07 06:27 18m upstream OK log
2022/09/07 02:27 18m upstream OK log
2022/09/06 22:27 17m upstream OK log
2022/09/06 17:27 18m upstream OK log
2022/09/06 10:27 20m upstream OK log
2022/09/06 06:27 19m upstream OK log
2022/09/06 02:27 19m upstream OK log
2022/09/05 21:27 19m upstream OK log
2022/09/05 17:27 19m upstream OK log
2022/09/05 14:27 19m upstream OK log
2022/09/05 14:27 19m upstream OK log
2022/09/05 10:27 18m upstream OK log
2022/09/05 09:27 19m upstream OK log
2022/09/05 06:27 18m upstream OK log
2022/09/05 02:27 18m upstream OK log
2022/09/04 22:27 18m upstream OK log
2022/09/04 17:27 18m upstream OK log
2022/09/04 16:27 18m linux-next OK log
2022/09/04 14:27 19m upstream OK log
2022/09/04 13:27 18m linux-next OK log
2022/09/04 10:27 16m upstream OK log
2022/09/04 09:27 18m linux-next OK log
2022/09/04 06:27 18m upstream OK log
2022/09/04 05:27 18m linux-next OK log
2022/09/04 01:27 18m linux-next OK log
2022/09/01 05:27 13m bpf-next OK log
2022/09/01 01:27 15m bpf-next OK log
2022/08/31 23:27 17m bpf OK log
2022/08/31 21:27 17m bpf-next OK log
2022/08/31 19:27 16m bpf OK log
2022/08/31 16:27 16m bpf-next OK log
2022/08/31 15:27 16m bpf OK log
2022/08/31 12:27 13m bpf-next error
2022/08/31 12:27 15m bpf OK log
2022/08/31 08:27 16m bpf-next OK log
2022/08/31 08:27 16m bpf OK log
2022/08/31 05:27 13m bpf-next error
2022/08/31 04:27 14m bpf OK log

Sample crash report:
WARNING: CPU: 0 PID: 10297 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: 10297 Comm: syz-executor909 Not tainted 5.1.0-rc1+ #29
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/0x65c kernel/panic.c:214
 __warn.cold+0x20/0x45 kernel/panic.c:571
 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:973
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 23 ba eb ff <0f> 0b e9 55 fd ff ff 48 c7 c7 58 5a 5e 89 e8 20 b6 23 00 e9 5b fc
RSP: 0018:ffff8880ae807ea8 EFLAGS: 00010006
RAX: ffff888099fe4480 RBX: ffff888088cde540 RCX: ffffffff8184b248
RDX: 0000000000010000 RSI: ffffffff8184b56d RDI: ffff888088cde758
RBP: ffff8880ae807ed8 R08: ffff888099fe4480 R09: ffffffff899ba008
R10: ffffffff899ba010 R11: 0000000000000001 R12: ffff88809aec04c0
R13: ffffe8ffffc13780 R14: 0000000000000000 R15: ffff8880ae832048
 add_event_to_ctx kernel/events/core.c:2392 [inline]
 __perf_install_in_context+0x4b5/0x960 kernel/events/core.c:2533
 remote_function kernel/events/core.c:86 [inline]
 remote_function+0x12b/0x1a0 kernel/events/core.c:66
 flush_smp_call_function_queue+0x14a/0x500 kernel/smp.c:243
 generic_smp_call_function_single_interrupt+0x13/0x2b kernel/smp.c:192
 smp_call_function_single_interrupt+0xa3/0x460 arch/x86/kernel/smp.c:296
 call_function_single_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:767 [inline]
RIP: 0010:generic_exec_single+0x329/0x4b0 kernel/smp.c:154
Code: 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 68 01 00 00 48 83 3d 37 b0 2c 07 00 0f 84 e0 00 00 00 e8 0c 89 0a 00 48 89 df 57 9d <0f> 1f 44 00 00 45 31 ed e9 37 fe ff ff e8 f5 88 0a 00 0f 0b e9 34
RSP: 0018:ffff8880a0257b60 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff04
RAX: ffff888099fe4480 RBX: 0000000000000293 RCX: 1ffff110133fc9a4
RDX: 0000000000000000 RSI: ffffffff8165e684 RDI: 0000000000000293
RBP: ffff8880a0257b90 R08: ffff888099fe4480 R09: ffff888099fe4d20
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000200
R13: ffff8880a0257be0 R14: ffff8880a0257cc8 R15: ffffffff8184c970
 smp_call_function_single+0x12d/0x420 kernel/smp.c:299
 cpu_function_call kernel/events/core.c:140 [inline]
 perf_install_in_context+0x369/0x3d0 kernel/events/core.c:2569
 __do_sys_perf_event_open+0x1858/0x24e0 kernel/events/core.c:11059
 __se_sys_perf_event_open kernel/events/core.c:10688 [inline]
 __x64_sys_perf_event_open+0xbe/0x150 kernel/events/core.c:10688
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x446a69
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:00007f8c8ea5fdb8 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 0000000000446a69
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 00000000200000c0
RBP: 00000000006dbc30 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 00000000006dbc3c
R13: 00007fff964dff8f R14: 00007f8c8ea609c0 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-root 2019/03/19 22:34 upstream b7a42146dca3 e4549234 .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/04/11 04:44 bpf-next 50bd645b3a21 e955ac50 .config log report syz C
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-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/06/20 08:43 bpf-next dca73a65a683 34bf9440 .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
* Struck through repros no longer work on HEAD.