syzbot


WARNING in tracepoint_probe_register_prio

Status: fixed on 2018/03/12 10:10
Subsystems: block trace
[Documentation on labels]
Reported-by: syzbot+2acf619eef45c8f8b322a24d8e528eccbe6319bc@syzkaller.appspotmail.com
Fix commit: a6da0024ffc1 blktrace: fix unlocked registration of tracepoints
First crash: 2687d, last: 2477d
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 (3) trace syz done 979 1772d 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
upstream WARNING in tracepoint_probe_register_prio (2) trace C 849 2412d 2476d 5/28 fixed on 2018/05/16 09:57
linux-4.14 WARNING in tracepoint_probe_register_prio (2) 3 1616d 1704d 0/1 auto-closed as invalid on 2020/11/16 10:46
linux-4.19 WARNING in tracepoint_probe_register_prio 39 1644d 2071d 0/1 auto-closed as invalid on 2020/10/20 00:42

Sample crash report:
WARNING: CPU: 0 PID: 2994 at kernel/tracepoint.c:210 tracepoint_add_func kernel/tracepoint.c:210 [inline]
WARNING: CPU: 0 PID: 2994 at kernel/tracepoint.c:210 tracepoint_probe_register_prio+0x397/0x9a0 kernel/tracepoint.c:283
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 2994 Comm: syzkaller003756 Not tainted 4.14.0-rc6+ #153
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:16 [inline]
 dump_stack+0x194/0x257 lib/dump_stack.c:52
 panic+0x1e4/0x417 kernel/panic.c:181
 __warn+0x1c4/0x1d9 kernel/panic.c:542
 report_bug+0x211/0x2d0 lib/bug.c:183
 fixup_bug+0x40/0x90 arch/x86/kernel/traps.c:178
 do_trap_no_signal arch/x86/kernel/traps.c:212 [inline]
 do_trap+0x260/0x390 arch/x86/kernel/traps.c:261
 do_error_trap+0x120/0x390 arch/x86/kernel/traps.c:298
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:311
 invalid_op+0x18/0x20 arch/x86/entry/entry_64.S:905
RIP: 0010:tracepoint_add_func kernel/tracepoint.c:210 [inline]
RIP: 0010:tracepoint_probe_register_prio+0x397/0x9a0 kernel/tracepoint.c:283
RSP: 0018:ffff8801c16af6c0 EFLAGS: 00010297
RAX: ffff8801d1cf4680 RBX: 00000000ffffffef RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff85b62a80 RDI: ffff8801d490c918
RBP: ffff8801c16af7c8 R08: ffffffff81700ae0 R09: 0000000000000004
R10: ffff8801c16af6b0 R11: 0000000000000003 R12: ffffffff817492e0
R13: 0000000000000000 R14: 00000000ffffffff R15: ffff8801c16af7a0
 tracepoint_probe_register+0x2a/0x40 kernel/tracepoint.c:304
 register_trace_block_rq_insert include/trace/events/block.h:191 [inline]
 blk_register_tracepoints+0x1e/0x2f0 kernel/trace/blktrace.c:1043
 do_blk_trace_setup+0xa10/0xcf0 kernel/trace/blktrace.c:542
 blk_trace_setup+0xbd/0x180 kernel/trace/blktrace.c:564
 sg_ioctl+0xc71/0x2d90 drivers/scsi/sg.c:1089
 vfs_ioctl fs/ioctl.c:45 [inline]
 do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:685
 SYSC_ioctl fs/ioctl.c:700 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:691
 entry_SYSCALL_64_fastpath+0x1f/0xbe
