syzbot


WARNING in tracepoint_add_func

Status: fixed on 2021/11/10 00:50
Subsystems: bpf trace
[Documentation on labels]
Reported-by: syzbot+721aa903751db87aa244@syzkaller.appspotmail.com
Fix commit: 9913d5745bd7 tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
First crash: 1632d, last: 1243d
Cause bisection: introduced by (bisect log) :
commit 58956317c8de52009d1a38a721474c24aef74fe7
Author: David Ahern <dsahern@gmail.com>
Date: Fri Dec 7 20:24:57 2018 +0000

  neighbor: Improve garbage collection

Crash: BUG: corrupted list in neigh_mark_dead (log)
Repro: syz .config
  
Discussions (9)
Title Replies (including bot) Last reply
[PATCH 5.13 000/800] 5.13.2-rc1 review 840 (840) 2021/07/28 17:46
[PATCH 4.19 000/421] 4.19.198-rc1 review 423 (423) 2021/07/19 16:00
[PATCH 5.10 000/593] 5.10.50-rc1 review 615 (615) 2021/07/16 05:18
[PATCH 5.12 000/700] 5.12.17-rc1 review 708 (708) 2021/07/13 21:37
[PATCH 5.4 000/348] 5.4.132-rc1 review 354 (354) 2021/07/12 18:54
[PATCH] tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing 10 (11) 2021/07/08 20:11
[for-next][PATCH 1/5] tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing 1 (1) 2021/06/30 23:17
[PATCH] tracepoint: Do not warn on EEXIST or ENOENT 10 (10) 2021/06/27 02:52
WARNING in tracepoint_add_func 1 (5) 2020/09/21 04:56
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in tracepoint_add_func C 237 659d 1597d 0/1 upstream: reported C repro on 2020/07/28 19:37
linux-4.14 WARNING in tracepoint_add_func 1 1593d 1593d 0/1 auto-closed as invalid on 2020/11/29 17:55
linux-4.14 WARNING in tracepoint_add_func (2) C 122 646d 1396d 0/1 upstream: reported C repro on 2021/02/14 19:49
Last patch testing requests (3)
Created Duration User Patch Repo Result
2021/06/29 13:55 19m rostedt@goodmis.org patch upstream OK
2021/06/27 05:57 18m penguin-kernel@i-love.sakura.ne.jp patch upstream OK
2021/06/26 12:52 18m penguin-kernel@i-love.sakura.ne.jp patch upstream OK

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8412 at kernel/tracepoint.c:291 tracepoint_add_func+0x1fb/0xa90 kernel/tracepoint.c:291
Modules linked in:
CPU: 1 PID: 8412 Comm: syz-executor167 Not tainted 5.12.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:tracepoint_add_func+0x1fb/0xa90 kernel/tracepoint.c:291
Code: 44 24 18 48 8b 5d 08 80 38 00 0f 85 62 07 00 00 48 8b 44 24 10 48 3b 58 08 0f 85 71 ff ff ff 41 bc ef ff ff ff e8 75 5f fe ff <0f> 0b e9 ac 02 00 00 e8 69 5f fe ff 41 83 c6 02 e8 60 5f fe ff 44
RSP: 0018:ffffc90001b97ab8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffffc90000e96000 RCX: 0000000000000000
RDX: ffff88802ce64000 RSI: ffffffff8175335b RDI: ffff88801ac06198
RBP: ffff88801ac06190 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8175358a R11: 0000000000000000 R12: 00000000ffffffef
R13: ffff88801ac06190 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007fa751a1d700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f20996c3000 CR3: 0000000024735000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 tracepoint_probe_register_prio kernel/tracepoint.c:369 [inline]
 tracepoint_probe_register+0x9c/0xe0 kernel/tracepoint.c:389
 __bpf_probe_register kernel/trace/bpf_trace.c:2154 [inline]
 bpf_probe_register+0x15a/0x1c0 kernel/trace/bpf_trace.c:2159
 bpf_raw_tracepoint_open+0x34a/0x720 kernel/bpf/syscall.c:2878
 __do_sys_bpf+0x2586/0x4f40 kernel/bpf/syscall.c:4435
 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x445999
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa751a1d318 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00000000004ca408 RCX: 0000000000445999
RDX: 0000000000000010 RSI: 0000000020000080 RDI: 0000000000000011
RBP: 00000000004ca400 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 65676e61725f636f
R13: 00007ffc847ba7ef R14: 00007fa751a1d400 R15: 0000000000022000

