netlink: 'syz-executor.5': attribute type 10 has an invalid length. ============================================ WARNING: possible recursive locking detected 6.10.0-rc4-syzkaller-00217-g35bb670d65fc #0 Not tainted -------------------------------------------- syz-executor.5/1340 is trying to acquire lock: ffff888024390d20 (team->team_lock_key#46){+.+.}-{3:3}, at: team_port_change_check+0x51/0x1e0 drivers/net/team/team_core.c:2950 but task is already holding lock: ffff888024390d20 (team->team_lock_key#46){+.+.}-{3:3}, at: team_add_slave+0xad/0x2750 drivers/net/team/team_core.c:1975 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(team->team_lock_key#46); lock(team->team_lock_key#46); *** DEADLOCK *** May be due to missing lock nesting notation 3 locks held by syz-executor.5/1340: #0: ffff88801dce6868 (&pipe->mutex){+.+.}-{3:3}, at: splice_to_socket+0xee/0x10b0 fs/splice.c:809 #1: ffffffff8f5e6a08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffffffff8f5e6a08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x1180 net/core/rtnetlink.c:6632 #2: ffff888024390d20 (team->team_lock_key#46){+.+.}-{3:3}, at: team_add_slave+0xad/0x2750 drivers/net/team/team_core.c:1975 stack backtrace: CPU: 1 PID: 1340 Comm: syz-executor.5 Not tainted 6.10.0-rc4-syzkaller-00217-g35bb670d65fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 check_deadlock kernel/locking/lockdep.c:3062 [inline] validate_chain+0x15d3/0x5900 kernel/locking/lockdep.c:3856 __lock_acquire+0x1346/0x1fd0 kernel/locking/lockdep.c:5137 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 __mutex_lock_common kernel/locking/mutex.c:608 [inline] __mutex_lock+0x136/0xd70 kernel/locking/mutex.c:752 team_port_change_check+0x51/0x1e0 drivers/net/team/team_core.c:2950 team_device_event+0x4e6/0x5b0 drivers/net/team/team_core.c:2973 notifier_call_chain+0x1a1/0x3e0 kernel/notifier.c:93 __dev_notify_flags+0x207/0x400 dev_change_flags+0xf0/0x1a0 net/core/dev.c:8858 vlan_device_event+0x1b81/0x1de0 net/8021q/vlan.c:468 notifier_call_chain+0x1a1/0x3e0 kernel/notifier.c:93 call_netdevice_notifiers_extack net/core/dev.c:2030 [inline] call_netdevice_notifiers net/core/dev.c:2044 [inline] dev_open+0x13a/0x1b0 net/core/dev.c:1513 team_port_add drivers/net/team/team_core.c:1216 [inline] team_add_slave+0x9b3/0x2750 drivers/net/team/team_core.c:1976 do_set_master net/core/rtnetlink.c:2701 [inline] do_setlink+0xe72/0x41f0 net/core/rtnetlink.c:2907 rtnl_setlink+0x40d/0x5a0 net/core/rtnetlink.c:3201 rtnetlink_rcv_msg+0x89d/0x1180 net/core/rtnetlink.c:6635 netlink_rcv_skb+0x1e5/0x430 net/netlink/af_netlink.c:2564 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline] netlink_unicast+0x7ec/0x980 net/netlink/af_netlink.c:1361 netlink_sendmsg+0x8db/0xcb0 net/netlink/af_netlink.c:1905 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x223/0x270 net/socket.c:745 sock_sendmsg+0x134/0x200 net/socket.c:768 splice_to_socket+0xa13/0x10b0 fs/splice.c:889 do_splice_from fs/splice.c:941 [inline] do_splice+0xd79/0x1900 fs/splice.c:1354 __do_splice fs/splice.c:1436 [inline] __do_sys_splice fs/splice.c:1652 [inline] __se_sys_splice+0x331/0x4a0 fs/splice.c:1634 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ffa2667d0a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffa2749d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007ffa267b3f80 RCX: 00007ffa2667d0a9 RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007ffa266ec074 R08: 0000000000008000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ffa267b3f80 R15: 00007ffe0708c128