syzbot


WARNING: suspicious RCU usage in tcf_sample_init

Status: upstream: reported C repro on 2020/01/23 11:11
Reported-by: syzbot+245b46609cdf967d1aa4@syzkaller.appspotmail.com
First crash: 1799d, last: 662d

Sample crash report:
=============================
WARNING: suspicious RCU usage
4.14.300-syzkaller #0 Not tainted
-----------------------------
net/sched/act_sample.c:95 suspicious rcu_dereference_protected() usage!

other info that might help us debug this:


rcu_scheduler_active = 2, debug_locks = 1
1 lock held by syz-executor156/7973:
 #0:  (rtnl_mutex){+.+.}, at: [<ffffffff85c8aabd>] rtnl_lock net/core/rtnetlink.c:72 [inline]
 #0:  (rtnl_mutex){+.+.}, at: [<ffffffff85c8aabd>] rtnetlink_rcv_msg+0x31d/0xb10 net/core/rtnetlink.c:4317

stack backtrace:
CPU: 0 PID: 7973 Comm: syz-executor156 Not tainted 4.14.300-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
 tcf_sample_init+0x71c/0x8c0 net/sched/act_sample.c:95
 tcf_action_init_1+0x51a/0x9e0 net/sched/act_api.c:691
 tcf_action_init+0x26d/0x400 net/sched/act_api.c:760
 tcf_action_add net/sched/act_api.c:1088 [inline]
 tc_ctl_action+0x2e3/0x510 net/sched/act_api.c:1140
 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4322
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2454
 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_aft

Crashes (7254):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/28 00:06 linux-4.14.y 179ef7fe8677 f4470a7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2022/08/19 23:46 linux-4.14.y b641242202ed 26a13b38 .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2022/05/11 23:33 linux-4.14.y e3a56aaade89 beb0b407 .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2021/04/14 03:09 linux-4.14.y 958e517f4e16 a184b83e .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2021/03/11 11:36 linux-4.14.y 1d177c0872ab c2ca1f2a .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2020/12/25 02:22 linux-4.14.y 3f2ecb86cb90 c2c1d1dd .config console log report syz C ci2-linux-4-14
2020/07/06 17:33 linux-4.14.y b850307b279c ac5a135b .config console log report syz C ci2-linux-4-14
2020/07/02 23:49 linux-4.14.y b850307b279c f30c14bf .config console log report syz C ci2-linux-4-14
2020/04/14 09:59 linux-4.14.y c10b57a567e4 7c54686a .config console log report syz C ci2-linux-4-14
2020/02/22 05:23 linux-4.14.y 98db2bf27b9e 2ffa6679 .config console log report syz C ci2-linux-4-14
2020/01/23 11:31 linux-4.14.y 8bac50406cca 3334d684 .config console log report syz C ci2-linux-4-14
2023/03/05 08: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 tcf_sample_init
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 tcf_sample_init
2023/03/03 13:23 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 tcf_sample_init
2023/03/03 11:14 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 tcf_sample_init
2023/03/02 21:01 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 tcf_sample_init
2023/03/02 03:21 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 tcf_sample_init
2023/03/02 02:13 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 tcf_sample_init
2023/03/01 20: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 tcf_sample_init
2023/03/01 13:25 linux-4.14.y 7878a41b6cc1 ef65e6cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/03/01 11:54 linux-4.14.y 7878a41b6cc1 ef65e6cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/03/01 08:54 linux-4.14.y 7878a41b6cc1 ef65e6cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/28 04:04 linux-4.14.y 7878a41b6cc1 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/28 02:11 linux-4.14.y 7878a41b6cc1 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/28 00:47 linux-4.14.y 7878a41b6cc1 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/27 23:33 linux-4.14.y 7878a41b6cc1 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/27 21:26 linux-4.14.y 7878a41b6cc1 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/27 19:35 linux-4.14.y 7878a41b6cc1 9189cb53 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/27 19:25 linux-4.14.y 7878a41b6cc1 9189cb53 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/27 16:32 linux-4.14.y 7878a41b6cc1 9189cb53 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/27 12:33 linux-4.14.y 7878a41b6cc1 9189cb53 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/27 11:12 linux-4.14.y 7878a41b6cc1 9189cb53 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/27 10:03 linux-4.14.y 7878a41b6cc1 9189cb53 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/27 06:34 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/26 21:18 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/26 14:32 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/26 02:59 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/26 01:36 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/25 22:06 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/25 20:06 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/25 16:30 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/25 14:37 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/25 12:42 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/24 14:29 linux-4.14.y 1e61bd26fa2c ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/24 13:21 linux-4.14.y 1e61bd26fa2c ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/24 11:14 linux-4.14.y 1e61bd26fa2c ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/23 15:52 linux-4.14.y 1e61bd26fa2c 9e2ebb3c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/23 14:36 linux-4.14.y 1e61bd26fa2c 9e2ebb3c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/23 12:20 linux-4.14.y 1e61bd26fa2c 9e2ebb3c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/22 19:52 linux-4.14.y 1e61bd26fa2c 9f1e2cb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/22 18:44 linux-4.14.y 1e61bd26fa2c 9f1e2cb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/22 18:09 linux-4.14.y 1e61bd26fa2c 9f1e2cb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/22 16:52 linux-4.14.y 1e61bd26fa2c 9f1e2cb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/22 14:48 linux-4.14.y 1e61bd26fa2c 9f1e2cb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2023/02/22 13:05 linux-4.14.y 1e61bd26fa2c 42a4d508 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING: suspicious RCU usage in tcf_sample_init
2021/01/17 14:18 linux-4.14.y 2762b48e9611 813be542 .config console log report info ci2-linux-4-14
2020/01/23 11:11 linux-4.14.y 8bac50406cca 3334d684 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.