syzbot


WARNING: ODEBUG bug in route4_change

Status: fixed on 2020/05/02 15:54
Reported-by: syzbot+e56bebc1bd9e1143ae6c@syzkaller.appspotmail.com
Fix commit: f0c92f59cf52 net_sched: cls_route: remove the right filter from hashtable
First crash: 1745d, last: 1717d
Fix bisection: fixed by (bisect log) :
commit f0c92f59cf528bc1b872f2ca91b01e128a2af3e6
Author: Cong Wang <xiyou.wangcong@gmail.com>
Date: Sat Mar 14 05:29:54 2020 +0000

  net_sched: cls_route: remove the right filter from hashtable

  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in route4_change C done 68 1716d 1739d 15/28 fixed on 2020/05/10 10:41
linux-4.19 WARNING: ODEBUG bug in route4_change C done 28 1726d 1745d 1/1 fixed on 2020/04/24 02:59

Sample crash report:
audit: type=1400 audit(1585788775.834:38): avc:  denied  { write } for  pid=7395 comm="syz-executor376" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1
ODEBUG: activate active (active state 1) object type: rcu_head hint:           (null)
audit: type=1400 audit(1585788775.834:39): avc:  denied  { read } for  pid=7395 comm="syz-executor376" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7397 at lib/debugobjects.c:287 debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 7397 Comm: syz-executor376 Not tainted 4.14.174-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x13e/0x194 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x2f/0x30 kernel/panic.c:547
 report_bug+0x20a/0x248 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
RSP: 0018:ffff88809e287430 EFLAGS: 00010082
RAX: 0000000000000055 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff86ac07e0 RDI: ffffed1013c50e7c
RBP: ffffffff86ab5ee0 R08: 0000000000000055 R09: 0000000000000000
R10: fffffbfff14a8cd8 R11: ffff88808da44240 R12: 0000000000000000
R13: 0000000000000001 R14: 1ffff11013c50e90 R15: ffffffff87d84240
 debug_object_activate+0x307/0x450 lib/debugobjects.c:446
 debug_rcu_head_queue kernel/rcu/rcu.h:152 [inline]
 __call_rcu.constprop.0+0x31/0x7e0 kernel/rcu/tree.c:3050
 route4_change+0xb27/0x1c4d net/sched/cls_route.c:555
 tc_ctl_tfilter+0xf13/0x18e6 net/sched/cls_api.c:738
 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4315
 netlink_rcv_skb+0x127/0x370 net/netlink/af_netlink.c:2433
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x620 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x733/0xbe0 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xc5/0x100 net/socket.c:656
 ___sys_sendmsg+0x70a/0x840 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x446d29
RSP: 002b:00007f4f2080fd98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000006dcc78 RCX: 0000000000446d29
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000006
RBP: 00000000006dcc70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dcc7c
R13: 0000000000000005 R14: 00a3a20740000000 R15: 0507002400000038

======================================================

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/04/02 00:55 linux-4.14.y 01364dad1d45 a34e2c33 .config console log report syz C ci2-linux-4-14
2020/04/01 13:19 linux-4.14.y 01364dad1d45 a34e2c33 .config console log report syz C ci2-linux-4-14
2020/04/01 12:39 linux-4.14.y 01364dad1d45 a34e2c33 .config console log report syz C ci2-linux-4-14
2020/04/01 11:58 linux-4.14.y 01364dad1d45 a34e2c33 .config console log report syz C ci2-linux-4-14
2020/03/29 22:29 linux-4.14.y 01364dad1d45 05736b29 .config console log report syz C ci2-linux-4-14
2020/03/28 07:10 linux-4.14.y 01364dad1d45 831e9a81 .config console log report syz C ci2-linux-4-14
2020/03/28 03:48 linux-4.14.y 01364dad1d45 831e9a81 .config console log report syz C ci2-linux-4-14
2020/03/28 02:29 linux-4.14.y 01364dad1d45 831e9a81 .config console log report syz C ci2-linux-4-14
2020/03/27 00:18 linux-4.14.y 01364dad1d45 6d25c5a0 .config console log report syz C ci2-linux-4-14
2020/03/26 07:13 linux-4.14.y 01364dad1d45 e8e6c7d2 .config console log report syz C ci2-linux-4-14
2020/03/25 10:43 linux-4.14.y 01364dad1d45 41f049cc .config console log report syz C ci2-linux-4-14
2020/03/25 09:44 linux-4.14.y 01364dad1d45 41f049cc .config console log report syz C ci2-linux-4-14
2020/03/19 14:11 linux-4.14.y 12cd844a39ed 2c31c529 .config console log report syz C ci2-linux-4-14
2020/03/10 22:48 linux-4.14.y 78d697fc93f9 35f53e45 .config console log report syz C ci2-linux-4-14
2020/03/10 21:48 linux-4.14.y 78d697fc93f9 35f53e45 .config console log report syz C ci2-linux-4-14
2020/03/10 21:10 linux-4.14.y 78d697fc93f9 35f53e45 .config console log report syz C ci2-linux-4-14
2020/03/10 20:32 linux-4.14.y 78d697fc93f9 35f53e45 .config console log report syz C ci2-linux-4-14
2020/03/05 03:52 linux-4.14.y 78d697fc93f9 576fb9bc .config console log report syz C ci2-linux-4-14
2020/04/02 11:37 linux-4.14.y 01364dad1d45 a34e2c33 .config console log report syz ci2-linux-4-14
2020/03/10 23:15 linux-4.14.y 78d697fc93f9 35f53e45 .config console log report syz ci2-linux-4-14
2020/03/18 21:45 linux-4.14.y 12cd844a39ed 0a96a13c .config console log report ci2-linux-4-14
2020/03/17 15:31 linux-4.14.y 12cd844a39ed 749688d2 .config console log report ci2-linux-4-14
2020/03/12 12:07 linux-4.14.y 12cd844a39ed d850e9d0 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.