syzbot


WARNING in tracepoint_probe_register_prio (3)

Status: fixed on 2020/02/18 14:31
Reported-by: syzbot+774fddf07b7ab29a1e55@syzkaller.appspotmail.com
Fix commit: 64ae572bc7d0 tracing: Fix sched switch start/stop refcount racy updates
First crash: 1657d, last: 1019d

Cause bisection: introduced by (bisect log) :
commit ecb9f80db23a7ab09b46b298b404e41dd7aff6e6
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Tue Aug 13 08:00:25 2019 +0000

  net/mvpp2: Replace tasklet with softirq hrtimer

Crash: WARNING in tracepoint_probe_register_prio (log)
Repro: syz .config
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 1132d 1268d 0/1 auto-closed as invalid on 2020/02/22 11:16
upstream WARNING in tracepoint_probe_register_prio C 830 1725d 1860d 4/24 fixed on 2018/03/12 10:10
upstream WARNING in tracepoint_probe_register_prio (4) C done unreliable 542 507d 1010d 0/24 auto-obsoleted due to no activity on 2022/09/28 15:12
upstream WARNING in tracepoint_probe_register_prio (2) C 849 1659d 1723d 6/24 fixed on 2018/05/16 09:57
linux-4.14 WARNING in tracepoint_probe_register_prio (2) 3 864d 951d 0/1 auto-closed as invalid on 2020/11/16 10:46
linux-4.19 WARNING in tracepoint_probe_register_prio 39 892d 1319d 0/1 auto-closed as invalid on 2020/10/20 00:42

