netlink: 'syz-executor881': attribute type 1 has an invalid length. 8021q: adding VLAN 0 to HW filter on device bond1 ============================= WARNING: suspicious RCU usage 5.12.0-rc5-syzkaller #0 Not tainted ----------------------------- drivers/net/bonding/bond_main.c:411 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-executor881/8376: #0: ffffffff8d6f1968 (&net->xfrm.xfrm_cfg_mutex){+.+.}-{3:3}, at: xfrm_netlink_rcv+0x61/0x80 net/xfrm/xfrm_user.c:2823 stack backtrace: CPU: 0 PID: 8376 Comm: syz-executor881 Not tainted 5.12.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:79 [inline] dump_stack+0x176/0x24e lib/dump_stack.c:120 bond_ipsec_add_sa+0xe9/0x1f0 drivers/net/bonding/bond_main.c:411 xfrm_dev_state_add+0x419/0x6c0 net/xfrm/xfrm_device.c:268 xfrm_state_construct net/xfrm/xfrm_user.c:655 [inline] xfrm_add_sa+0x2a74/0x3ab0 net/xfrm/xfrm_user.c:684 xfrm_user_rcv_msg+0x609/0x800 net/xfrm/xfrm_user.c:2812 netlink_rcv_skb+0x190/0x3a0 net/netlink/af_netlink.c:2502 xfrm_netlink_rcv+0x70/0x80 net/xfrm/xfrm_user.c:2824 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x786/0x940 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x9ae/0xd50 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] ____sys_sendmsg+0x519/0x800 net/socket.c:2350 ___sys_sendmsg net/socket.c:2404 [inline] __sys_sendmsg+0x2bf/0x370 net/socket.c:2433 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x43f0b9 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:00007ffe93544498 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000400488 RCX: 000000000043f0b9 RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000004 RBP: 00000000004030a0 R08: 0000000000400488 R09: 0000000000400488 R10: 0000000000400488 R11: 0000000000000246 R12: 0000000000403130 R13: 0000000000000000 R14: 00000000004ac018 R15: 0000000000400488 stack segment: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8376 Comm: syz-executor881 Not tainted 5.12.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bond_ipsec_add_sa+0xf3/0x1f0 drivers/net/bonding/bond_main.c:412 Code: fc c6 05 fb 21 d4 08 01 48 c7 c7 e7 4f 78 8b be 9b 01 00 00 48 c7 c2 60 dc 41 8a e8 b7 82 8f fc 4c 89 e5 48 c1 ed 03 4d 89 ee <42> 80 7c 2d 00 00 74 08 4c 89 e7 e8 dd 7d ef fc 4d 8b 2c 24 49 8d RSP: 0018:ffffc90000edf770 EFLAGS: 00010246 RAX: 7bf6ae087f8d7000 RBX: 0000000000000000 RCX: ffff888029570000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff83f4a5d7 R09: fffffbfff1f26eca R10: fffffbfff1f26eca R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff88801407c000 FS: 00000000018d6300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff2cb51ff8 CR3: 0000000025e88000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xfrm_dev_state_add+0x419/0x6c0 net/xfrm/xfrm_device.c:268 xfrm_state_construct net/xfrm/xfrm_user.c:655 [inline] xfrm_add_sa+0x2a74/0x3ab0 net/xfrm/xfrm_user.c:684 xfrm_user_rcv_msg+0x609/0x800 net/xfrm/xfrm_user.c:2812 netlink_rcv_skb+0x190/0x3a0 net/netlink/af_netlink.c:2502 xfrm_netlink_rcv+0x70/0x80 net/xfrm/xfrm_user.c:2824 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x786/0x940 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x9ae/0xd50 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] ____sys_sendmsg+0x519/0x800 net/socket.c:2350 ___sys_sendmsg net/socket.c:2404 [inline] __sys_sendmsg+0x2bf/0x370 net/socket.c:2433 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x43f0b9 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:00007ffe93544498 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000400488 RCX: 000000000043f0b9 RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000004 RBP: 00000000004030a0 R08: 0000000000400488 R09: 0000000000400488 R10: 0000000000400488 R11: 0000000000000246 R12: 0000000000403130 R13: 0000000000000000 R14: 00000000004ac018 R15: 0000000000400488 Modules linked in: ---[ end trace a69c222991d66c52 ]--- RIP: 0010:bond_ipsec_add_sa+0xf3/0x1f0 drivers/net/bonding/bond_main.c:412 Code: fc c6 05 fb 21 d4 08 01 48 c7 c7 e7 4f 78 8b be 9b 01 00 00 48 c7 c2 60 dc 41 8a e8 b7 82 8f fc 4c 89 e5 48 c1 ed 03 4d 89 ee <42> 80 7c 2d 00 00 74 08 4c 89 e7 e8 dd 7d ef fc 4d 8b 2c 24 49 8d RSP: 0018:ffffc90000edf770 EFLAGS: 00010246 RAX: 7bf6ae087f8d7000 RBX: 0000000000000000 RCX: ffff888029570000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff83f4a5d7 R09: fffffbfff1f26eca R10: fffffbfff1f26eca R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff88801407c000 FS: 00000000018d6300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff2cb51ff8 CR3: 0000000025e88000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400