syzbot


WARNING in call_rcu

Status: fixed on 2020/05/10 10:41
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+2f8c233f131943d6056d@syzkaller.appspotmail.com
Fix commit: ef299cc3fa1a net_sched: cls_route: remove the right filter from hashtable
First crash: 1737d, last: 1726d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config
  
Discussions (8)
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 in call_rcu 2 (4) 2020/03/16 18:43
[Patch net] net_sched: cls_route: remove the right filter from hashtable 2 (2) 2020/03/16 09:01
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in call_rcu (2) xfs C 15 702d 709d 0/28 auto-obsoleted due to no activity on 2023/04/15 15:13
linux-5.15 WARNING in call_rcu 3 487d 517d 0/3 auto-obsoleted due to no activity on 2023/11/16 11:10
linux-5.15 WARNING in call_rcu (2) 1 335d 333d 0/3 auto-obsoleted due to no activity on 2024/04/17 03:03
upstream WARNING in call_rcu (3) net C 3 253d 355d 0/28 upstream: reported C repro on 2023/12/18 14:45
Last patch testing requests (1)
Created Duration User Patch Repo Result
2020/03/13 17:58 16m 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: 8742 at lib/debugobjects.c:488 debug_print_object lib/debugobjects.c:485 [inline]
WARNING: CPU: 1 PID: 8742 at lib/debugobjects.c:488 debug_object_activate+0x4ef/0x5f0 lib/debugobjects.c:652
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 8742 Comm: syz-executor969 Not tainted 5.6.0-rc5-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+0x1e9/0x30e lib/dump_stack.c:118
 panic+0x264/0x7a0 kernel/panic.c:221
 __warn+0x209/0x210 kernel/panic.c:582
 report_bug+0x1ac/0x2d0 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0xca/0x1c0 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 lib/debugobjects.c:485 [inline]
RIP: 0010:debug_object_activate+0x4ef/0x5f0 lib/debugobjects.c:652
Code: 74 08 4c 89 f7 e8 e1 3e 18 fe 4d 8b 06 48 c7 c7 13 08 d1 88 48 c7 c6 34 6a e6 88 48 89 ea 89 d9 4d 89 e9 31 c0 e8 01 d8 ae fd <0f> 0b ff 05 8d 40 b1 05 48 8b 5c 24 20 48 83 c3 20 48 89 d8 48 c1
RSP: 0018:ffffc90002167450 EFLAGS: 00010246
RAX: 80a74029eab5f500 RBX: 0000000000000001 RCX: ffff8880973e6300
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffffff88d4e54a R08: ffffffff815e16d6 R09: fffffbfff15db918
R10: fffffbfff15db918 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000000 R14: ffffffff890d9b68 R15: ffff88809fdf1098
 debug_rcu_head_queue kernel/rcu/rcu.h:176 [inline]
 __call_rcu kernel/rcu/tree.c:2597 [inline]
 call_rcu+0x37/0x630 kernel/rcu/tree.c:2683
 queue_rcu_work+0x74/0x90 kernel/workqueue.c:1744
 route4_change+0x18e8/0x1d90 net/sched/cls_route.c:550
 tc_new_tfilter+0x1490/0x2f50 net/sched/cls_api.c:2103
 rtnetlink_rcv_msg+0x8fb/0xd40 net/core/rtnetlink.c:5427
 netlink_rcv_skb+0x190/0x3a0 net/netlink/af_netlink.c:2478
 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline]
 netlink_unicast+0x786/0x940 net/netlink/af_netlink.c:1329
 netlink_sendmsg+0xa57/0xd70 net/netlink/af_netlink.c:1918
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg net/socket.c:672 [inline]
 ____sys_sendmsg+0x4f9/0x7c0 net/socket.c:2343
 ___sys_sendmsg net/socket.c:2397 [inline]
 __sys_sendmsg+0x1ed/0x290 net/socket.c:2430
 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab09
Code: e8 ec 1a 03 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 3b 0c fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f8bf9344ce8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000006e1c78 RCX: 000000000044ab09
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000006
RBP: 00000000006e1c70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000010 R11: 0000000000000246 R12: 00000000006e1c7c
R13: 00007fff5d8b6bcf R14: 00007f8bf93459c0 R15: 00000000006e1c7c
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/12 13:49 upstream e6e6ec48dd0f d850e9d0 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/03/06 20:18 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/03/06 19:41 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/03/06 17:19 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/03/06 16:38 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/03/06 15:56 upstream 63623fd44972 c88c7b75 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/03/08 12:11 upstream 61a09258f2e5 2e9971bb .config console log report syz ci-upstream-kasan-gce-smack-root
2020/03/17 15:35 upstream fb33c6510d55 749688d2 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.