=============================
WARNING: suspicious RCU usage
6.14.0-rc2-syzkaller-00281-g496659003dac #0 Not tainted
-----------------------------
net/sched/sch_generic.c:1285 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:11/9315:
#0: ffff888049861148 ((wq_completion)bond0#7){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211
#1: ffffc900048cfd18 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: bond_mii_monitor+0x140/0x2d90 drivers/net/bonding/bond_main.c:2960
stack backtrace:
CPU: 0 UID: 0 PID: 9315 Comm: kworker/u8:11 Not tainted 6.14.0-rc2-syzkaller-00281-g496659003dac #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
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
lockdep_rcu_suspicious+0x210/0x3c0 kernel/locking/lockdep.c:6847
dev_deactivate_queue+0x1c0/0x210 net/sched/sch_generic.c:1285
netdev_for_each_tx_queue include/linux/netdevice.h:2590 [inline]
dev_deactivate_many+0x145/0xc30 net/sched/sch_generic.c:1361
dev_deactivate+0xf9/0x1c0 net/sched/sch_generic.c:1398
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/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:3236
process_scheduled_works kernel/workqueue.c:3317 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398
kthread+0x3af/0x750 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
=============================
WARNING: suspicious RCU usage
6.14.0-rc2-syzkaller-00281-g496659003dac #0 Not tainted
-----------------------------
./include/linux/rtnetlink.h:162 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:11/9315:
#0: ffff888049861148 ((wq_completion)bond0#7){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211
#1: ffffc900048cfd18 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: bond_mii_monitor+0x140/0x2d90 drivers/net/bonding/bond_main.c:2960
stack backtrace:
CPU: 0 UID: 0 PID: 9315 Comm: kworker/u8:11 Not tainted 6.14.0-rc2-syzkaller-00281-g496659003dac #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
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
lockdep_rcu_suspicious+0x210/0x3c0 kernel/locking/lockdep.c:6847
dev_ingress_queue include/linux/rtnetlink.h:162 [inline]
dev_deactivate_many+0x980/0xc30 net/sched/sch_generic.c:1363
dev_deactivate+0xf9/0x1c0 net/sched/sch_generic.c:1398
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/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:3236
process_scheduled_works kernel/workqueue.c:3317 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398
kthread+0x3af/0x750 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
BUG: sleeping function called from invalid context at net/core/dev.c:11677
in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 9315, name: kworker/u8:11
preempt_count: 0, expected: 0
RCU nest depth: 1, expected: 0
3 locks held by kworker/u8:11/9315:
#0: ffff888049861148 ((wq_completion)bond0#7){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211
#1: ffffc900048cfd18 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: bond_mii_monitor+0x140/0x2d90 drivers/net/bonding/bond_main.c:2960
CPU: 1 UID: 0 PID: 9315 Comm: kworker/u8:11 Not tainted 6.14.0-rc2-syzkaller-00281-g496659003dac #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
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:8766
synchronize_net+0x1b/0xa0 net/core/dev.c:11677
dev_deactivate_many+0xac0/0xc30 net/sched/sch_generic.c:1372
dev_deactivate+0xf9/0x1c0 net/sched/sch_generic.c:1398
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/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:3236
process_scheduled_works kernel/workqueue.c:3317 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398
kthread+0x3af/0x750 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
=============================
WARNING: suspicious RCU usage
6.14.0-rc2-syzkaller-00281-g496659003dac #0 Tainted: G W
-----------------------------
kernel/rcu/tree_exp.h:966 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:11/9315:
#0: ffff888049861148 ((wq_completion)bond0#7){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211
#1: ffffc900048cfd18 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: bond_mii_monitor+0x140/0x2d90 drivers/net/bonding/bond_main.c:2960
stack backtrace:
CPU: 1 UID: 0 PID: 9315 Comm: kworker/u8:11 Tainted: G W 6.14.0-rc2-syzkaller-00281-g496659003dac #0
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
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
lockdep_rcu_suspicious+0x210/0x3c0 kernel/locking/lockdep.c:6847
synchronize_rcu_expedited+0x1e5/0x450 kernel/rcu/tree_exp.h:966
synchronize_net+0x6f/0xa0 net/core/dev.c:11679
dev_deactivate_many+0xac0/0xc30 net/sched/sch_generic.c:1372
dev_deactivate+0xf9/0x1c0 net/sched/sch_generic.c:1398
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/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:3236
process_scheduled_works kernel/workqueue.c:3317 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398
kthread+0x3af/0x750 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
=============================
[ BUG: Invalid wait context ]
6.14.0-rc2-syzkaller-00281-g496659003dac #0 Tainted: G W
-----------------------------
kworker/u8:11/9315 is trying to lock:
ffffffff8e1c80f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:334
other info that might help us debug this:
context-{5:5}
3 locks held by kworker/u8:11/9315:
#0: ffff888049861148 ((wq_completion)bond0#7){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211
#1: ffffc900048cfd18 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#2: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: bond_mii_monitor+0x140/0x2d90 drivers/net/bonding/bond_main.c:2960
stack backtrace:
CPU: 1 UID: 0 PID: 9315 Comm: kworker/u8:11 Tainted: G W 6.14.0-rc2-syzkaller-00281-g496659003dac #0
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Workqueue: bond0 bond_mii_monitor
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_lock_invalid_wait_context kernel/locking/lockdep.c:4828 [inline]
check_wait_context kernel/locking/lockdep.c:4900 [inline]
__lock_acquire+0x878/0x3c40 kernel/locking/lockdep.c:5178
lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5851
__mutex_lock_common kernel/locking/mutex.c:585 [inline]
__mutex_lock+0x19b/0xb10 kernel/locking/mutex.c:730
exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:334
synchronize_rcu_expedited+0x290/0x450 kernel/rcu/tree_exp.h:996
synchronize_net+0x6f/0xa0 net/core/dev.c:11679
dev_deactivate_many+0xac0/0xc30 net/sched/sch_generic.c:1372
dev_deactivate+0xf9/0x1c0 net/sched/sch_generic.c:1398
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/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:3236
process_scheduled_works kernel/workqueue.c:3317 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398
kthread+0x3af/0x750 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148
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: 1 PID: 9315 at kernel/rcu/tree_plugin.h:332 rcu_note_context_switch+0xcc6/0x1b70 kernel/rcu/tree_plugin.h:332
Modules linked in:
CPU: 1 UID: 0 PID: 9315 Comm: kworker/u8:11 Tainted: G W 6.14.0-rc2-syzkaller-00281-g496659003dac #0
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Workqueue: bond0 bond_mii_monitor
RIP: 0010:rcu_note_context_switch+0xcc6/0x1b70 kernel/rcu/tree_plugin.h:332
Code: 7b 00 4c 8b 54 24 30 48 8b 44 24 28 8b 4c 24 10 e9 c6 03 00 00 c6 05 97 b4 a9 0e 01 90 48 c7 c7 a0 c2 6e 8b e8 0b fc d8 ff 90 <0f> 0b 90 90 e9 3e f4 ff ff 38 d0 7f 08 84 c0 0f 85 54 08 00 00 80
RSP: 0018:ffffc900048cf2c0 EFLAGS: 00010086
RAX: 0000000000000000 RBX: ffff8880b873fbc0 RCX: ffffffff817a1229
RDX: ffff88801f78a440 RSI: ffffffff817a1236 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: fffffffffffc30e0 R12: ffff88801f78a440
R13: ffff88801f78a440 R14: ffff88801f78a440 R15: ffff8880b873ec00
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f16e0a78990 CR3: 0000000048df4000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__schedule+0x297/0x5890 kernel/sched/core.c:6668
__schedule_loop kernel/sched/core.c:6841 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6856
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6913
mutex_optimistic_spin kernel/locking/mutex.c:485 [inline]
__mutex_lock_common kernel/locking/mutex.c:589 [inline]
__mutex_lock+0x93d/0xb10 kernel/locking/mutex.c:730
exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:334
synchronize_rcu_expedited+0x290/0x450 kernel/rcu/tree_exp.h:996
synchronize_net+0x6f/0xa0 net/core/dev.c:11679
dev_deactivate_many+0xac0/0xc30 net/sched/sch_generic.c:1372
dev_deactivate+0xf9/0x1c0 net/sched/sch_generic.c:1398
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/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:3236
process_scheduled_works kernel/workqueue.c:3317 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398
kthread+0x3af/0x750 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244