syzbot


WARNING in add_event_to_ctx

Status: public: reported C repro on 2019/09/05 03:08
Reported-by: syzbot+9d6e6325bf3a68bda76a@syzkaller.appspotmail.com
First crash: 1746d, last: 1666d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 WARNING in add_event_to_ctx C 13 1662d 1746d 0/3 public: reported C repro on 2019/09/05 03:44
upstream WARNING in add_event_to_ctx perf C done done 7 1810d 1822d 0/27 auto-obsoleted due to no activity on 2022/09/05 08:35

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2187 at kernel/events/core.c:1690 perf_group_attach kernel/events/core.c:1690 [inline]
WARNING: CPU: 0 PID: 2187 at kernel/events/core.c:1690 add_event_to_ctx+0x84a/0xa70 kernel/events/core.c:2291
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 2187 Comm: syz-executor820 Not tainted 4.14.141+ #0
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0xca/0x134 lib/dump_stack.c:53
 panic+0x1ea/0x3d3 kernel/panic.c:182
 __warn.cold+0x2f/0x3a kernel/panic.c:546
 report_bug+0x20a/0x248 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x1bf/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x18/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:perf_group_attach kernel/events/core.c:1690 [inline]
RIP: 0010:add_event_to_ctx+0x84a/0xa70 kernel/events/core.c:2291
RSP: 0018:ffff8881c43d7ae0 EFLAGS: 00010097
RAX: ffff8881ce0b8000 RBX: ffff8881ce074c80 RCX: 1ffff11039c35771
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff8881ce074e88
RBP: ffff8881ce1aa200 R08: ffff88821ffff01c R09: ffff88821ffff008
R10: ffff88821ffff017 R11: ffff88821ffff010 R12: ffff8881db831fc0
R13: ffff8881ce1aa28c R14: ffff8881db82e8f0 R15: ffff8881ce1abb80
 __perf_install_in_context+0x241/0x2f0 kernel/events/core.c:2438
 remote_function kernel/events/core.c:87 [inline]
 remote_function+0x110/0x190 kernel/events/core.c:67
 generic_exec_single+0x1b0/0x2e0 kernel/smp.c:153
 smp_call_function_single+0x103/0x340 kernel/smp.c:299
 cpu_function_call kernel/events/core.c:141 [inline]
 perf_install_in_context+0x2c6/0x320 kernel/events/core.c:2474
 SYSC_perf_event_open kernel/events/core.c:10366 [inline]
 SyS_perf_event_open+0x19bb/0x2560 kernel/events/core.c:9988
 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x449699
RSP: 002b:00007f5ff2291ce8 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00000000006e49f8 RCX: 0000000000449699
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000020000000
RBP: 00000000006e49f0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000246 R12: 00000000006e49fc
R13: 00007ffe704e8baf R14: 00007f5ff22929c0 R15: 00000000006e49fc
Kernel Offset: 0x1ce00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Rebooting in 86400 seconds..

Crashes (30):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/05 03:16 android-4.14 38733badc0e6 040fda58 .config console log report syz C ci-android-414-kasan-gce-root
2019/09/05 02:54 android-4.14 38733badc0e6 040fda58 .config console log report syz C ci-android-414-kasan-gce-root
2019/11/24 05:33 android-4.14 437a2a739c5f 598ca6c8 .config console log report ci-android-414-kasan-gce-root
2019/11/24 01:28 android-4.14 437a2a739c5f 598ca6c8 .config console log report ci-android-414-kasan-gce-root
2019/11/15 09:38 android-4.14 460dc7c31cef 79248ee8 .config console log report ci-android-414-kasan-gce-root
2019/11/10 12:48 android-4.14 81144e705f48 dc438b91 .config console log report ci-android-414-kasan-gce-root
2019/11/05 21:41 android-4.14 6409e7e01d11 0f3ec414 .config console log report ci-android-414-kasan-gce-root
2019/11/04 12:55 android-4.14 6409e7e01d11 18e12644 .config console log report ci-android-414-kasan-gce-root
2019/11/04 01:13 android-4.14 6409e7e01d11 b35fad31 .config console log report ci-android-414-kasan-gce-root
2019/11/01 09:15 android-4.14 6409e7e01d11 a41ca8fa .config console log report ci-android-414-kasan-gce-root
2019/11/01 09:13 android-4.14 6409e7e01d11 a41ca8fa .config console log report ci-android-414-kasan-gce-root
2019/10/18 19:52 android-4.14 234de92896af 8c88c9c1 .config console log report ci-android-414-kasan-gce-root
2019/09/18 10:10 android-4.14 ca30356b2a26 03e0d245 .config console log report ci-android-414-kasan-gce-root
2019/09/16 08:09 android-4.14 f02af7b02c26 32d59357 .config console log report ci-android-414-kasan-gce-root
2019/09/11 21:46 android-4.14 f02af7b02c26 f4e53c10 .config console log report ci-android-414-kasan-gce-root
2019/09/09 06:35 android-4.14 4eccd8013349 a60cb4cd .config console log report ci-android-414-kasan-gce-root
2019/09/08 15:58 android-4.14 4eccd8013349 a60cb4cd .config console log report ci-android-414-kasan-gce-root
2019/09/08 14:42 android-4.14 4eccd8013349 a60cb4cd .config console log report ci-android-414-kasan-gce-root
2019/09/08 08:35 android-4.14 4eccd8013349 a60cb4cd .config console log report ci-android-414-kasan-gce-root
2019/09/08 06:00 android-4.14 4eccd8013349 a60cb4cd .config console log report ci-android-414-kasan-gce-root
2019/09/08 01:14 android-4.14 4eccd8013349 a60cb4cd .config console log report ci-android-414-kasan-gce-root
2019/09/07 18:55 android-4.14 4eccd8013349 a60cb4cd .config console log report ci-android-414-kasan-gce-root
2019/09/07 02:27 android-4.14 4eccd8013349 a60cb4cd .config console log report ci-android-414-kasan-gce-root
2019/09/07 01:10 android-4.14 4eccd8013349 a60cb4cd .config console log report ci-android-414-kasan-gce-root
2019/09/06 14:03 android-4.14 38733badc0e6 040fda58 .config console log report ci-android-414-kasan-gce-root
2019/09/06 00:33 android-4.14 38733badc0e6 040fda58 .config console log report ci-android-414-kasan-gce-root
2019/09/06 00:00 android-4.14 38733badc0e6 040fda58 .config console log report ci-android-414-kasan-gce-root
2019/09/05 22:58 android-4.14 38733badc0e6 040fda58 .config console log report ci-android-414-kasan-gce-root
2019/09/05 22:50 android-4.14 38733badc0e6 040fda58 .config console log report ci-android-414-kasan-gce-root
2019/09/05 02:07 android-4.14 38733badc0e6 040fda58 .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.