syzbot


WARNING in tracepoint_add_func

Status: auto-closed as invalid on 2020/11/29 17:55
Reported-by: syzbot+46743247497e76c559bf@syzkaller.appspotmail.com
First crash: 1530d, last: 1530d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in tracepoint_add_func bpf trace C done 20635 1180d 1564d 20/28 fixed on 2021/11/10 00:50
linux-4.19 WARNING in tracepoint_add_func C 237 596d 1534d 0/1 upstream: reported C repro on 2020/07/28 19:37
linux-4.14 WARNING in tracepoint_add_func (2) C 122 583d 1333d 0/1 upstream: reported C repro on 2021/02/14 19:49

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7528 at kernel/tracepoint.c:210 tracepoint_add_func+0x21a/0x750 kernel/tracepoint.c:210
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 7528 Comm: syz-executor.4 Not tainted 4.14.191-syzkaller #0
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+0x1b2/0x283 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x4b kernel/panic.c:547
 report_bug+0x208/0x249 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+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:tracepoint_add_func+0x21a/0x750 kernel/tracepoint.c:210
RSP: 0018:ffff888049a77b48 EFLAGS: 00010216
RAX: 0000000000040000 RBX: ffffffff87d65380 RCX: ffffc9000bf8c000
RDX: 00000000000013f4 RSI: ffffffff815cb2ca RDI: ffff8880921574b0
RBP: ffffffff813e0080 R08: 0000000000000000 R09: 00000000000406f6
R10: ffff888058356ec0 R11: ffff8880583565c0 R12: 00000000ffffffef
R13: 00000000ffffffff R14: ffff888092157490 R15: dffffc0000000000
 tracepoint_probe_register_prio kernel/tracepoint.c:283 [inline]
 tracepoint_probe_register+0x8c/0xc0 kernel/tracepoint.c:304
 trace_event_reg+0x272/0x330 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+0x424/0xa30 kernel/trace/trace_event_perf.c:221
 perf_tp_event_init+0x79/0xf0 kernel/events/core.c:8132
 perf_try_init_event+0x15b/0x1f0 kernel/events/core.c:9368
 perf_init_event kernel/events/core.c:9406 [inline]
 perf_event_alloc.part.0+0xe2d/0x2640 kernel/events/core.c:9666
 perf_event_alloc kernel/events/core.c:10019 [inline]
 SYSC_perf_event_open kernel/events/core.c:10123 [inline]
 SyS_perf_event_open+0x67f/0x24b0 kernel/events/core.c:10009
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45cc79
RSP: 002b:00007ff93dd4dc78 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 0000000000023980 RCX: 000000000045cc79
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080
RBP: 000000000078bf50 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000078bf0c
R13: 00007ffcb505f47f R14: 00007ff93dd4e9c0 R15: 000000000078bf0c
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/01 17:54 linux-4.14.y 7f2c5eb458b8 8df85ed9 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.