Sample crash report:
WARNING: CPU: 0 PID: 8824 at kernel/tracepoint.c:243 tracepoint_add_func kernel/tracepoint.c:243 [inline]
WARNING: CPU: 0 PID: 8824 at kernel/tracepoint.c:243 tracepoint_probe_register_prio+0x216/0x790 kernel/tracepoint.c:315
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 8824 Comm: syz-executor.4 Not tainted 5.3.0-rc3+ #133
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x2dc/0x755 kernel/panic.c:219
 __warn.cold+0x20/0x4c kernel/panic.c:576
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028
RIP: 0010:tracepoint_add_func kernel/tracepoint.c:243 [inline]
RIP: 0010:tracepoint_probe_register_prio+0x216/0x790 kernel/tracepoint.c:315
Code: 48 89 f8 48 c1 e8 03 80 3c 08 00 0f 85 bf 04 00 00 48 8b 45 b8 49 3b 45 08 0f 85 21 ff ff ff 41 bd ef ff ff ff e8 aa 8c fe ff <0f> 0b e8 a3 8c fe ff 48 c7 c7 20 44 de 88 e8 d7 1d ca 05 44 89 e8
RSP: 0018:ffff88807b5a7498 EFLAGS: 00010293
RAX: ffff8880a87a85c0 RBX: ffffffff89a1eb00 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff8173fcd6 RDI: ffff88808afc4698
RBP: ffff88807b5a74f0 R08: ffff8880a87a85c0 R09: fffffbfff11bc885
R10: ffff88807b5a7488 R11: ffffffff88de4427 R12: ffff88808afc4690
R13: 00000000ffffffef R14: 00000000ffffffff R15: ffffffff8177f710
 tracepoint_probe_register+0x2b/0x40 kernel/tracepoint.c:335
 register_trace_sched_wakeup include/trace/events/sched.h:96 [inline]
 tracing_sched_register kernel/trace/trace_sched_switch.c:54 [inline]
 tracing_start_sched_switch+0xa8/0x190 kernel/trace/trace_sched_switch.c:106
 tracing_start_cmdline_record+0x13/0x20 kernel/trace/trace_sched_switch.c:131
 trace_printk_init_buffers kernel/trace/trace.c:3050 [inline]
 trace_printk_init_buffers.cold+0xdf/0xe9 kernel/trace/trace.c:3013
 bpf_get_trace_printk_proto+0xe/0x20 kernel/trace/bpf_trace.c:338
 cgroup_base_func_proto kernel/bpf/cgroup.c:799 [inline]
 cgroup_base_func_proto.isra.0+0x10e/0x120 kernel/bpf/cgroup.c:776
 cg_sockopt_func_proto+0x53/0x70 kernel/bpf/cgroup.c:1411
 check_helper_call+0x141/0x32f0 kernel/bpf/verifier.c:3950
 do_check+0x6213/0x89f0 kernel/bpf/verifier.c:7707
 bpf_check+0x6f99/0x9948 kernel/bpf/verifier.c:9294
 bpf_prog_load+0xe68/0x1670 kernel/bpf/syscall.c:1698
 __do_sys_bpf+0xc43/0x3460 kernel/bpf/syscall.c:2849
 __se_sys_bpf kernel/bpf/syscall.c:2808 [inline]
 __x64_sys_bpf+0x73/0xb0 kernel/bpf/syscall.c:2808
 do_syscall_64+0xfd/0x6a0 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459829
Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fc4bf1dec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459829
RDX: 0000000000000070 RSI: 0000000020000180 RDI: 0000000000000005
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc4bf1df6d4
R13: 00000000004bfc7c R14: 00000000004d1938 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (979):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-kasan-gce 2019/08/16 00:10 net-next ecb9f80db23a 0d298d6b .config log report syz
ci-upstream-kasan-gce-root 2020/02/15 05:17 upstream 2019fc96af22 5d7b90f1 .config log report
ci-upstream-kasan-gce-root 2020/02/05 05:31 upstream 33b40134e5cf 93e5e335 .config log report
ci-upstream-kasan-gce-root 2020/01/29 18:45 upstream b3a608222336 5ed23f9a .config log report
ci-upstream-kasan-gce-smack-root 2020/01/28 23:46 upstream c677124e631d c8e81ce4 .config log report
ci-upstream-kasan-gce-root 2020/01/28 15:12 upstream b0be0eff1a5a 56cd6c9b .config log report
ci-upstream-kasan-gce-selinux-root 2020/01/22 17:49 upstream d96d875ef5dd 8eda0b95 .config log report
ci-upstream-kasan-gce-selinux-root 2020/01/16 15:49 upstream f5ae2ea6347a 3de7aabb .config log report
ci-qemu-upstream 2019/12/26 13:43 upstream 46cf053efec6 8b967267 .config log report
ci-upstream-kasan-gce 2019/09/18 09:47 upstream 7f2444d38f6b 03e0d245 .config log report
ci-qemu-upstream-386 2020/01/05 12:42 upstream 36487907f341 d646e21f .config log report
ci-upstream-kasan-gce-386 2019/06/30 08:30 upstream 728254541ebc 7509bf36 .config log report
ci-upstream-bpf-kasan-gce 2020/02/10 13:24 bpf 5391a87751a1 35f5e45e .config log report
ci-upstream-bpf-kasan-gce 2020/02/08 04:13 bpf 5d3919a953c3 06150bf1 .config log report
ci-upstream-bpf-kasan-gce 2020/02/07 00:33 bpf b9e427248885 c91cbc9d .config log report
ci-upstream-bpf-kasan-gce 2020/02/06 08:32 bpf b9e427248885 662cf49a .config log report
ci-upstream-bpf-kasan-gce 2020/02/04 08:22 bpf 8fc91b972b73 93e5e335 .config log report
ci-upstream-bpf-kasan-gce 2020/01/30 20:48 bpf d3e42bb0a329 5ed23f9a .config log report
ci-upstream-bpf-kasan-gce 2020/01/30 12:16 bpf d3e42bb0a329 5ed23f9a .config log report
ci-upstream-net-this-kasan-gce 2020/01/28 05:31 net 2821e26f3a0a 56cd6c9b .config log report
ci-upstream-net-this-kasan-gce 2020/01/27 13:42 net 2821e26f3a0a dd56146d .config log report
ci-upstream-bpf-kasan-gce 2020/01/26 03:40 bpf 08dc225d8868 f4e7270e .config log report
ci-upstream-bpf-kasan-gce 2020/01/26 01:30 bpf 08dc225d8868 f4e7270e .config log report
ci-upstream-bpf-kasan-gce 2020/01/24 06:31 bpf 08dc225d8868 2e95ab33 .config log report
ci-upstream-bpf-kasan-gce 2020/01/24 02:33 bpf 08dc225d8868 2e95ab33 .config log report
ci-upstream-net-this-kasan-gce 2020/01/22 20:11 net d0f418516022 8eda0b95 .config log report
ci-upstream-bpf-kasan-gce 2020/01/21 15:02 bpf 80892772c4ed 8eda0b95 .config log report
ci-upstream-bpf-kasan-gce 2020/01/21 09:31 bpf 80892772c4ed 8eda0b95 .config log report
ci-upstream-bpf-kasan-gce 2020/01/19 21:26 bpf 1712b2fff8c6 0342f8c7 .config log report
ci-upstream-bpf-kasan-gce 2020/01/19 01:43 bpf 1712b2fff8c6 bc8bc756 .config log report
ci-upstream-bpf-kasan-gce 2020/01/16 02:08 bpf 0af2ffc93a4b f9b69507 .config log report
ci-upstream-bpf-kasan-gce 2020/01/15 16:24 bpf 555089fdfc37 069a5a44 .config log report
ci-upstream-bpf-next-kasan-gce 2020/02/09 03:22 bpf-next b3a608222336 06150bf1 .config log report
ci-upstream-bpf-next-kasan-gce 2020/02/08 14:20 bpf-next b3a608222336 06150bf1 .config log report
ci-upstream-net-kasan-gce 2020/02/08 12:13 net-next 33b40134e5cf 06150bf1 .config log report
ci-upstream-bpf-next-kasan-gce 2020/02/06 16:34 bpf-next b3a608222336 c91cbc9d .config log report
ci-upstream-bpf-next-kasan-gce 2020/02/06 12:01 bpf-next b3a608222336 662cf49a .config log report
ci-upstream-bpf-next-kasan-gce 2020/02/04 12:48 bpf-next b3a608222336 93e5e335 .config log report
ci-upstream-bpf-next-kasan-gce 2020/02/03 04:37 bpf-next b3a608222336 93e5e335 .config log report
ci-upstream-net-kasan-gce 2020/02/02 15:54 net-next 9f68e3655aae 93e5e335 .config log report
ci-upstream-bpf-next-kasan-gce 2020/02/01 07:46 bpf-next b3a608222336 c30117b2 .config log report
ci-upstream-bpf-next-kasan-gce 2020/01/31 03:29 bpf-next b3a608222336 5ed23f9a .config log report
ci-upstream-bpf-next-kasan-gce 2020/01/30 16:04 bpf-next b3a608222336 5ed23f9a .config log report
ci-upstream-net-kasan-gce 2020/01/29 23:59 net-next b3a608222336 5ed23f9a .config log report
ci-upstream-net-kasan-gce 2020/01/27 22:56 net-next 8e5aa6173ad3 56cd6c9b .config log report
ci-upstream-bpf-next-kasan-gce 2020/01/27 05:33 bpf-next e9f02a802767 dd56146d .config log report
ci-upstream-bpf-next-kasan-gce 2020/01/26 18:30 bpf-next e9f02a802767 dd56146d .config log report
ci-upstream-bpf-next-kasan-gce 2020/01/26 09:57 bpf-next e9f02a802767 f4e7270e .config log report
ci-upstream-net-kasan-gce 2020/01/25 12:23 net-next 08a45c59f16e 2e95ab33 .config log report
ci-upstream-bpf-next-kasan-gce 2020/01/23 11:48 bpf-next 2a67a6ccb01f 3334d684 .config log report
ci-upstream-bpf-next-kasan-gce 2020/01/21 05:40 bpf-next 2e3a94aa2bfc 8eda0b95 .config log report
ci-upstream-bpf-next-kasan-gce 2020/01/21 03:40 bpf-next 2e3a94aa2bfc d2557fb5 .config log report
ci-upstream-net-kasan-gce 2020/01/20 04:00 net-next 7f013edebaa4 0342f8c7 .config log report
ci-upstream-net-kasan-gce 2020/01/18 15:59 net-next 56f200c78ce4 3de7aabb .config log report
ci-upstream-net-kasan-gce 2020/01/17 15:53 net-next 6bc803803526 3de7aabb .config log report
ci-upstream-net-kasan-gce 2020/01/17 12:17 net-next 6bc803803526 3de7aabb .config log report
ci-upstream-bpf-next-kasan-gce 2020/01/16 11:20 bpf-next 5640a771d797 f9b69507 .config log report
ci-upstream-bpf-next-kasan-gce 2020/01/15 19:24 bpf-next 0a29275b6300 f9b69507 .config log report
ci-upstream-bpf-next-kasan-gce 2018/05/18 09:20 bpf-next a78622932c27 c992b767 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/02/09 07:58 linux-next 6dff1565d69c 06150bf1 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/01/18 09:46 linux-next 2747d5fdab78 3de7aabb .config log report
ci-upstream-linux-next-kasan-gce-root 2020/01/17 08:11 linux-next 2747d5fdab78 3de7aabb .config log report
ci-upstream-kmsan-gce 2018/08/31 12:39 https://github.com/google/kmsan.git master ab98bd30a4ba a4718693 .config log report
* Struck through repros no longer work on HEAD.