============================= WARNING: suspicious RCU usage 6.10.0-rc6-syzkaller-gc562ba719df5 #0 Not tainted ----------------------------- net/sched/sch_generic.c:1283 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:1/9915: #0: ff600000133b1148 ((wq_completion)bond0#3){+.+.}-{0:0}, at: process_one_work+0x826/0x1d5c kernel/workqueue.c:3223 #1: ff2000000075bc90 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x852/0x1d5c kernel/workqueue.c:3223 #2: ffffffff87dc3d00 (rcu_read_lock){....}-{1:2}, at: bond_mii_monitor+0x11a/0x29a8 drivers/net/bonding/bond_main.c:2821 stack backtrace: CPU: 1 PID: 9915 Comm: kworker/u8:1 Not tainted 6.10.0-rc6-syzkaller-gc562ba719df5 #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: bond0 bond_mii_monitor Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:130 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:136 [] __dump_stack lib/dump_stack.c:88 [inline] [] dump_stack_lvl+0x122/0x196 lib/dump_stack.c:114 [] dump_stack+0x1c/0x24 lib/dump_stack.c:123 [] lockdep_rcu_suspicious+0x264/0x3c0 kernel/locking/lockdep.c:6712 [] dev_deactivate_queue+0x188/0x1ac net/sched/sch_generic.c:1283 [] netdev_for_each_tx_queue include/linux/netdevice.h:2504 [inline] [] dev_deactivate_many+0xe6/0xbfa net/sched/sch_generic.c:1356 [] dev_deactivate+0xf4/0x1c6 net/sched/sch_generic.c:1396 [] linkwatch_do_dev+0x104/0x154 net/core/link_watch.c:175 [] linkwatch_sync_dev+0x14a/0x1da net/core/link_watch.c:263 [] ethtool_op_get_link+0x1e/0x54 net/ethtool/ioctl.c:62 [] bond_check_dev_link+0x1ae/0x386 drivers/net/bonding/bond_main.c:757 [] bond_miimon_inspect drivers/net/bonding/bond_main.c:2604 [inline] [] bond_mii_monitor+0x3de/0x29a8 drivers/net/bonding/bond_main.c:2826 [] process_one_work+0x938/0x1d5c kernel/workqueue.c:3248 [] process_scheduled_works kernel/workqueue.c:3329 [inline] [] worker_thread+0x5be/0xdec kernel/workqueue.c:3409 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x1c arch/riscv/kernel/entry.S:232 ============================= WARNING: suspicious RCU usage 6.10.0-rc6-syzkaller-gc562ba719df5 #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:1/9915: #0: ff600000133b1148 ((wq_completion)bond0#3){+.+.}-{0:0}, at: process_one_work+0x826/0x1d5c kernel/workqueue.c:3223 #1: ff2000000075bc90 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x852/0x1d5c kernel/workqueue.c:3223 #2: ffffffff87dc3d00 (rcu_read_lock){....}-{1:2}, at: bond_mii_monitor+0x11a/0x29a8 drivers/net/bonding/bond_main.c:2821 stack backtrace: CPU: 1 PID: 9915 Comm: kworker/u8:1 Not tainted 6.10.0-rc6-syzkaller-gc562ba719df5 #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: bond0 bond_mii_monitor Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:130 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:136 [] __dump_stack lib/dump_stack.c:88 [inline] [] dump_stack_lvl+0x122/0x196 lib/dump_stack.c:114 [] dump_stack+0x1c/0x24 lib/dump_stack.c:123 [] lockdep_rcu_suspicious+0x264/0x3c0 kernel/locking/lockdep.c:6712 [] dev_ingress_queue include/linux/rtnetlink.h:100 [inline] [] dev_deactivate_many+0x96a/0xbfa net/sched/sch_generic.c:1358 [] dev_deactivate+0xf4/0x1c6 net/sched/sch_generic.c:1396 [] linkwatch_do_dev+0x104/0x154 net/core/link_watch.c:175 [] linkwatch_sync_dev+0x14a/0x1da net/core/link_watch.c:263 [] ethtool_op_get_link+0x1e/0x54 net/ethtool/ioctl.c:62 [] bond_check_dev_link+0x1ae/0x386 drivers/net/bonding/bond_main.c:757 [] bond_miimon_inspect drivers/net/bonding/bond_main.c:2604 [inline] [] bond_mii_monitor+0x3de/0x29a8 drivers/net/bonding/bond_main.c:2826 [] process_one_work+0x938/0x1d5c kernel/workqueue.c:3248 [] process_scheduled_works kernel/workqueue.c:3329 [inline] [] worker_thread+0x5be/0xdec kernel/workqueue.c:3409 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x1c arch/riscv/kernel/entry.S:232 BUG: sleeping function called from invalid context at net/core/dev.c:11125 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 9915, name: kworker/u8:1 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 3 locks held by kworker/u8:1/9915: #0: ff600000133b1148 ((wq_completion)bond0#3){+.+.}-{0:0}, at: process_one_work+0x826/0x1d5c kernel/workqueue.c:3223 #1: ff2000000075bc90 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x852/0x1d5c kernel/workqueue.c:3223 #2: ffffffff87dc3d00 (rcu_read_lock){....}-{1:2}, at: bond_mii_monitor+0x11a/0x29a8 drivers/net/bonding/bond_main.c:2821 CPU: 0 PID: 9915 Comm: kworker/u8:1 Not tainted 6.10.0-rc6-syzkaller-gc562ba719df5 #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: bond0 bond_mii_monitor Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:130 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:136 [] __dump_stack lib/dump_stack.c:88 [inline] [] dump_stack_lvl+0x122/0x196 lib/dump_stack.c:114 [] dump_stack+0x1c/0x24 lib/dump_stack.c:123 [] __might_resched+0x5a0/0x5fc kernel/sched/core.c:10196 [] __might_sleep+0x86/0xca kernel/sched/core.c:10125 [] synchronize_net+0x28/0x82 net/core/dev.c:11125 [] dev_deactivate_many+0x34a/0xbfa net/sched/sch_generic.c:1370 [] dev_deactivate+0xf4/0x1c6 net/sched/sch_generic.c:1396 [] linkwatch_do_dev+0x104/0x154 net/core/link_watch.c:175 [] linkwatch_sync_dev+0x14a/0x1da net/core/link_watch.c:263 [] ethtool_op_get_link+0x1e/0x54 net/ethtool/ioctl.c:62 [] bond_check_dev_link+0x1ae/0x386 drivers/net/bonding/bond_main.c:757 [] bond_miimon_inspect drivers/net/bonding/bond_main.c:2604 [inline] [] bond_mii_monitor+0x3de/0x29a8 drivers/net/bonding/bond_main.c:2826 [] process_one_work+0x938/0x1d5c kernel/workqueue.c:3248 [] process_scheduled_works kernel/workqueue.c:3329 [inline] [] worker_thread+0x5be/0xdec kernel/workqueue.c:3409 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x1c arch/riscv/kernel/entry.S:232 ============================= WARNING: suspicious RCU usage 6.10.0-rc6-syzkaller-gc562ba719df5 #0 Tainted: G W ----------------------------- kernel/rcu/tree.c:3980 Illegal synchronize_rcu() 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:1/9915: #0: ff600000133b1148 ((wq_completion)bond0#3){+.+.}-{0:0}, at: process_one_work+0x826/0x1d5c kernel/workqueue.c:3223 #1: ff2000000075bc90 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x852/0x1d5c kernel/workqueue.c:3223 #2: ffffffff87dc3d00 (rcu_read_lock){....}-{1:2}, at: bond_mii_monitor+0x11a/0x29a8 drivers/net/bonding/bond_main.c:2821 stack backtrace: CPU: 0 PID: 9915 Comm: kworker/u8:1 Tainted: G W 6.10.0-rc6-syzkaller-gc562ba719df5 #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: bond0 bond_mii_monitor Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:130 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:136 [] __dump_stack lib/dump_stack.c:88 [inline] [] dump_stack_lvl+0x122/0x196 lib/dump_stack.c:114 [] dump_stack+0x1c/0x24 lib/dump_stack.c:123 [] lockdep_rcu_suspicious+0x264/0x3c0 kernel/locking/lockdep.c:6712 [] synchronize_rcu+0x1ee/0x28c kernel/rcu/tree.c:3980 [] synchronize_net+0x70/0x82 net/core/dev.c:11129 [] dev_deactivate_many+0x34a/0xbfa net/sched/sch_generic.c:1370 [] dev_deactivate+0xf4/0x1c6 net/sched/sch_generic.c:1396 [] linkwatch_do_dev+0x104/0x154 net/core/link_watch.c:175 [] linkwatch_sync_dev+0x14a/0x1da net/core/link_watch.c:263 [] ethtool_op_get_link+0x1e/0x54 net/ethtool/ioctl.c:62 [] bond_check_dev_link+0x1ae/0x386 drivers/net/bonding/bond_main.c:757 [] bond_miimon_inspect drivers/net/bonding/bond_main.c:2604 [inline] [] bond_mii_monitor+0x3de/0x29a8 drivers/net/bonding/bond_main.c:2826 [] process_one_work+0x938/0x1d5c kernel/workqueue.c:3248 [] process_scheduled_works kernel/workqueue.c:3329 [inline] [] worker_thread+0x5be/0xdec kernel/workqueue.c:3409 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x1c arch/riscv/kernel/entry.S:232 ============================= WARNING: suspicious RCU usage 6.10.0-rc6-syzkaller-gc562ba719df5 #0 Tainted: G W ----------------------------- kernel/rcu/tree_exp.h:909 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:1/9915: #0: ff600000133b1148 ((wq_completion)bond0#3){+.+.}-{0:0}, at: process_one_work+0x826/0x1d5c kernel/workqueue.c:3223 #1: ff2000000075bc90 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x852/0x1d5c kernel/workqueue.c:3223 #2: ffffffff87dc3d00 (rcu_read_lock){....}-{1:2}, at: bond_mii_monitor+0x11a/0x29a8 drivers/net/bonding/bond_main.c:2821 stack backtrace: CPU: 0 PID: 9915 Comm: kworker/u8:1 Tainted: G W 6.10.0-rc6-syzkaller-gc562ba719df5 #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: bond0 bond_mii_monitor Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:130 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:136 [] __dump_stack lib/dump_stack.c:88 [inline] [] dump_stack_lvl+0x122/0x196 lib/dump_stack.c:114 [] dump_stack+0x1c/0x24 lib/dump_stack.c:123 [] lockdep_rcu_suspicious+0x264/0x3c0 kernel/locking/lockdep.c:6712 [] synchronize_rcu_expedited+0x1e6/0x3ea kernel/rcu/tree_exp.h:909 [] synchronize_rcu+0x224/0x28c kernel/rcu/tree.c:3986 [] synchronize_net+0x70/0x82 net/core/dev.c:11129 [] dev_deactivate_many+0x34a/0xbfa net/sched/sch_generic.c:1370 [] dev_deactivate+0xf4/0x1c6 net/sched/sch_generic.c:1396 [] linkwatch_do_dev+0x104/0x154 net/core/link_watch.c:175 [] linkwatch_sync_dev+0x14a/0x1da net/core/link_watch.c:263 [] ethtool_op_get_link+0x1e/0x54 net/ethtool/ioctl.c:62 [] bond_check_dev_link+0x1ae/0x386 drivers/net/bonding/bond_main.c:757 [] bond_miimon_inspect drivers/net/bonding/bond_main.c:2604 [inline] [] bond_mii_monitor+0x3de/0x29a8 drivers/net/bonding/bond_main.c:2826 [] process_one_work+0x938/0x1d5c kernel/workqueue.c:3248 [] process_scheduled_works kernel/workqueue.c:3329 [inline] [] worker_thread+0x5be/0xdec kernel/workqueue.c:3409 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x1c arch/riscv/kernel/entry.S:232 ------------[ cut here ]------------ Voluntary context switch within RCU read-side critical section!