WARNING: suspicious RCU usage 5.10.0-rc1-syzkaller #0 Not tainted ----------------------------- drivers/net/bonding/bond_main.c:395 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz-executor.3/10017: #0: ffff88806c563b68 (&net->xfrm.xfrm_cfg_mutex){+.+.}-{3:3}, at: xfrm_netlink_rcv+0x5c/0x90 net/xfrm/xfrm_user.c:2763 stack backtrace: CPU: 2 PID: 10017 Comm: syz-executor.3 Not tainted 5.10.0-rc1-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 bond_ipsec_add_sa+0x1dc/0x240 drivers/net/bonding/bond_main.c:395 xfrm_dev_state_add+0x2da/0x7b0 net/xfrm/xfrm_device.c:268 xfrm_state_construct net/xfrm/xfrm_user.c:655 [inline] xfrm_add_sa+0x2166/0x34f0 net/xfrm/xfrm_user.c:684 xfrm_user_rcv_msg+0x42f/0x8b0 net/xfrm/xfrm_user.c:2752 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2494 xfrm_netlink_rcv+0x6b/0x90 net/xfrm/xfrm_user.c:2764 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1330 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:671 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2353 ___sys_sendmsg+0xf3/0x170 net/socket.c:2407 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2440 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45da59 Code: bd b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 8b b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f2fc2a98c88 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000720a60 RCX: 000000000045da59 RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000003 RBP: 00000000004aab8b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075bf00 R13: 00007ffea8e528ef R14: 00007f2fc2a79000 R15: 0000000000000003 bond0: (slave bond_slave_0): Slave does not support ipsec offload