BUG: sleeping function called from invalid context at net/core/dev.c:11422 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 12, name: kworker/u32:1 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. CPU: 3 UID: 0 PID: 12 Comm: kworker/u32:1 Not tainted 6.13.0-rc6-syzkaller-00262-gb62cef9a5c67 #0 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 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 __might_resched+0x3c0/0x5e0 kernel/sched/core.c:8758 synchronize_net+0x1b/0x60 net/core/dev.c:11422 dev_deactivate_many+0x2a1/0xb20 net/sched/sch_generic.c:1377 dev_deactivate+0xf9/0x1c0 net/sched/sch_generic.c:1403 linkwatch_do_dev+0x11e/0x160 net/core/link_watch.c:184 linkwatch_sync_dev+0x181/0x210 net/core/link_watch.c:272 ethtool_op_get_link+0x1d/0x70 net/ethtool/ioctl.c:62 bond_check_dev_link+0x197/0x430 drivers/net/bonding/bond_main.c:873 bond_miimon_inspect drivers/net/bonding/bond_main.c:2740 [inline] bond_mii_monitor+0x3c1/0x2d90 drivers/net/bonding/bond_main.c:2962 process_one_work+0x958/0x1b30 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 ------------[ cut here ]------------ Voluntary context switch within RCU read-side critical section! WARNING: CPU: 3 PID: 12 at kernel/rcu/tree_plugin.h:331 rcu_note_context_switch+0xc5c/0x1ae0 kernel/rcu/tree_plugin.h:331 Modules linked in: CPU: 3 UID: 0 PID: 12 Comm: kworker/u32:1 Tainted: G W 6.13.0-rc6-syzkaller-00262-gb62cef9a5c67 #0 Tainted: [W]=WARN 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:rcu_note_context_switch+0xc5c/0x1ae0 kernel/rcu/tree_plugin.h:331 Code: 7a 00 4c 8b 54 24 30 48 8b 44 24 28 8b 4c 24 10 e9 c6 03 00 00 c6 05 70 ab 84 0e 01 90 48 c7 c7 40 a6 4e 8b e8 05 2d d9 ff 90 <0f> 0b 90 90 e9 a8 f4 ff ff 38 d0 7f 08 84 c0 0f 85 2b 08 00 00 80 RSP: 0018:ffffc900001e75c8 EFLAGS: 00010086 RAX: 0000000000000000 RBX: ffff88802b73fcc0 RCX: ffffffff815a1789 RDX: ffff88801cebc880 RSI: ffffffff815a1796 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff816b5e0e R12: ffff88801cebc880 R13: ffff88801cebc880 R14: ffff88801cebc880 R15: ffff88802b73ed00 FS: 0000000000000000(0000) GS:ffff88802b700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8529ec2723 CR3: 000000002344a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __schedule+0x297/0x5ad0 kernel/sched/core.c:6661