============================================ WARNING: possible recursive locking detected 5.15.173-syzkaller #0 Not tainted -------------------------------------------- kworker/u4:11/4606 is trying to acquire lock: ffff0000d7496218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: spin_lock include/linux/spinlock.h:363 [inline] ffff0000d7496218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: __dev_xmit_skb net/core/dev.c:3877 [inline] ffff0000d7496218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: __dev_queue_xmit+0x1964/0x2ac8 net/core/dev.c:4221 but task is already holding lock: ffff0000e7c08258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: spin_trylock include/linux/spinlock.h:373 [inline] ffff0000e7c08258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: qdisc_run_begin+0x130/0x2bc include/net/sch_generic.h:173 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(dev->qdisc_tx_busylock ?: &qdisc_tx_busylock); lock(dev->qdisc_tx_busylock ?: &qdisc_tx_busylock); *** DEADLOCK *** May be due to missing lock nesting notation 7 locks held by kworker/u4:11/4606: #0: ffff0000d82bb938 ((wq_completion)bond1){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800020627c00 ((work_completion)(&(&bond->alb_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800014d322e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:311 #3: ffff800014d32340 (rcu_read_lock_bh ){....}-{1:2} , at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:311 #4: ffff0000e7c08258 ( dev->qdisc_tx_busylock ?: &qdisc_tx_busylock ){+...}-{2:2} , at: spin_trylock include/linux/spinlock.h:373 [inline] , at: qdisc_run_begin+0x130/0x2bc include/net/sch_generic.h:173 #5: ffff800014d32340 ( rcu_read_lock_bh ){....}-{1:2} , at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:311 #6: ffff800014d32340 ( rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:311 stack backtrace: CPU: 0 PID: 4606 Comm: kworker/u4:11 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bond1 bond_alb_monitor Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 __lock_acquire+0x62bc/0x7638 kernel/locking/lockdep.c:5012 lock_acquire+0x240/0x77c kernel/locking/lockdep.c:5623 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0xb0/0x10c kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] __dev_xmit_skb net/core/dev.c:3877 [inline] __dev_queue_xmit+0x1964/0x2ac8 net/core/dev.c:4221 dev_queue_xmit+0x24/0x34 net/core/dev.c:4289 neigh_hh_output include/net/neighbour.h:493 [inline] neigh_output include/net/neighbour.h:507 [inline] ip_finish_output2+0xd3c/0x131c net/ipv4/ip_output.c:228 __ip_finish_output+0x1b0/0x458 ip_finish_output+0x40/0x218 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip_output+0x330/0x49c net/ipv4/ip_output.c:430 dst_output include/net/dst.h:443 [inline] ip_local_out+0x120/0x160 net/ipv4/ip_output.c:126 iptunnel_xmit+0x40c/0x8fc net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x1a00/0x2184 net/ipv4/ip_tunnel.c:838 __gre_xmit net/ipv4/ip_gre.c:474 [inline] gre_tap_xmit+0x404/0x5f0 net/ipv4/ip_gre.c:751 __netdev_start_xmit include/linux/netdevice.h:5019 [inline] netdev_start_xmit include/linux/netdevice.h:5033 [inline] xmit_one net/core/dev.c:3617 [inline] dev_hard_start_xmit+0x2bc/0x92c net/core/dev.c:3633 sch_direct_xmit+0x2e0/0x484 net/sched/sch_generic.c:342 __dev_xmit_skb net/core/dev.c:3852 [inline] __dev_queue_xmit+0x1488/0x2ac8 net/core/dev.c:4221 dev_queue_xmit+0x24/0x34 net/core/dev.c:4289 alb_send_lp_vid+0x2a8/0x5c4 drivers/net/bonding/bond_alb.c:937 alb_send_learning_packets+0x168/0x318 drivers/net/bonding/bond_alb.c:1000 bond_alb_monitor+0x330/0x139c drivers/net/bonding/bond_alb.c:1528 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310 worker_thread+0x910/0x1034 kernel/workqueue.c:2457 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870