===================================== WARNING: bad unlock balance detected! 6.15.0-rc1-syzkaller-g2fe2b96c3818 #0 Not tainted ------------------------------------- syz.0.92/7041 is trying to release lock (&dev_instance_lock_key) at: [] netdev_unlock include/linux/netdevice.h:2756 [inline] [] netdev_unlock_ops include/net/netdev_lock.h:48 [inline] [] do_setlink+0x2ec0/0x36f0 net/core/rtnetlink.c:3406 but there are no more locks to release! other info that might help us debug this: 1 lock held by syz.0.92/7041: #0: ffff8000930815a8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffff8000930815a8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffff8000930815a8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xacc/0x185c net/core/rtnetlink.c:4064 stack backtrace: CPU: 0 UID: 0 PID: 7041 Comm: syz.0.92 Not tainted 6.15.0-rc1-syzkaller-g2fe2b96c3818 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:466 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 print_unlock_imbalance_bug+0x19c/0x1a8 kernel/locking/lockdep.c:5296 __lock_release kernel/locking/lockdep.c:-1 [inline] lock_release+0x244/0x3a0 kernel/locking/lockdep.c:5887 __mutex_unlock_slowpath+0xec/0x734 kernel/locking/mutex.c:907 mutex_unlock+0x18/0x24 kernel/locking/mutex.c:539 netdev_unlock include/linux/netdevice.h:2756 [inline] netdev_unlock_ops include/net/netdev_lock.h:48 [inline] do_setlink+0x2ec0/0x36f0 net/core/rtnetlink.c:3406 rtnl_changelink net/core/rtnetlink.c:3769 [inline] __rtnl_newlink net/core/rtnetlink.c:3928 [inline] rtnl_newlink+0x123c/0x185c net/core/rtnetlink.c:4065 rtnetlink_rcv_msg+0x670/0xa9c net/core/rtnetlink.c:6955 netlink_rcv_skb+0x234/0x408 net/netlink/af_netlink.c:2534 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6982 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x668/0x8a4 net/netlink/af_netlink.c:1339 netlink_sendmsg+0x708/0xaa4 net/netlink/af_netlink.c:1883 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg net/socket.c:727 [inline] ____sys_sendmsg+0x578/0x890 net/socket.c:2566 ___sys_sendmsg net/socket.c:2620 [inline] __sys_sendmsg+0x238/0x304 net/socket.c:2652 __do_sys_sendmsg net/socket.c:2657 [inline] __se_sys_sendmsg net/socket.c:2655 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2655 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600