syzbot


WARNING: ODEBUG bug in route4_change

Status: fixed on 2020/05/10 10:41
Reported-by: syzbot+f9b32aaacd60305d9687@syzkaller.appspotmail.com
Fix commit: ef299cc3fa1a net_sched: cls_route: remove the right filter from hashtable
First crash: 846d, last: 822d

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING: ODEBUG bug in route4_change C done 23 823d 851d 1/1 fixed on 2020/05/02 15:54
linux-4.19 WARNING: ODEBUG bug in route4_change C done 28 832d 851d 1/1 fixed on 2020/04/24 02:59
Patch testing requests:
Created Duration User Patch Repo Result
2020/03/13 17:58 18m 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: 1 PID: 7214 at lib/debugobjects.c:485 debug_print_object+0x160/0x250 lib/debugobjects.c:485
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 7214 Comm: syz-executor526 Not tainted 5.6.0-rc7-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+0x188/0x20d lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:221
 __warn.cold+0x2f/0x35 kernel/panic.c:582
 report_bug+0x27b/0x2f0 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+0x12b/0x220 arch/x86/kernel/traps.c:267
 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:286
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027
RIP: 0010:debug_print_object+0x160/0x250 lib/debugobjects.c:485
Code: dd 00 f2 51 88 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bf 00 00 00 48 8b 14 dd 00 f2 51 88 48 c7 c7 60 e7 51 88 e8 78 29 b1 fd <0f> 0b 83 05 8b f6 d2 06 01 48 83 c4 20 5b 5d 41 5c 41 5d c3 48 89
RSP: 0018:ffffc90000f87178 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815c06c1 RDI: fffff520001f0e21
RBP: 0000000000000001 R08: ffff8880a26ee140 R09: ffffed1015ce6659
R10: ffffed1015ce6658 R11: ffff8880ae7332c7 R12: ffffffff897acba0
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff920001f0e3c
 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+0x2c/0x690 kernel/rcu/tree.c:2683
 queue_rcu_work+0x82/0xa0 kernel/workqueue.c:1744
 route4_change+0x19e8/0x2250 net/sched/cls_route.c:550
 tc_new_tfilter+0xa59/0x20b0 net/sched/cls_api.c:2103
 rtnetlink_rcv_msg+0x810/0xad0 net/core/rtnetlink.c:5427
 netlink_rcv_skb+0x15a/0x410 net/netlink/af_netlink.c:2478
 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline]
 netlink_unicast+0x537/0x740 net/netlink/af_netlink.c:1329
 netlink_sendmsg+0x882/0xe10 net/netlink/af_netlink.c:1918
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:672
 ____sys_sendmsg+0x6b9/0x7d0 net/socket.c:2345
 ___sys_sendmsg+0x100/0x170 net/socket.c:2399
 __sys_sendmsg+0xec/0x1b0 net/socket.c:2432
 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4466c9
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:00007f3f68073d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000006dbc68 RCX: 00000000004466c9
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 (68):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2020/03/25 22:20 upstream 76ccd234269b 41f049cc .config log report syz C
ci-upstream-kasan-gce 2020/03/23 14:52 upstream 67d584e33e54 78267cec .config log report syz C
ci-upstream-kasan-gce 2020/03/22 15:06 upstream b74b991fb8b9 78267cec .config log report syz C
ci-upstream-kasan-gce 2020/03/22 03:36 upstream b74b991fb8b9 78267cec .config log report syz C
ci-upstream-kasan-gce 2020/03/20 06:07 upstream cd607737f3b8 2c31c529 .config log report syz C
ci-upstream-kasan-gce 2020/03/18 13:03 upstream ac309e7744be 97bc55ce .config log report syz C
ci-upstream-kasan-gce 2020/03/18 05:48 upstream ac309e7744be 97bc55ce .config log report syz C
ci-upstream-kasan-gce 2020/03/17 02:19 upstream fb33c6510d55 749688d2 .config log report syz C
ci-upstream-kasan-gce 2020/03/16 09:37 upstream a42a7bb6f536 749688d2 .config log report syz C
ci-upstream-kasan-gce 2020/03/16 01:49 upstream a42a7bb6f536 749688d2 .config log report syz C
ci-upstream-kasan-gce 2020/03/16 00:36 upstream a42a7bb6f536 749688d2 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/03/12 22:13 upstream e6e6ec48dd0f d850e9d0 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/03/12 21:15 upstream e6e6ec48dd0f d850e9d0 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/03/12 20:24 upstream e6e6ec48dd0f d850e9d0 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/03/12 19:42 upstream e6e6ec48dd0f d850e9d0 .config log report syz C
ci-upstream-kasan-gce-root 2020/03/10 11:40 upstream 30bb5572ce7a 35f53e45 .config log report syz C
ci-upstream-kasan-gce-root 2020/03/10 01:16 upstream 2c523b344dfa 35f53e45 .config log report syz C
ci-upstream-kasan-gce-root 2020/03/10 00:30 upstream 2c523b344dfa 35f53e45 .config log report syz C
ci-upstream-kasan-gce-root 2020/03/09 23:37 upstream 2c523b344dfa 35f53e45 .config log report syz C
ci-upstream-kasan-gce-386 2020/03/23 14:18 upstream 67d584e33e54 78267cec .config log report syz C
ci-upstream-kasan-gce-386 2020/03/23 04:37 upstream 67d584e33e54 78267cec .config log report syz C
ci-upstream-kasan-gce-386 2020/03/23 03:47 upstream 67d584e33e54 78267cec .config log report syz C
ci-upstream-kasan-gce-386 2020/03/23 02:56 upstream 67d584e33e54 78267cec .config log report syz C
ci-upstream-kasan-gce-386 2020/03/20 18:53 upstream 6c90b86a745a 2c31c529 .config log report syz C
ci-upstream-kasan-gce-386 2020/03/18 07:42 upstream ac309e7744be 97bc55ce .config log report syz C
ci-upstream-kasan-gce-386 2020/03/18 06:08 upstream ac309e7744be 97bc55ce .config log report syz C
ci-upstream-kasan-gce-386 2020/03/17 09:20 upstream fb33c6510d55 749688d2 .config log report syz C
ci-upstream-kasan-gce-386 2020/03/16 18:50 upstream fb33c6510d55 749688d2 .config log report syz C
ci-upstream-kasan-gce-386 2020/03/16 08:18 upstream a42a7bb6f536 749688d2 .config log report syz C
ci-upstream-kasan-gce-386 2020/03/16 07:09 upstream a42a7bb6f536 749688d2 .config log report syz C
ci-upstream-net-this-kasan-gce 2020/03/16 09:11 net 0fda7600c2e1 749688d2 .config log report syz C
ci-upstream-net-this-kasan-gce 2020/03/16 08:31 net 0fda7600c2e1 749688d2 .config log report syz C
ci-upstream-net-kasan-gce 2020/03/23 14:05 net-next 09984483db08 78267cec .config log report syz C
ci-upstream-net-kasan-gce 2020/03/23 02:01 net-next 09984483db08 78267cec .config log report syz C
ci-upstream-net-kasan-gce 2020/03/21 22:07 net-next 0d7043f355d0 4288d95e .config log report syz C
ci-upstream-net-kasan-gce 2020/03/21 19:30 net-next 0d7043f355d0 4288d95e .config log report syz C
ci-upstream-net-kasan-gce 2020/03/20 16:02 net-next 3fd177cb2b47 2c31c529 .config log report syz C
ci-upstream-net-kasan-gce 2020/03/20 01:38 net-next 79e28519ac78 2c31c529 .config log report syz C
ci-upstream-net-kasan-gce 2020/03/19 20:19 net-next 79e28519ac78 2c31c529 .config log report syz C
ci-upstream-net-kasan-gce 2020/03/19 19:25 net-next 79e28519ac78 2c31c529 .config log report syz C
ci-upstream-net-kasan-gce 2020/03/19 18:35 net-next 79e28519ac78 2c31c529 .config log report syz C
ci-upstream-net-kasan-gce 2020/03/18 13:27 net-next 01a6a62edce2 97bc55ce .config log report syz C
ci-upstream-net-kasan-gce 2020/03/17 05:30 net-next 86e85bf6981c 749688d2 .config log report syz C
ci-upstream-net-kasan-gce 2020/03/17 00:32 net-next 74522e7baae2 749688d2 .config log report syz C
ci-upstream-net-kasan-gce 2020/03/16 04:30 net-next 5d0ab06b63fc 749688d2 .config log report syz C
ci-upstream-net-kasan-gce 2020/03/15 17:55 net-next 0c907754ae9d 749688d2 .config log report syz C
ci-upstream-net-kasan-gce 2020/03/15 12:43 net-next 0c907754ae9d 749688d2 .config log report syz C
ci-upstream-net-kasan-gce 2020/03/15 12:04 net-next 0c907754ae9d 749688d2 .config log report syz C
ci-upstream-net-kasan-gce 2020/03/14 15:36 net-next 1d3435793123 749688d2 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/03/22 23:32 linux-next 770fbb32d34e 78267cec .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/03/22 22:53 linux-next 770fbb32d34e 78267cec .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/03/22 21:42 linux-next 770fbb32d34e 78267cec .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/03/22 21:02 linux-next 770fbb32d34e 78267cec .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/03/22 20:16 linux-next 770fbb32d34e 78267cec .config log report syz C
ci-upstream-kasan-gce 2020/03/23 09:33 upstream 67d584e33e54 78267cec .config log report syz
ci-upstream-kasan-gce 2020/03/22 04:17 upstream b74b991fb8b9 78267cec .config log report syz
ci-upstream-kasan-gce 2020/03/22 02:46 upstream b74b991fb8b9 78267cec .config log report syz
ci-upstream-kasan-gce 2020/03/18 07:09 upstream ac309e7744be 97bc55ce .config log report syz
ci-upstream-kasan-gce-selinux-root 2020/03/12 22:48 upstream e6e6ec48dd0f d850e9d0 .config log report syz
ci-upstream-kasan-gce-386 2020/03/24 22:34 upstream 76ccd234269b 68660b21 .config log report syz
ci-upstream-kasan-gce-386 2020/03/18 13:44 upstream ac309e7744be 97bc55ce .config log report syz
ci-upstream-kasan-gce-root 2020/03/21 12:28 upstream 5ad0ec0b8652 4288d95e .config log report
ci-upstream-kasan-gce-root 2020/03/19 19:47 upstream cd607737f3b8 2c31c529 .config log report
ci-upstream-kasan-gce-selinux-root 2020/03/17 15:34 upstream fb33c6510d55 749688d2 .config log report
ci-upstream-net-kasan-gce 2020/03/18 21:54 net-next a58741ef1e4a 0a96a13c .config log report
ci-upstream-linux-next-kasan-gce-root 2020/04/03 10:57 linux-next 770fbb32d34e 5ed396e6 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/04/03 04:21 linux-next 770fbb32d34e a34e2c33 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/03/17 15:32 linux-next 770fbb32d34e 749688d2 .config log report