------------[ cut here ]------------ RTNL: assertion failed at ./include/net/netdev_lock.h (72) WARNING: CPU: 1 PID: 1188 at ./include/net/netdev_lock.h:72 netdev_ops_assert_locked include/net/netdev_lock.h:72 [inline] WARNING: CPU: 1 PID: 1188 at ./include/net/netdev_lock.h:72 __linkwatch_sync_dev+0x1ed/0x230 net/core/link_watch.c:279 Modules linked in: CPU: 1 UID: 0 PID: 1188 Comm: kworker/u32:10 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: bond0 bond_mii_monitor RIP: 0010:netdev_ops_assert_locked include/net/netdev_lock.h:72 [inline] RIP: 0010:__linkwatch_sync_dev+0x1ed/0x230 net/core/link_watch.c:279 Code: 05 ff ff ff e8 c4 eb 43 f8 c6 05 3b 0f 1c 07 01 90 ba 48 00 00 00 48 c7 c6 60 ec e5 8c 48 c7 c7 00 ec e5 8c e8 74 91 02 f8 90 <0f> 0b 90 90 e9 d6 fe ff ff 48 c7 c7 54 7d ab 90 e8 1e 45 aa f8 e9 RSP: 0018:ffffc900066f79f0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88803876a000 RCX: ffffffff817a3358 RDX: ffff888029a4c880 RSI: ffffffff817a3365 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 1ffff92000cdef48 R13: ffff88803876acc1 R14: ffffffff8c59dbe0 R15: ffffffff89b0c250 FS: 0000000000000000(0000) GS:ffff8880d67b9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f872ca01000 CR3: 000000000e380000 CR4: 0000000000352ef0 Call Trace: ethtool_op_get_link+0x1d/0x70 net/ethtool/ioctl.c:63 bond_check_dev_link+0x3fc/0x710 drivers/net/bonding/bond_main.c:865 bond_miimon_inspect drivers/net/bonding/bond_main.c:2762 [inline] bond_mii_monitor+0x3c0/0x2dc0 drivers/net/bonding/bond_main.c:2984 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c2/0x780 kernel/kthread.c:463 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245