BUG: sleeping function called from invalid context at net/core/dev.c:11403 INFO: lockdep is turned off. CPU: 3 UID: 0 PID: 1145 Comm: kworker/u32:8 Not tainted 6.13.0-rc4-syzkaller-00054-gd6ef8b40d075 #0 Call Trace: synchronize_net+0x1b/0x60 net/core/dev.c:11403 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 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 Kernel panic - not syncing: kernel: panic_on_warn set ... CPU: 2 UID: 0 PID: 1145 Comm: kworker/u32:8 Tainted: G W 6.13.0-rc4-syzkaller-00054-gd6ef8b40d075 #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 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x3d/0x1f0 lib/dump_stack.c:120 panic+0x71d/0x800 kernel/panic.c:354 check_panic_on_warn+0xab/0xb0 kernel/panic.c:243 __warn+0xf6/0x3c0 kernel/panic.c:748 __report_bug lib/bug.c:199 [inline] report_bug+0x3c0/0x580 lib/bug.c:219 handle_bug+0x54/0xa0 arch/x86/kernel/traps.c:285 exc_invalid_op+0x17/0x50 arch/x86/kernel/traps.c:309 asm_exc_invalid_op+0x1a/0x20 arch/x86/include/asm/idtentry.h:621 RIP: 0010:rcu_note_context_switch+0xc5c/0x1ae0 kernel/rcu/tree_plugin.h:331 Code: 7b 00 4c 8b 54 24 30 48 8b 44 24 28 8b 4c 24 10 e9 c6 03 00 00 c6 05 0d 70 c6 0e 01 90 48 c7 c7 20 b0 6e 8b e8 c5 e5 d8 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:ffffc90005f9f390 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffff88806a83fb80 RCX: ffffffff815a50d9 RDX: ffff888027198000 RSI: ffffffff815a50e6 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 000000002d2d2d2d R12: ffff888027198000 R13: ffff888027198000 R14: ffff888027198000 R15: ffff88806a83ebc0 __schedule+0x297/0x5ad0 kernel/sched/core.c:6661 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x62b/0xa60 kernel/locking/mutex.c:735 exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 synchronize_rcu_expedited+0x290/0x450 kernel/rcu/tree_exp.h:976 synchronize_net+0x3e/0x60 net/core/dev.c:11405 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:180 linkwatch_sync_dev+0x181/0x210 net/core/link_watch.c:268 ethtool_op_get_link+0x1d/0x70 net/ethtool/ioctl.c:62 bond_check_dev_link+0x197/0x490 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+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 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 Kernel Offset: disabled