------------[ cut here ]------------ RTNL: assertion failed at ./include/net/netdev_lock.h (72) WARNING: CPU: 0 PID: 1146 at ./include/net/netdev_lock.h:72 netdev_ops_assert_locked include/net/netdev_lock.h:72 [inline] WARNING: CPU: 0 PID: 1146 at ./include/net/netdev_lock.h:72 __linkwatch_sync_dev+0x1ed/0x230 net/core/link_watch.c:279 Modules linked in: CPU: 0 UID: 0 PID: 1146 Comm: kworker/u32:7 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 94 a8 88 f8 c6 05 e2 4f 15 07 01 90 ba 48 00 00 00 48 c7 c6 80 75 9f 8c 48 c7 c7 20 75 9f 8c e8 84 38 47 f8 90 <0f> 0b 90 90 e9 d6 fe ff ff 48 c7 c7 54 36 5f 90 e8 de 15 ef f8 e9 RSP: 0018:ffffc900063d79f0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff8880479f8000 RCX: ffffffff81796e88 RDX: ffff8880295d2440 RSI: ffffffff81796e95 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 1ffff92000c7af48 R13: ffff8880479f8cc1 R14: ffffffff8cc26e60 R15: ffffffff896b5e70 FS: 0000000000000000(0000) GS:ffff8880d6e81000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fda315a0f98 CR3: 000000005099d000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 3a810b1eb6134bdc DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: ethtool_op_get_link+0x1d/0x70 net/ethtool/ioctl.c:63 bond_check_dev_link+0x3f9/0x710 drivers/net/bonding/bond_main.c:865 bond_miimon_inspect drivers/net/bonding/bond_main.c:2763 [inline] bond_mii_monitor+0x3c0/0x2dc0 drivers/net/bonding/bond_main.c:2985 process_one_work+0x9cc/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+0x56a/0x730 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245