syzbot


WARNING in tracepoint_probe_register_prio (2)

Status: fixed on 2018/05/16 09:57
Subsystems: trace
[Documentation on labels]
Reported-by: syzbot+9c0d616860575a73166a@syzkaller.appspotmail.com
Fix commit: d66a270be331 tracepoint: Do not warn on ENOMEM
First crash: 2476d, last: 2411d
Discussions (8)
Title Replies (including bot) Last reply
[PATCH 3.16 000/366] 3.16.60-rc1 review 370 (370) 2019/03/29 15:47
[PATCH 4.4 00/56] 4.4.132-stable review 68 (68) 2018/07/05 16:20
[PATCH 4.16 00/52] 4.16.8-stable review 60 (60) 2018/05/09 07:32
[PATCH 4.14 00/43] 4.14.40-stable review 52 (52) 2018/05/09 07:32
[PATCH 4.9 00/32] 4.9.99-stable review 37 (37) 2018/05/08 23:56
[PATCH 7/7] tracepoint: Do not warn on ENOMEM 1 (1) 2018/05/02 20:00
[PATCH] Fix: tracepoint: do not warn on ENOMEM 1 (1) 2018/03/15 12:44
WARNING in tracepoint_probe_register_prio (2) 7 (8) 2018/03/15 12:26
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in tracepoint_probe_register_prio 6 1884d 2020d 0/1 auto-closed as invalid on 2020/02/22 11:16
upstream WARNING in tracepoint_probe_register_prio block trace C 830 2476d 2612d 4/28 fixed on 2018/03/12 10:10
upstream WARNING in tracepoint_probe_register_prio (3) trace syz done 979 1771d 2409d 15/28 fixed on 2020/02/18 14:31
upstream WARNING in tracepoint_probe_register_prio (4) bpf C done unreliable 542 1259d 1762d 0/28 auto-obsoleted due to no activity on 2022/09/28 15:12
linux-4.14 WARNING in tracepoint_probe_register_prio (2) 3 1616d 1703d 0/1 auto-closed as invalid on 2020/11/16 10:46
linux-4.19 WARNING in tracepoint_probe_register_prio 39 1643d 2071d 0/1 auto-closed as invalid on 2020/10/20 00:42

Sample crash report:
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441dd9
RDX: 00000000ffffffff RSI: 0000000000000000 RDI: 0000000020348f88
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000032
R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000004
R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000
WARNING: CPU: 0 PID: 4185 at kernel/tracepoint.c:210 tracepoint_add_func kernel/tracepoint.c:210 [inline]
WARNING: CPU: 0 PID: 4185 at kernel/tracepoint.c:210 tracepoint_probe_register_prio+0x397/0x9a0 kernel/tracepoint.c:282
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 4185 Comm: syzkaller994063 Not tainted 4.16.0-rc4+ #28
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x194/0x24d lib/dump_stack.c:53
 panic+0x1e4/0x41c kernel/panic.c:183
 __warn+0x1dc/0x200 kernel/panic.c:547
 report_bug+0x211/0x2d0 lib/bug.c:184
 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178
 fixup_bug arch/x86/kernel/traps.c:247 [inline]
 do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:986
RIP: 0010:tracepoint_add_func kernel/tracepoint.c:210 [inline]
RIP: 0010:tracepoint_probe_register_prio+0x397/0x9a0 kernel/tracepoint.c:282
RSP: 0018:ffff8801bbc87468 EFLAGS: 00010293
RAX: ffff8801b5a3c680 RBX: 00000000fffffff4 RCX: ffffffff81735e67
RDX: 0000000000000000 RSI: ffffffff86f42a00 RDI: 0000000000000286
RBP: ffff8801bbc87570 R08: 1ffff10037790de1 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8801bbc87548
 tracepoint_probe_register+0x2a/0x40 kernel/tracepoint.c:303
 trace_event_reg+0x167/0x320 kernel/trace/trace_events.c:305
 perf_trace_event_reg kernel/trace/trace_event_perf.c:122 [inline]
 perf_trace_event_init kernel/trace/trace_event_perf.c:197 [inline]
 perf_trace_init+0x4ef/0xab0 kernel/trace/trace_event_perf.c:221
 perf_tp_event_init+0x7d/0xf0 kernel/events/core.c:7979
 perf_try_init_event+0xc9/0x2a0 kernel/events/core.c:9240
 perf_init_event kernel/events/core.c:9278 [inline]
 perf_event_alloc+0x1cc6/0x2b00 kernel/events/core.c:9542
 SYSC_perf_event_open+0x84e/0x2e00 kernel/events/core.c:9997
 SyS_perf_event_open+0x39/0x50 kernel/events/core.c:9883
 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x441dd9
