============================= WARNING: suspicious RCU usage 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Not tainted ----------------------------- net/sched/sch_generic.c:1290 suspicious rcu_dereference_protected() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 3 locks held by kworker/u8:4/45: #0: ffff0000ddc35148 ((wq_completion)bond0#4){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff800099037c20 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff80008faafee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:336 stack backtrace: CPU: 1 UID: 0 PID: 45 Comm: kworker/u8:4 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bond0 bond_mii_monitor Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 lockdep_rcu_suspicious+0x264/0x46c kernel/locking/lockdep.c:6821 dev_deactivate_queue+0xb0/0x190 net/sched/sch_generic.c:1290 netdev_for_each_tx_queue include/linux/netdevice.h:2504 [inline] dev_deactivate_many+0xd4/0xa8c net/sched/sch_generic.c:1363 dev_deactivate+0x13c/0x1fc net/sched/sch_generic.c:1403 linkwatch_do_dev+0x100/0x1a8 net/core/link_watch.c:175 linkwatch_sync_dev+0x150/0x16c net/core/link_watch.c:263 ethtool_op_get_link+0x20/0x5c net/ethtool/ioctl.c:62 bond_check_dev_link+0x1ac/0x370 drivers/net/bonding/bond_main.c:873 bond_miimon_inspect drivers/net/bonding/bond_main.c:2731 [inline] bond_mii_monitor+0x3d8/0x28b4 drivers/net/bonding/bond_main.c:2953 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 ============================= WARNING: suspicious RCU usage 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Not tainted ----------------------------- include/linux/rtnetlink.h:100 suspicious rcu_dereference_protected() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 3 locks held by kworker/u8:4/45: #0: ffff0000ddc35148 ((wq_completion)bond0#4){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff800099037c20 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff80008faafee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:336 stack backtrace: CPU: 1 UID: 0 PID: 45 Comm: kworker/u8:4 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bond0 bond_mii_monitor Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 lockdep_rcu_suspicious+0x264/0x46c kernel/locking/lockdep.c:6821 dev_ingress_queue include/linux/rtnetlink.h:100 [inline] dev_deactivate_many+0x1ac/0xa8c net/sched/sch_generic.c:1365 dev_deactivate+0x13c/0x1fc net/sched/sch_generic.c:1403 linkwatch_do_dev+0x100/0x1a8 net/core/link_watch.c:175 linkwatch_sync_dev+0x150/0x16c net/core/link_watch.c:263 ethtool_op_get_link+0x20/0x5c net/ethtool/ioctl.c:62 bond_check_dev_link+0x1ac/0x370 drivers/net/bonding/bond_main.c:873 bond_miimon_inspect drivers/net/bonding/bond_main.c:2731 [inline] bond_mii_monitor+0x3d8/0x28b4 drivers/net/bonding/bond_main.c:2953 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 BUG: sleeping function called from invalid context at net/core/dev.c:11284 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 45, name: kworker/u8:4 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 3 locks held by kworker/u8:4/45: #0: ffff0000ddc35148 ((wq_completion)bond0#4){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff800099037c20 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff80008faafee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:336 CPU: 1 UID: 0 PID: 45 Comm: kworker/u8:4 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bond0 bond_mii_monitor Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 __might_resched+0x374/0x4d0 kernel/sched/core.c:8656 __might_sleep+0x90/0xe4 kernel/sched/core.c:8585 synchronize_net+0x24/0x60 net/core/dev.c:11284 dev_deactivate_many+0x4a8/0xa8c net/sched/sch_generic.c:1377 dev_deactivate+0x13c/0x1fc net/sched/sch_generic.c:1403 linkwatch_do_dev+0x100/0x1a8 net/core/link_watch.c:175 linkwatch_sync_dev+0x150/0x16c net/core/link_watch.c:263 ethtool_op_get_link+0x20/0x5c net/ethtool/ioctl.c:62 bond_check_dev_link+0x1ac/0x370 drivers/net/bonding/bond_main.c:873 bond_miimon_inspect drivers/net/bonding/bond_main.c:2731 [inline] bond_mii_monitor+0x3d8/0x28b4 drivers/net/bonding/bond_main.c:2953 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 ============================= WARNING: suspicious RCU usage 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Tainted: G W ----------------------------- kernel/rcu/tree_exp.h:949 Illegal synchronize_rcu_expedited() in RCU read-side critical section! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 3 locks held by kworker/u8:4/45: #0: ffff0000ddc35148 ((wq_completion)bond0#4){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff800099037c20 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff80008faafee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:336 stack backtrace: CPU: 1 UID: 0 PID: 45 Comm: kworker/u8:4 Tainted: G W 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bond0 bond_mii_monitor Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 lockdep_rcu_suspicious+0x264/0x46c kernel/locking/lockdep.c:6821 synchronize_rcu_expedited+0x12c/0x674 kernel/rcu/tree_exp.h:946 synchronize_net+0x44/0x60 net/core/dev.c:11286 dev_deactivate_many+0x4a8/0xa8c net/sched/sch_generic.c:1377 dev_deactivate+0x13c/0x1fc net/sched/sch_generic.c:1403 linkwatch_do_dev+0x100/0x1a8 net/core/link_watch.c:175 linkwatch_sync_dev+0x150/0x16c net/core/link_watch.c:263 ethtool_op_get_link+0x20/0x5c net/ethtool/ioctl.c:62 bond_check_dev_link+0x1ac/0x370 drivers/net/bonding/bond_main.c:873 bond_miimon_inspect drivers/net/bonding/bond_main.c:2731 [inline] bond_mii_monitor+0x3d8/0x28b4 drivers/net/bonding/bond_main.c:2953 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 ------------[ cut here ]------------ Voluntary context switch within RCU read-side critical section! WARNING: CPU: 1 PID: 45 at kernel/rcu/tree_plugin.h:331 rcu_note_context_switch+0xb84/0x101c kernel/rcu/tree_plugin.h:331 Modules linked in: CPU: 1 UID: 0 PID: 45 Comm: kworker/u8:4 Tainted: G W 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bond0 bond_mii_monitor pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : rcu_note_context_switch+0xb84/0x101c kernel/rcu/tree_plugin.h:331 lr : rcu_note_context_switch+0xb84/0x101c kernel/rcu/tree_plugin.h:331 sp : ffff800099037090 x29: ffff800099037120 x28: dfff800000000000 x27: 1ffff00011f1a0bc x26: 0000000000000000 x25: ffff80008f834900 x24: 0000000100000001 x23: 1fffe00018374b59 x22: ffff800123e21000 x21: ffff0000c1ba5ac8 x20: ffff0000c1ba5ec4 x19: ffff0000c1ba5ac0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff8000831615b0 x15: 0000000000000001 x14: 1fffe000366c80e2 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000003 x10: 0000000000ff0100 x9 : 015a4767e9bb0400 x8 : 015a4767e9bb0400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000990367b8 x4 : ffff80008f9bd220 x3 : ffff800080626d8c x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000000 Call trace: rcu_note_context_switch+0xb84/0x101c kernel/rcu/tree_plugin.h:331 (P) rcu_note_context_switch+0xb84/0x101c kernel/rcu/tree_plugin.h:331 (L) __schedule+0x2c8/0x27d0 kernel/sched/core.c:6573 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6785 synchronize_rcu_expedited+0x4f4/0x674 kernel/rcu/tree_exp.h:991 synchronize_net+0x44/0x60 net/core/dev.c:11286 dev_deactivate_many+0x4a8/0xa8c net/sched/sch_generic.c:1377 dev_deactivate+0x13c/0x1fc net/sched/sch_generic.c:1403 linkwatch_do_dev+0x100/0x1a8 net/core/link_watch.c:175 linkwatch_sync_dev+0x150/0x16c net/core/link_watch.c:263 ethtool_op_get_link+0x20/0x5c net/ethtool/ioctl.c:62 bond_check_dev_link+0x1ac/0x370 drivers/net/bonding/bond_main.c:873 bond_miimon_inspect drivers/net/bonding/bond_main.c:2731 [inline] bond_mii_monitor+0x3d8/0x28b4 drivers/net/bonding/bond_main.c:2953 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 irq event stamp: 112482 hardirqs last enabled at (112481): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (112481): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (112482): [] __schedule+0x2bc/0x27d0 kernel/sched/core.c:6572 softirqs last enabled at (112476): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (112476): [] handle_softirqs+0xa38/0xbf8 kernel/softirq.c:582 softirqs last disabled at (112345): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---