RIP: 0033:0x444339
RSP: 002b:00007ffdb04afe08 EFLAGS: 00000206 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000006d66c0 RCX: 0000000000444339
RDX: 000000002084cf90 RSI: 00000000c0481273 RDI: 000000000000001d
RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: ffffffffffffffff
R13: 00000000c0481273 R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (830):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/10/29 21:25 upstream 19e12196da60 80c74880 .config console log report syz C ci-upstream-kasan-gce-386
2017/10/29 21:23 linux-next 36ef71cae353 e511d9f8 .config console log report syz C ci-upstream-next-kasan-gce
2017/10/29 21:23 mmots 0f611fb6dcc0 e0a2b195 .config console log report syz C ci-upstream-mmots-kasan-gce
2018/03/11 20:53 upstream abeb75218aeb 36d1c454 .config console log report ci-upstream-kasan-gce
2018/03/10 08:38 upstream cdb06e9d8f52 36d1c454 .config console log report ci-upstream-kasan-gce
2018/03/09 17:28 upstream 1b88accf6a65 36d1c454 .config console log report ci-upstream-kasan-gce
2018/03/08 02:56 upstream 851710a80961 d50edb7e .config console log report ci-upstream-kasan-gce
2018/03/07 08:06 upstream 86f84779d8e9 c8a18476 .config console log report ci-upstream-kasan-gce
2018/03/06 20:11 upstream ce380619fab9 c8a18476 .config console log report ci-upstream-kasan-gce
2018/03/04 21:45 upstream e64b9562ba28 2c6f473e .config console log report ci-upstream-kasan-gce
2018/03/03 01:28 upstream 0573fed92b67 2c6f473e .config console log report ci-upstream-kasan-gce
2018/03/02 16:35 upstream 5d60e057d127 2c6f473e .config console log report ci-upstream-kasan-gce
2018/02/28 21:31 upstream c02be2334e75 05b5a32c .config console log report ci-upstream-kasan-gce
2018/02/27 15:18 upstream 6f70eb2b00eb 05b5a32c .config console log report ci-upstream-kasan-gce
2018/02/26 22:57 upstream 4a3928c6f8a5 b370d4a7 .config console log report ci-upstream-kasan-gce
2018/02/23 11:51 upstream 0f9da844d877 33464158 .config console log report ci-upstream-kasan-gce
2018/02/23 11:01 upstream 0f9da844d877 33464158 .config console log report ci-upstream-kasan-gce
2018/02/23 10:23 upstream 0f9da844d877 8d8e2494 .config console log report ci-upstream-kasan-gce
2018/03/09 19:34 upstream 719ea86151f3 36d1c454 .config console log report ci-upstream-kasan-gce-386
2018/03/09 03:51 upstream 1b88accf6a65 36d1c454 .config console log report ci-upstream-kasan-gce-386
2018/03/05 13:36 upstream 661e50bc8532 bbd5104f .config console log report ci-upstream-kasan-gce-386
2018/03/02 11:54 upstream 5d60e057d127 2c6f473e .config console log report ci-upstream-kasan-gce-386
2018/02/27 00:11 upstream 4a3928c6f8a5 b370d4a7 .config console log report ci-upstream-kasan-gce-386
2018/03/09 23:03 bpf-next 6d8cb045cde6 36d1c454 .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/09 09:49 bpf-next 75a141af68c5 36d1c454 .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/09 00:33 bpf-next 12ef9bda06a5 36d1c454 .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/08 12:13 bpf-next 12ef9bda06a5 8240eedf .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/08 01:45 bpf-next 0f3e9c97eb5a d50edb7e .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/07 13:42 bpf-next 0f3e9c97eb5a a5e76540 .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/06 17:41 bpf-next 0f3e9c97eb5a a17d898a .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/06 01:21 bpf-next ca435f88c102 aef0b792 .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/06 00:08 bpf-next ca435f88c102 aef0b792 .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/05 15:46 bpf-next ca435f88c102 bbd5104f .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/05 12:10 bpf-next c51a63797acc bbd5104f .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/01 23:57 bpf-next c8745e07d5d6 2c6f473e .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/01 21:44 bpf-next 71d22d58b6e5 2c6f473e .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/01 09:42 bpf-next 71d22d58b6e5 c4089507 .config console log report ci-upstream-bpf-next-kasan-gce
2018/02/28 00:30 bpf-next 71d22d58b6e5 05b5a32c .config console log report ci-upstream-bpf-next-kasan-gce
2018/02/27 11:13 bpf-next 6f1b5a2b58d8 05b5a32c .config console log report ci-upstream-bpf-next-kasan-gce
2018/02/27 09:42 bpf-next 6f1b5a2b58d8 6d41d29e .config console log report ci-upstream-bpf-next-kasan-gce
2018/02/26 20:09 bpf-next 9baeb5eb1f83 b370d4a7 .config console log report ci-upstream-bpf-next-kasan-gce
2018/02/26 12:33 bpf-next c53507778998 9fe8aa42 .config console log report ci-upstream-bpf-next-kasan-gce
2018/02/26 11:04 bpf-next c53507778998 9fe8aa42 .config console log report ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.