RSP: 002b:00007ffcca452388 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441dd9
RDX: 00000000ffffffff RSI: 0000000000000000 RDI: 0000000020348f88
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000032
R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000004
R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (849):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/03/12 10:47 bpf-next 6d8cb045cde6 f505ca4b .config console log report syz C ci-upstream-bpf-next-kasan-gce
2018/05/12 14:59 upstream f0ab773f5c96 e726f42b .config console log report ci-upstream-kasan-gce-root
2018/05/03 09:49 upstream f4ef6a438cee 9ce14f4b .config console log report ci-upstream-kasan-gce-root
2018/05/02 22:18 upstream 2d618bdf7163 d5b114b4 .config console log report ci-upstream-kasan-gce-root
2018/05/02 18:00 upstream 2d618bdf7163 d5b114b4 .config console log report ci-upstream-kasan-gce-root
2018/05/02 07:13 upstream f2125992e7cb d5b114b4 .config console log report ci-upstream-kasan-gce-root
2018/05/01 15:50 upstream fff75eb2a08c d5b114b4 .config console log report ci-upstream-kasan-gce
2018/05/01 12:07 upstream fff75eb2a08c d5b114b4 .config console log report ci-upstream-kasan-gce
2018/04/30 19:57 upstream 6da6c0db5316 d5b114b4 .config console log report ci-upstream-kasan-gce
2018/04/30 11:34 upstream 6da6c0db5316 06db3cec .config console log report ci-upstream-kasan-gce
2018/05/02 20:58 upstream 2d618bdf7163 d5b114b4 .config console log report ci-upstream-kasan-gce-386
2018/05/02 11:43 upstream f2125992e7cb d5b114b4 .config console log report ci-upstream-kasan-gce-386
2018/05/01 07:36 upstream 8188fc8bef8c d5b114b4 .config console log report ci-upstream-kasan-gce-386
2018/05/15 21:43 bpf-next c5c7d7f3c451 68ce85f1 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/15 09:29 bpf-next f2467c2dbc01 661fd7b9 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/10 02:14 bpf-next ea7e3435297c 12c7428a .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/08 04:31 bpf-next e94fa1d93117 045bbd4a .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/07 16:27 bpf-next e94fa1d93117 9e0846e8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/06 22:21 bpf-next e94fa1d93117 a211da1a .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/06 12:55 bpf-next e94fa1d93117 6c18ddb0 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/06 10:32 bpf-next e94fa1d93117 6c18ddb0 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/05 22:19 bpf-next e94fa1d93117 78b251cb .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/05 02:51 bpf-next e94fa1d93117 9ce14f4b .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/04 22:40 bpf-next e94fa1d93117 9ce14f4b .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/04 14:48 bpf-next 5234ccf2be0e 9ce14f4b .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/04 09:03 bpf-next 5234ccf2be0e 9ce14f4b .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/03 20:45 bpf-next 03f5781be2c7 9ce14f4b .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/03 04:20 bpf-next 6f96674dbd8c d5b114b4 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/02 15:01 bpf-next a2c7a98301d9 d5b114b4 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/01 14:16 bpf-next c0dd967818a2 d5b114b4 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/30 22:48 bpf-next c0dd967818a2 d5b114b4 .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/12 10:16 bpf-next 6d8cb045cde6 f505ca4b .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/16 04:58 https://github.com/google/kmsan.git master 06b2df0593a8 68ce85f1 .config console log report ci-upstream-kmsan-gce
2018/05/15 18:22 https://github.com/google/kmsan.git master 1df165c8d2d6 661fd7b9 .config console log report ci-upstream-kmsan-gce
2018/05/14 07:57 https://github.com/google/kmsan.git master 9bad779decc0 481f030c .config console log report ci-upstream-kmsan-gce
2018/05/14 04:28 https://github.com/google/kmsan.git master 9bad779decc0 481f030c .config console log report ci-upstream-kmsan-gce
2018/05/13 06:37 https://github.com/google/kmsan.git master 74ee2200b89f e726f42b .config console log report ci-upstream-kmsan-gce
2018/05/12 02:20 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 01:19 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/09 15:07 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/09 09:59 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/08 17:43 https://github.com/google/kmsan.git master d2d741e5d189 b88872ba .config console log report ci-upstream-kmsan-gce
2018/05/08 01:59 https://github.com/google/kmsan.git master d2d741e5d189 9e0846e8 .config console log report ci-upstream-kmsan-gce
2018/05/08 00:31 https://github.com/google/kmsan.git master d2d741e5d189 9e0846e8 .config console log report ci-upstream-kmsan-gce
2018/05/07 21:12 https://github.com/google/kmsan.git master d2d741e5d189 9e0846e8 .config console log report ci-upstream-kmsan-gce
2018/05/07 05:34 https://github.com/google/kmsan.git master d2d741e5d189 a211da1a .config console log report ci-upstream-kmsan-gce
2018/05/06 05:36 https://github.com/google/kmsan.git master d2d741e5d189 78b251cb .config console log report ci-upstream-kmsan-gce
2018/05/06 01:02 https://github.com/google/kmsan.git master d2d741e5d189 78b251cb .config console log report ci-upstream-kmsan-gce
2018/05/05 12:10 https://github.com/google/kmsan.git master d2d741e5d189 6a0382b5 .config console log report ci-upstream-kmsan-gce
2018/05/01 21:32 https://github.com/google/kmsan.git master d2d741e5d189 d5b114b4 .config console log report ci-upstream-kmsan-gce
2018/04/30 17:04 https://github.com/google/kmsan.git master d2d741e5d189 06db3cec .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.