syzbot


WARNING: ODEBUG bug in tcf_queue_work

Status: fixed on 2020/05/10 10:41
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+9c2df9fd5e9445b74e01@syzkaller.appspotmail.com
Fix commit: ef299cc3fa1a net_sched: cls_route: remove the right filter from hashtable
First crash: 1709d, last: 1709d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config
  
Discussions (9)
Title Replies (including bot) Last reply
[PATCH 4.9 000/102] 4.9.218-rc1 review 112 (112) 2020/04/07 06:05
[PATCH 4.14 000/148] 4.14.175-rc1 review 153 (153) 2020/04/02 22:47
[PATCH 4.19 000/116] 4.19.114-rc1 review 129 (129) 2020/04/02 20:04
[PATCH 5.5 000/170] 5.5.14-rc1 review 180 (180) 2020/04/02 17:40
[PATCH 4.4 00/91] 4.4.218-rc1 review 97 (97) 2020/04/02 14:13
[PATCH 5.4 000/155] 5.4.29-rc1 review 156 (156) 2020/03/31 08:59
WARNING: ODEBUG bug in tcf_queue_work 2 (4) 2020/03/16 18:42
[Patch net] net_sched: cls_route: remove the right filter from hashtable 2 (2) 2020/03/16 09:01
Re: WARNING: ODEBUG bug in tcf_queue_work 1 (1) 2020/03/11 05:26
Last patch testing requests (1)
Created Duration User Patch Repo Result
2020/03/14 03:06 17m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git tcindex OK

Sample crash report:
------------[ cut here ]------------
ODEBUG: activate active (active state 1) object type: rcu_head hint: 0x0
WARNING: CPU: 0 PID: 9599 at lib/debugobjects.c:485 debug_print_object+0x168/0x250 lib/debugobjects.c:485
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 9599 Comm: syz-executor772 Not tainted 5.6.0-rc3-syzkaller #0
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+0x197/0x210 lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:221
 __warn.cold+0x2f/0x3e kernel/panic.c:582
 report_bug+0x289/0x300 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 fixup_bug arch/x86/kernel/traps.c:169 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:267
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:286
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027
RIP: 0010:debug_print_object+0x168/0x250 lib/debugobjects.c:485
Code: dd 00 e7 91 88 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b5 00 00 00 48 8b 14 dd 00 e7 91 88 48 c7 c7 60 dc 91 88 e8 07 6e 9f fd <0f> 0b 83 05 03 6c ff 06 01 48 83 c4 20 5b 41 5c 41 5d 41 5e 5d c3
RSP: 0018:ffffc90005cd70b0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815ebe46 RDI: fffff52000b9ae08
RBP: ffffc90005cd70f0 R08: ffff888093472400 R09: fffffbfff16a3370
R10: fffffbfff16a336f R11: ffffffff8b519b7f R12: 0000000000000001
R13: ffffffff89bac220 R14: 0000000000000000 R15: 1ffff92000b9ae24
 debug_object_activate+0x346/0x470 lib/debugobjects.c:652
 debug_rcu_head_queue kernel/rcu/rcu.h:176 [inline]
 __call_rcu kernel/rcu/tree.c:2597 [inline]
 call_rcu+0x2f/0x700 kernel/rcu/tree.c:2683
 queue_rcu_work+0x8a/0xa0 kernel/workqueue.c:1742
 tcf_queue_work+0xd3/0x110 net/sched/cls_api.c:206
 route4_change+0x19e8/0x2250 net/sched/cls_route.c:550
 tc_new_tfilter+0xb82/0x2480 net/sched/cls_api.c:2103
 rtnetlink_rcv_msg+0x824/0xaf0 net/core/rtnetlink.c:5427
 netlink_rcv_skb+0x177/0x450 net/netlink/af_netlink.c:2478
 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5454
 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline]
 netlink_unicast+0x59e/0x7e0 net/netlink/af_netlink.c:1329
 netlink_sendmsg+0x91c/0xea0 net/netlink/af_netlink.c:1918
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xd7/0x130 net/socket.c:672
 ____sys_sendmsg+0x753/0x880 net/socket.c:2343
 ___sys_sendmsg+0x100/0x170 net/socket.c:2397
 __sys_sendmsg+0x105/0x1d0 net/socket.c:2430
 __do_sys_sendmsg net/socket.c:2439 [inline]
 __se_sys_sendmsg net/socket.c:2437 [inline]
 __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2437
 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x446709
Code: e8 1c ba 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 ab 0e fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fb9e0c67d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000006dbc68 RCX: 0000000000446709
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003
RBP: 00000000006dbc60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc6c
R13: 0000000000000005 R14: 00a3a20740000000 R15: 0507002400000038
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (30):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/05 10:54 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce
2020/03/05 09:19 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce
2020/03/05 08:29 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce
2020/03/05 07:38 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce
2020/03/05 03:59 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/03/05 03:56 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce
2020/03/05 03:52 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce-root
2020/03/05 11:41 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce-386
2020/03/05 10:52 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce-386
2020/03/05 08:58 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce-386
2020/03/05 08:08 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce-386
2020/03/05 07:18 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce-386
2020/03/05 10:56 net-old 3614d05b5e6b c88c7b75 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/03/05 10:06 net-old 3614d05b5e6b c88c7b75 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/03/05 09:20 net-old 3614d05b5e6b c88c7b75 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/03/05 08:31 net-old 3614d05b5e6b c88c7b75 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/03/05 07:49 net-old 3614d05b5e6b c88c7b75 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/03/05 07:05 net-old 3614d05b5e6b c88c7b75 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/03/05 12:50 net-next-old 3b3e808cd883 c88c7b75 .config console log report syz C ci-upstream-net-kasan-gce
2020/03/05 12:02 net-next-old 3b3e808cd883 c88c7b75 .config console log report syz C ci-upstream-net-kasan-gce
2020/03/05 07:37 net-next-old 3b3e808cd883 c88c7b75 .config console log report syz C ci-upstream-net-kasan-gce
2020/03/05 06:57 net-next-old 3b3e808cd883 c88c7b75 .config console log report syz C ci-upstream-net-kasan-gce
2020/03/05 03:49 net-next-old 3b3e808cd883 c88c7b75 .config console log report syz C ci-upstream-net-kasan-gce
2020/03/05 10:01 upstream 63623fd44972 c88c7b75 .config console log report syz ci-upstream-kasan-gce
2020/03/05 12:26 upstream 63623fd44972 c88c7b75 .config console log report syz ci-upstream-kasan-gce-386
2020/03/05 13:27 net-next-old 3b3e808cd883 c88c7b75 .config console log report syz ci-upstream-net-kasan-gce
2020/03/05 03:15 upstream 63623fd44972 c88c7b75 .config console log report ci-upstream-kasan-gce-selinux-root
2020/03/05 03:10 upstream 63623fd44972 c88c7b75 .config console log report ci-upstream-kasan-gce
2020/03/05 03:08 upstream 63623fd44972 c88c7b75 .config console log report ci-upstream-kasan-gce-root
2020/03/05 03:07 net-next-old 3b3e808cd883 c88c7b75 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.