syzbot


WARNING: suspicious RCU usage in tipc_bearer_find

Status: upstream: reported C repro on 2019/04/11 12:22
Reported-by: syzbot+cd3f32a050377ecdc0bf@syzkaller.appspotmail.com
First crash: 2086d, last: 660d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: suspicious RCU usage in tipc_bearer_find tipc C 21 2512d 2512d 5/28 fixed on 2018/05/14 10:29

Sample crash report:
=============================
WARNING: suspicious RCU usage
4.14.302-syzkaller #0 Not tainted
-----------------------------
net/tipc/bearer.c:177 suspicious rcu_dereference_protected() usage!

other info that might help us debug this:


rcu_scheduler_active = 2, debug_locks = 1
2 locks held by syz-executor207/7962:
 #0:  (cb_lock){++++}, at: [<ffffffff85e3d115>] genl_rcv+0x15/0x40 net/netlink/genetlink.c:635
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85e3dd72>] genl_lock net/netlink/genetlink.c:33 [inline]
 #1:  (genl_mutex){+.+.}, at: [<ffffffff85e3dd72>] genl_rcv_msg+0x112/0x140 net/netlink/genetlink.c:623

stack backtrace:
CPU: 1 PID: 7962 Comm: syz-executor207 Not tainted 4.14.302-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 tipc_bearer_find+0x1ff/0x2f0 net/tipc/bearer.c:177
 tipc_nl_compat_link_set+0x40b/0xb90 net/tipc/netlink_compat.c:807
 __tipc_nl_compat_doit net/tipc/netlink_compat.c:316 [inline]
 tipc_nl_compat_doit+0x192/0x5d0 net/tipc/netlink_compat.c:364
 tipc_nl_compat_handle net/tipc/netlink_compat.c:1215 [inline]
 tipc_nl_compat_recv+0xa0b/0xae0 net/tipc/netlink_compat.c:1297
 genl_family_rcv_msg+0x572/0xb20 net/netlink/genetlink.c:600
 genl_rcv_msg+0xaf/0x140 net/netlink/genetlink.c:625
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2454
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1296 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1322
 netlink_sendmsg+0x648/0xbc0 net/netlink/af_netlink.c:1893
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 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+0x5e/0xd3
RIP: 0033:0x7f9a6f5eab69
RSP: 002b:00007ffe0e22ebf8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9a6f5eab69
RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000003
RBP: 00007f9a6f5ae5d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000001800 R11: 0000000000000246 R12: 00007f9a6f5ae660

