syzbot


WARNING in add_event_to_ctx

Status: public: reported C repro on 2019/09/05 03:44
Reported-by: syzbot+4a4c2c6ac3f827342ffc@syzkaller.appspotmail.com
First crash: 1904d, last: 1820d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 WARNING in add_event_to_ctx C 30 1824d 1904d 0/1 public: reported C repro on 2019/09/05 03:08
upstream WARNING in add_event_to_ctx perf C done done 7 1969d 1981d 0/28 auto-obsoleted due to no activity on 2022/09/05 08:35

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2767 at kernel/events/core.c:1655 perf_group_attach kernel/events/core.c:1655 [inline]
WARNING: CPU: 0 PID: 2767 at kernel/events/core.c:1655 add_event_to_ctx+0x8f3/0xc30 kernel/events/core.c:2229
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 2767 Comm: syz-executor886 Not tainted 4.9.190+ #0
 ffff8801cc007958 ffffffff81b66c51 0000000000000000 ffffffff82a3b1c0
 00000000ffffffff 0000000000000000 0000000000000009 ffff8801cc007a38
 ffffffff813febaa 0000000041b58ab3 ffffffff82e32ab5 ffffffff813fe9d1
Call Trace:
 [<00000000c409f0de>] __dump_stack lib/dump_stack.c:15 [inline]
 [<00000000c409f0de>] dump_stack+0xc1/0x120 lib/dump_stack.c:51
 [<00000000b61c032c>] panic+0x1d9/0x3bd kernel/panic.c:180
 [<00000000e9ee9768>] __warn.cold+0x2f/0x2f kernel/panic.c:546
 [<00000000b9773e91>] warn_slowpath_null+0x2d/0x40 kernel/panic.c:589
 [<00000000a5978ba4>] perf_group_attach kernel/events/core.c:1655 [inline]
 [<00000000a5978ba4>] add_event_to_ctx+0x8f3/0xc30 kernel/events/core.c:2229
 [<000000003e94f5a7>] __perf_install_in_context+0x282/0x330 kernel/events/core.c:2320
 [<0000000066536bc4>] remote_function kernel/events/core.c:83 [inline]
 [<0000000066536bc4>] remote_function+0x11e/0x1a0 kernel/events/core.c:63
 [<0000000006dc2238>] generic_exec_single+0x1c4/0x320 kernel/smp.c:141
 [<00000000ddd1f2e0>] smp_call_function_single+0x10d/0x380 kernel/smp.c:285
 [<0000000006e0ac6f>] cpu_function_call kernel/events/core.c:137 [inline]
 [<0000000006e0ac6f>] perf_install_in_context+0x2f9/0x3a0 kernel/events/core.c:2356
 [<0000000081497dac>] SYSC_perf_event_open kernel/events/core.c:10033 [inline]
 [<0000000081497dac>] SyS_perf_event_open+0x1bd3/0x2720 kernel/events/core.c:9674
 [<00000000b9712412>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288
 [<0000000021aba336>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb
Shutting down cpus with NMI
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/05 02:43 https://android.googlesource.com/kernel/common android-4.9 d342ee64906f 040fda58 .config console log report syz C ci-android-49-kasan-gce-root
2019/09/05 03:11 https://android.googlesource.com/kernel/common android-4.9 d342ee64906f 040fda58 .config console log report syz ci-android-49-kasan-gce-root
2019/11/28 04:06 android-4.9 13ff5130ff6e 0d63f89c .config console log report ci-android-49-kasan-gce-root
2019/11/04 23:05 https://android.googlesource.com/kernel/common android-4.9 7fe05eede1c8 76630fc9 .config console log report ci-android-49-kasan-gce-root
2019/10/27 11:08 https://android.googlesource.com/kernel/common android-4.9 7fe05eede1c8 25bb509e .config console log report ci-android-49-kasan-gce-root
2019/10/19 13:56 https://android.googlesource.com/kernel/common android-4.9 7fe05eede1c8 8c88c9c1 .config console log report ci-android-49-kasan-gce-root
2019/09/29 21:13 https://android.googlesource.com/kernel/common android-4.9 7fe05eede1c8 c1ad5441 .config console log report ci-android-49-kasan-gce-root
2019/09/18 05:23 https://android.googlesource.com/kernel/common android-4.9 23f878903720 03e0d245 .config console log report ci-android-49-kasan-gce-root
2019/09/11 20:45 https://android.googlesource.com/kernel/common android-4.9 bb1c7f3a1ca8 f4e53c10 .config console log report ci-android-49-kasan-gce-root
2019/09/09 14:51 https://android.googlesource.com/kernel/common android-4.9 9ca86082667c a60cb4cd .config console log report ci-android-49-kasan-gce-root
2019/09/07 07:55 https://android.googlesource.com/kernel/common android-4.9 9ca86082667c a60cb4cd .config console log report ci-android-49-kasan-gce-root
2019/09/07 04:06 https://android.googlesource.com/kernel/common android-4.9 9ca86082667c a60cb4cd .config console log report ci-android-49-kasan-gce-root
2019/09/06 07:52 https://android.googlesource.com/kernel/common android-4.9 d342ee64906f 040fda58 .config console log report ci-android-49-kasan-gce-root
* Struck through repros no longer work on HEAD.