syzbot


WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup

Status: closed as invalid on 2022/02/23 00:19
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 348d, last: 344d

Cause bisection: introduced by (bisect log) :
commit e4b8954074f6d0db01c8c97d338a67f9389c042f
Author: Eric Dumazet <edumazet@google.com>
Date: Tue Dec 7 01:30:37 2021 +0000

  netlink: add net device refcount tracker to struct ethnl_req_info

Crash: WARNING in ref_tracker_dir_exit (log)
Repro: C syz .config

Fix bisection: fixed by (bisect log) [no-op commit]:
commit f3a8076eb28cae1553958c629aecec479394bbe2
Author: Le Ma <le.ma@amd.com>
Date: Sat Dec 4 10:59:08 2021 +0000

  drm/amdgpu: correct register access for RLC_JUMP_TABLE_RESTORE


Sample crash report:
=============================
WARNING: suspicious RCU usage
5.16.0-rc5-syzkaller #0 Not tainted
-----------------------------
include/net/tc_act/tc_tunnel_key.h:33 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-executor393/3602:
 #0: ffffffff8d313968 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
 #0: ffffffff8d313968 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] net/core/rtnetlink.c:5567
 #0: ffffffff8d313968 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3be/0xb80 net/core/rtnetlink.c:5567 net/core/rtnetlink.c:5567

stack backtrace:
CPU: 1 PID: 3602 Comm: syz-executor393 Not tainted 5.16.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 __dump_stack lib/dump_stack.c:88 [inline] lib/dump_stack.c:106
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 lib/dump_stack.c:106
 is_tcf_tunnel_set include/net/tc_act/tc_tunnel_key.h:33 [inline]
 is_tcf_tunnel_set include/net/tc_act/tc_tunnel_key.h:33 [inline] net/sched/act_tunnel_key.c:832
 tcf_tunnel_key_offload_act_setup+0x4f2/0xa20 net/sched/act_tunnel_key.c:832 net/sched/act_tunnel_key.c:832
 offload_action_init net/sched/act_api.c:194 [inline]
 offload_action_init net/sched/act_api.c:194 [inline] net/sched/act_api.c:263
 tcf_action_offload_add_ex+0x279/0x550 net/sched/act_api.c:263 net/sched/act_api.c:263
 tcf_action_offload_add net/sched/act_api.c:294 [inline]
 tcf_action_offload_add net/sched/act_api.c:294 [inline] net/sched/act_api.c:1439
 tcf_action_init+0x601/0x860 net/sched/act_api.c:1439 net/sched/act_api.c:1439
 tcf_action_add+0xf9/0x480 net/sched/act_api.c:1940 net/sched/act_api.c:1940
 tc_ctl_action+0x346/0x470 net/sched/act_api.c:1999 net/sched/act_api.c:1999
 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5570 net/core/rtnetlink.c:5570
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2492 net/netlink/af_netlink.c:2492
 netlink_unicast_kernel net/netlink/af_netlink.c:1315 [inline]
 netlink_unicast_kernel net/netlink/af_netlink.c:1315 [inline] net/netlink/af_netlink.c:1341
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1341 net/netlink/af_netlink.c:1341
 netlink_sendmsg+0x904/0xdf0 net/netlink/af_netlink.c:1917 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg_nosec net/socket.c:704 [inline] net/socket.c:724
 sock_sendmsg+0xcf/0x120 net/socket.c:724 net/socket.c:724
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2409 net/socket.c:2409
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2463 net/socket.c:2463
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2492 net/socket.c:2492
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_x64 arch/x86/entry/common.c:50 [inline] arch/x86/entry/common.c:80
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f896932b2a9
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffeff6cc4d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f896932b2a9
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003

Crashes (124):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-kasan-gce 2021/12/19 17:20 net-next 434ed2138994 44068e19 .config log report syz C WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/23 15:44 net-next e087cba11677 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/23 11:34 net-next e087cba11677 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/23 11:04 net-next e087cba11677 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/23 08:39 net-next e087cba11677 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/23 03:05 net-next e087cba11677 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/22 23:03 net-next f4f2970dfd87 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/22 14:17 net-next f4f2970dfd87 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/22 13:45 net-next f4f2970dfd87 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/22 09:58 net-next 294e70c952b4 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/22 00:38 net-next 294e70c952b4 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/21 22:20 net-next f7a5319b4477 a938f0b8 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/21 17:53 net-next f7a5319b4477 a938f0b8 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/21 16:23 net-next f7a5319b4477 a938f0b8 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/21 13:07 net-next f7a5319b4477 a938f0b8 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/21 11:50 net-next f7a5319b4477 a938f0b8 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/21 10:45 net-next f7a5319b4477 62bd192b .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/21 07:39 net-next 4b430f5c9680 62bd192b .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/21 03:54 net-next 4b430f5c9680 62bd192b .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/20 19:30 net-next 4b430f5c9680 62bd192b .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/20 18:04 net-next 4b430f5c9680 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/20 13:05 net-next 4b430f5c9680 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/20 13:05 net-next 4b430f5c9680 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/20 12:53 net-next 4b430f5c9680 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/20 12:52 net-next 4b430f5c9680 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/20 12:36 net-next 4b430f5c9680 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/20 12:31 net-next 4b430f5c9680 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/20 12:28 net-next 4b430f5c9680 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-net-kasan-gce 2021/12/19 16:28 net-next 434ed2138994 44068e19 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/23 09:43 linux-next 79f063d60c8c 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/22 15:37 linux-next 2bd48302750c 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/22 11:42 linux-next 07f8c60fe60f 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/22 03:50 linux-next 07f8c60fe60f 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/22 01:56 linux-next 07f8c60fe60f 6caa12e4 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/21 14:54 linux-next 07f8c60fe60f a938f0b8 .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/20 23:24 linux-next 07f8c60fe60f 62bd192b .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/20 21:23 linux-next 07f8c60fe60f 62bd192b .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/20 15:36 linux-next 07f8c60fe60f 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/20 15:27 linux-next 07f8c60fe60f 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/20 15:06 linux-next 07f8c60fe60f 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/20 14:41 linux-next 07f8c60fe60f 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/20 13:56 linux-next 07f8c60fe60f 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/20 13:51 linux-next 07f8c60fe60f 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/20 13:31 linux-next 07f8c60fe60f 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/20 12:46 linux-next 07f8c60fe60f 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
ci-upstream-linux-next-kasan-gce-root 2021/12/20 12:41 linux-next 07f8c60fe60f 021b36cb .config log report info WARNING: suspicious RCU usage in tcf_tunnel_key_offload_act_setup
* Struck through repros no longer work on HEAD.