------------[ cut here ]------------ RTNL: assertion failed at ./include/net/netdev_lock.h (56) WARNING: CPU: 1 PID: 27700 at ./include/net/netdev_lock.h:56 netdev_ops_assert_locked include/net/netdev_lock.h:56 [inline] WARNING: CPU: 1 PID: 27700 at ./include/net/netdev_lock.h:56 __linkwatch_sync_dev+0xa0/0xa8 net/core/link_watch.c:279 Modules linked in: CPU: 1 UID: 0 PID: 27700 Comm: kworker/u8:0 Not tainted 6.15.0-rc6-syzkaller-00052-g9f35e33144ae #0 PREEMPT Hardware name: linux,dummy-virt (DT) Workqueue: bond0 bond_mii_monitor pstate: 60402009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : netdev_ops_assert_locked include/net/netdev_lock.h:56 [inline] pc : __linkwatch_sync_dev+0xa0/0xa8 net/core/link_watch.c:279 lr : netdev_ops_assert_locked include/net/netdev_lock.h:56 [inline] lr : __linkwatch_sync_dev+0xa0/0xa8 net/core/link_watch.c:279 sp : ffff80008965bc60 x29: ffff80008965bc60 x28: 0000000000000003 x27: 0000000000000001 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000001 x23: f6f00000099e0d70 x22: 00000000ffffffff x21: 0000000000000000 x20: 0000000000000000 x19: fdf000000a233000 x18: 00000000ffffffff x17: fff07ffffd03b000 x16: ffff800080008000 x15: ffff80008965b690 x14: 0000000000000283 x13: ffff8000828d1138 x12: 0000000000000001 x11: 0000052c93b35f03 x10: 09a8ecea8883bdb0 x9 : bf80a146ae948898 x8 : faf0000009832428 x7 : fff000007f8edb00 x6 : fff07ffffd03b000 x5 : ffff8000828d4480 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : faf0000009831240 Call trace: netdev_ops_assert_locked include/net/netdev_lock.h:56 [inline] (P) __linkwatch_sync_dev+0xa0/0xa8 net/core/link_watch.c:279 (P) ethtool_op_get_link+0x18/0x34 net/ethtool/ioctl.c:63 bond_check_dev_link+0x128/0x1cc drivers/net/bonding/bond_main.c:866 bond_miimon_inspect drivers/net/bonding/bond_main.c:2739 [inline] bond_mii_monitor+0x110/0x91c drivers/net/bonding/bond_main.c:2961 process_one_work+0x178/0x2cc kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x250/0x358 kernel/workqueue.c:3400 kthread+0x130/0x1fc kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 ---[ end trace 0000000000000000 ]--- bond0 (unregistering): (slave bond_slave_0): Releasing backup interface bond0 (unregistering): (slave bond_slave_1): Releasing backup interface bond0 (unregistering): Released all slaves netdevsim netdevsim1 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim1 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim1 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim1 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 bond1 (unregistering): (slave ip6gretap1): Releasing backup interface bond1 (unregistering): (slave ip6gretap1): the permanent HWaddr of slave - 0e:b5:51:cc:7d:cd - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts bond0 (unregistering): (slave bond_slave_0): Releasing backup interface bond0 (unregistering): (slave bond_slave_1): Releasing backup interface bond0 (unregistering): Released all slaves bond1 (unregistering): (slave veth3): Releasing backup interface bond1 (unregistering): Released all slaves hsr_slave_0: left promiscuous mode hsr_slave_1: left promiscuous mode veth1_macvtap: left promiscuous mode veth0_macvtap: left promiscuous mode veth1_vlan: left promiscuous mode veth0_vlan: left promiscuous mode