Crashes (45661):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/06 13:17 linux-4.14.y c4215ee4771b 1dac8c7a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2022/12/29 00:20 linux-4.14.y c4215ee4771b 44712fbc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2022/09/19 22:41 linux-4.14.y 5df8b4735177 dd9a85ff .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2022/08/19 17:06 linux-4.14.y b641242202ed 26a13b38 .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2022/05/11 15:22 linux-4.14.y e3a56aaade89 8d7b3b67 .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2021/04/16 20:52 linux-4.14.y cf256fbcbe34 7e2b734b .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2021/03/15 09:57 linux-4.14.y c7150cd2fa8c cc1cff8f .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2021/01/21 06:32 linux-4.14.y 2762b48e9611 d4f4eca5 .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2021/01/10 22:02 linux-4.14.y ec822b3e8bf4 2c1f2513 .config console log report syz C ci2-linux-4-14
2021/01/10 21:50 linux-4.14.y ec822b3e8bf4 2c1f2513 .config console log report syz C ci2-linux-4-14
2020/12/01 05:04 linux-4.14.y 87335852c5d9 b3a34598 .config console log report syz C ci2-linux-4-14
2020/11/27 15:04 linux-4.14.y 87335852c5d9 486f93ef .config console log report syz C ci2-linux-4-14
2020/07/23 03:18 linux-4.14.y 69b94dd6dcd1 340ea530 .config console log report syz C ci2-linux-4-14
2020/07/03 00:50 linux-4.14.y b850307b279c f30c14bf .config console log report syz C ci2-linux-4-14
2020/05/13 17:35 linux-4.14.y ab9dfda23248 9a6d42fb .config console log report syz C ci2-linux-4-14
2020/04/21 13:18 linux-4.14.y c10b57a567e4 f20434a8 .config console log report syz C ci2-linux-4-14
2020/03/31 07:39 linux-4.14.y 01364dad1d45 c8d1cc20 .config console log report syz C ci2-linux-4-14
2020/02/22 01:10 linux-4.14.y 98db2bf27b9e 2ffa6679 .config console log report syz C ci2-linux-4-14
2019/11/28 01:12 linux-4.14.y 43598c571e7e 0d63f89c .config console log report syz C ci2-linux-4-14
2019/11/01 17:41 linux-4.14.y ddef1e8e3f6e a41ca8fa .config console log report syz C ci2-linux-4-14
2019/10/27 03:36 linux-4.14.y b98aebd29824 25bb509e .config console log report syz C ci2-linux-4-14
2019/10/25 18:38 linux-4.14.y b98aebd29824 04ca72cd .config console log report syz C ci2-linux-4-14
2019/10/22 19:06 linux-4.14.y b98aebd29824 4ee855e7 .config console log report syz C ci2-linux-4-14
2019/10/14 13:08 linux-4.14.y e132c8d7b58d a6aef847 .config console log report syz C ci2-linux-4-14
2019/10/03 12:47 linux-4.14.y f6e27dbb1afa fc17ba49 .config console log report syz C ci2-linux-4-14
2019/09/25 15:52 linux-4.14.y f6e27dbb1afa a3355dba .config console log report syz C ci2-linux-4-14
2019/09/11 11:17 linux-4.14.y e2cd24b62938 a60cb4cd .config console log report syz C ci2-linux-4-14
2019/08/31 13:16 linux-4.14.y 01fd1694b93c bcd7bcc2 .config console log report syz C ci2-linux-4-14
2019/08/23 22:37 linux-4.14.y 45f092f9e9cb 78ded196 .config console log report syz C ci2-linux-4-14
2019/08/07 21:16 linux-4.14.y b19ffe6e7205 e6ebef88 .config console log report syz C ci2-linux-4-14
2019/07/24 16:28 linux-4.14.y ff33472c282e 32329ceb .config console log report syz C ci2-linux-4-14
2019/07/23 18:11 linux-4.14.y ff33472c282e bb071d58 .config console log report syz C ci2-linux-4-14
2019/04/11 17:21 linux-4.14.y 1ec8f1f0bffe 13030ef8 .config console log report syz C ci2-linux-4-14
2019/04/11 17:02 linux-4.14.y 1ec8f1f0bffe 13030ef8 .config console log report syz C ci2-linux-4-14
2019/06/28 14:11 linux-4.14.y f4cc0ed9b2c7 7509bf36 .config console log report syz ci2-linux-4-14
2023/03/07 08:33 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/07 05:22 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/07 04:15 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/07 01:17 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/07 00:09 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/06 21:36 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/06 20:36 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/06 19:53 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/06 17:52 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/06 16:50 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/06 14:41 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/06 13:04 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/06 11:24 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/06 09:50 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/06 09:16 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/06 06:30 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/06 03:57 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/06 02:49 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 23:40 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 21:10 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 20:20 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 18:59 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 17:58 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 15:04 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 12:30 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 11:02 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 09:12 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 08:59 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 07:57 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 06:54 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 05:07 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 03:53 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 02:35 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/05 00:43 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/04 23:36 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/04 20:06 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/04 19:15 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/04 18:06 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/04 16:54 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/04 15:31 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/04 14:30 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2023/03/04 13:05 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tipc_bearer_find
2021/01/17 12:34 linux-4.14.y f79dc86058bc 813be542 .config console log report info ci2-linux-4-14
2019/04/11 12:14 linux-4.14.y 1ec8f1f0bffe e955ac50 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.