Crashes (20635):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/02 12:46 upstream d2b6f8a17919 77e2b668 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in tracepoint_add_func
2021/05/05 17:29 net-old bbd6f0a94813 06c27ff5 .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in tracepoint_add_func
2021/05/05 15:01 net-next-old 95aafe911db6 06c27ff5 .config console log report syz C ci-upstream-net-kasan-gce WARNING in tracepoint_add_func
2020/09/21 04:55 upstream 325d0eab4f31 9564d2e9 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2021/07/11 18:17 upstream 3dbdb38e2869 8f5a7b8c .config console log report syz ci-upstream-kasan-gce-root WARNING in tracepoint_add_func
2021/06/27 12:02 upstream 625acffd7ae2 9d2ab5df .config console log report syz ci-upstream-kasan-gce-root WARNING in tracepoint_add_func
2021/06/22 19:19 upstream a96bfed64c89 aba2b2fb .config console log report syz ci-upstream-kasan-gce-selinux-root WARNING in tracepoint_add_func
2021/06/20 17:35 upstream 913ec3c22ef4 aba2b2fb .config console log report syz ci-upstream-kasan-gce-root WARNING in tracepoint_add_func
2021/06/12 13:20 upstream f21b807c3cf8 1ba81399 .config console log report syz ci-upstream-kasan-gce-root WARNING in tracepoint_add_func
2021/06/01 02:32 upstream c2131f7e73c9 032639db .config console log report syz ci-upstream-kasan-gce-root WARNING in tracepoint_add_func
2021/05/31 00:10 upstream b90e90f40b4f 325a8dab .config console log report syz ci-upstream-kasan-gce-root WARNING in tracepoint_add_func
2021/05/28 02:06 upstream d7c5303fbc8a 858ea628 .config console log report syz ci-upstream-kasan-gce-root WARNING in tracepoint_add_func
2021/05/19 11:40 upstream 8ac91e6c6033 a343ba6b .config console log report syz ci-upstream-kasan-gce-selinux-root WARNING in tracepoint_add_func
2021/05/19 04:18 upstream 8ac91e6c6033 a343ba6b .config console log report syz ci-upstream-kasan-gce-selinux-root WARNING in tracepoint_add_func
2021/05/19 00:08 upstream 8ac91e6c6033 a343ba6b .config console log report syz ci-upstream-kasan-gce-root WARNING in tracepoint_add_func
2021/05/18 09:45 upstream 8ac91e6c6033 a343ba6b .config console log report syz ci-upstream-kasan-gce-root WARNING in tracepoint_add_func
2021/05/16 08:52 upstream c12a29ed9094 f54a5c09 .config console log report syz ci-upstream-kasan-gce-selinux-root WARNING in tracepoint_add_func
2021/05/16 03:48 upstream f36edc5533b2 f54a5c09 .config console log report syz ci-upstream-kasan-gce-root WARNING in tracepoint_add_func
2021/05/09 19:19 upstream b741596468b0 bc5434be .config console log report syz ci-upstream-kasan-gce-selinux-root WARNING in tracepoint_add_func
2021/04/30 12:27 upstream d2b6f8a17919 77e2b668 .config console log report syz ci-upstream-kasan-gce-selinux-root WARNING in tracepoint_add_func
2021/03/09 10:57 upstream 144c79ef3353 09fbf400 .config console log report syz ci-upstream-kasan-gce WARNING in tracepoint_add_func
2021/06/14 03:44 net-old f4cdcae03f9c 1ba81399 .config console log report syz ci-upstream-net-this-kasan-gce WARNING in tracepoint_add_func
2021/06/06 04:39 net-old 3822d0670c9d 500c2339 .config console log report syz ci-upstream-net-this-kasan-gce WARNING in tracepoint_add_func
2021/05/23 16:53 net-old e29f011e8fc0 3c7fef33 .config console log report syz ci-upstream-net-this-kasan-gce WARNING in tracepoint_add_func
2021/05/13 21:06 net-old 832ce924b1a1 80f9b418 .config console log report syz ci-upstream-net-this-kasan-gce WARNING in tracepoint_add_func
2021/05/08 22:02 net-old 55bc1af3d911 bc5434be .config console log report syz ci-upstream-net-this-kasan-gce WARNING in tracepoint_add_func
2021/05/08 21:57 bpf bbd6f0a94813 bc5434be .config console log report syz ci-upstream-bpf-kasan-gce WARNING in tracepoint_add_func
2021/06/21 08:01 bpf-next f42cfb469f9b aba2b2fb .config console log report syz ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/06/06 04:55 net-next-old 1a42624aecba 500c2339 .config console log report syz ci-upstream-net-kasan-gce WARNING in tracepoint_add_func
2021/05/23 15:33 net-next-old f5120f599880 3c7fef33 .config console log report syz ci-upstream-net-kasan-gce WARNING in tracepoint_add_func
2021/05/14 01:20 net-next-old 8380c81d5c4f 80f9b418 .config console log report syz ci-upstream-net-kasan-gce WARNING in tracepoint_add_func
2021/05/13 22:43 bpf-next 3f2870989f10 80f9b418 .config console log report syz ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/05/13 20:05 net-next-old d8654f4f9300 80f9b418 .config console log report syz ci-upstream-net-kasan-gce WARNING in tracepoint_add_func
2021/05/08 22:09 bpf-next 3733bfbbdd28 bc5434be .config console log report syz ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/05/08 22:02 net-next-old 95aafe911db6 bc5434be .config console log report syz ci-upstream-net-kasan-gce WARNING in tracepoint_add_func
2021/06/26 13:27 linux-next a1f92694393a 9d2ab5df .config console log report syz ci-upstream-linux-next-kasan-gce-root WARNING in tracepoint_add_func
2021/06/21 06:39 linux-next a1f92694393a aba2b2fb .config console log report syz ci-upstream-linux-next-kasan-gce-root WARNING in tracepoint_add_func
2021/06/19 05:47 linux-next a1f92694393a aba2b2fb .config console log report syz ci-upstream-linux-next-kasan-gce-root WARNING in tracepoint_add_func
2021/06/12 05:47 linux-next a1f92694393a 1ba81399 .config console log report syz ci-upstream-linux-next-kasan-gce-root WARNING in tracepoint_add_func
2021/06/10 14:37 linux-next a1f92694393a 1ba81399 .config console log report syz ci-upstream-linux-next-kasan-gce-root WARNING in tracepoint_add_func
2021/05/19 07:02 linux-next a1f92694393a a343ba6b .config console log report syz ci-upstream-linux-next-kasan-gce-root WARNING in tracepoint_add_func
2021/05/14 20:48 linux-next cd557f1c605f 8bdd5343 .config console log report syz ci-upstream-linux-next-kasan-gce-root WARNING in tracepoint_add_func
2021/05/11 06:28 linux-next e6f67ebd93ef ca873091 .config console log report syz ci-upstream-linux-next-kasan-gce-root WARNING in tracepoint_add_func
2021/05/07 03:42 linux-next 23c498428c14 06585184 .config console log report syz ci-upstream-linux-next-kasan-gce-root WARNING in tracepoint_add_func
2020/09/10 09:43 bpf 746f534a4809 409809d8 .config console log report syz ci-upstream-bpf-kasan-gce
2021/07/08 23:13 upstream 3dbdb38e2869 1b20171a .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in tracepoint_add_func
2021/06/18 21:16 upstream b1edae0d5f2e aba2b2fb .config console log report info ci-qemu-upstream WARNING in tracepoint_add_func
2021/06/19 12:51 upstream 9ed13a17e38e aba2b2fb .config console log report info ci-qemu-upstream-386 WARNING in tracepoint_add_func
2021/07/16 02:45 bpf 91091656252f f115ae98 .config console log report info ci-upstream-bpf-kasan-gce WARNING in tracepoint_add_func
2021/07/15 20:40 bpf 5acc7d3e8d34 b9a2f64e .config console log report info ci-upstream-bpf-kasan-gce WARNING in tracepoint_add_func
2021/07/15 18:06 bpf 5acc7d3e8d34 b9a2f64e .config console log report info ci-upstream-bpf-kasan-gce WARNING in tracepoint_add_func
2021/07/15 11:34 bpf 5acc7d3e8d34 b9a2f64e .config console log report info ci-upstream-bpf-kasan-gce WARNING in tracepoint_add_func
2021/07/15 07:02 bpf 5acc7d3e8d34 b9a2f64e .config console log report info ci-upstream-bpf-kasan-gce WARNING in tracepoint_add_func
2021/07/15 04:56 bpf 5acc7d3e8d34 b9a2f64e .config console log report info ci-upstream-bpf-kasan-gce WARNING in tracepoint_add_func
2021/07/15 03:51 bpf 5acc7d3e8d34 94e0b707 .config console log report info ci-upstream-bpf-kasan-gce WARNING in tracepoint_add_func
2021/07/14 23:13 bpf 5acc7d3e8d34 94e0b707 .config console log report info ci-upstream-bpf-kasan-gce WARNING in tracepoint_add_func
2021/07/14 21:47 bpf 5acc7d3e8d34 94e0b707 .config console log report info ci-upstream-bpf-kasan-gce WARNING in tracepoint_add_func
2021/07/14 20:39 bpf 5acc7d3e8d34 94e0b707 .config console log report info ci-upstream-bpf-kasan-gce WARNING in tracepoint_add_func
2021/07/14 19:13 bpf 5acc7d3e8d34 94e0b707 .config console log report info ci-upstream-bpf-kasan-gce WARNING in tracepoint_add_func
2021/07/14 16:38 bpf 5acc7d3e8d34 94e0b707 .config console log report info ci-upstream-bpf-kasan-gce WARNING in tracepoint_add_func
2021/07/14 07:50 net-old bcb9928a1554 484502bd .config console log report info ci-upstream-net-this-kasan-gce WARNING in tracepoint_add_func
2021/07/17 05:22 bpf-next c50524ec4e3a f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/17 04:15 bpf-next c50524ec4e3a f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/17 02:47 bpf-next c50524ec4e3a f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/17 01:38 bpf-next c50524ec4e3a f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/17 00:22 bpf-next c50524ec4e3a f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 23:06 bpf-next c50524ec4e3a f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 21:29 bpf-next c50524ec4e3a f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 20:13 bpf-next c50524ec4e3a f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 18:44 bpf-next c50524ec4e3a f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 17:26 bpf-next c50524ec4e3a f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 15:29 bpf-next c50524ec4e3a f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 13:22 bpf-next 75f0fc7b48ad f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 11:49 bpf-next 75f0fc7b48ad f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 10:41 bpf-next 75f0fc7b48ad f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 09:48 bpf-next 75f0fc7b48ad f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 08:47 bpf-next 75f0fc7b48ad f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 07:41 bpf-next 75f0fc7b48ad f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 06:39 bpf-next 75f0fc7b48ad f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 06:05 bpf-next 75f0fc7b48ad f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 04:55 bpf-next 75f0fc7b48ad f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 03:47 bpf-next 75f0fc7b48ad f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 01:10 bpf-next 75f0fc7b48ad f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/16 00:04 bpf-next 75f0fc7b48ad f115ae98 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/15 21:47 bpf-next cf2c6f08632f b9a2f64e .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/15 19:10 bpf-next cf2c6f08632f b9a2f64e .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/15 17:03 bpf-next cf2c6f08632f b9a2f64e .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/15 15:42 bpf-next cf2c6f08632f b9a2f64e .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/15 14:32 bpf-next cf2c6f08632f b9a2f64e .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/15 13:30 bpf-next cf2c6f08632f b9a2f64e .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/15 12:41 bpf-next cf2c6f08632f b9a2f64e .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/15 10:19 bpf-next cf2c6f08632f b9a2f64e .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/15 08:37 bpf-next cf2c6f08632f b9a2f64e .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/15 05:57 net-next-old 5e437416ff66 b9a2f64e .config console log report info ci-upstream-net-kasan-gce WARNING in tracepoint_add_func
2021/07/15 01:50 bpf-next cf2c6f08632f 94e0b707 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/15 00:39 bpf-next 97eb31384af9 94e0b707 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/15 00:31 bpf-next 97eb31384af9 94e0b707 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/14 17:41 bpf-next 97eb31384af9 94e0b707 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in tracepoint_add_func
2021/07/05 08:06 linux-next a1f92694393a 55aa55c2 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in tracepoint_add_func
2021/01/17 13:44 bpf e23a8d002198 813be542 .config console log report info ci-upstream-bpf-kasan-gce
2020/06/27 08:04 bpf 7a64135f3229 ffec44b5 .config console log report ci-upstream-bpf-kasan-gce
2020/06/23 15:35 bpf 4e15507fea70 54566aff .config console log report ci-upstream-bpf-kasan-gce
* Struck through repros no longer work on HEAD.