============================================ WARNING: possible recursive locking detected 6.1.136-syzkaller #0 Not tainted -------------------------------------------- kworker/u4:20/7863 is trying to acquire lock: ffff0000cdf29218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] ffff0000cdf29218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: __dev_xmit_skb net/core/dev.c:3925 [inline] ffff0000cdf29218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: __dev_queue_xmit+0x1a24/0x309c net/core/dev.c:4300 but task is already holding lock: ffff0000f296d258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: spin_trylock include/linux/spinlock.h:361 [inline] ffff0000f296d258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: qdisc_run_begin include/net/sch_generic.h:195 [inline] ffff0000f296d258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: __dev_xmit_skb net/core/dev.c:3882 [inline] ffff0000f296d258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: __dev_queue_xmit+0xe58/0x309c net/core/dev.c:4300 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:20/7863: #0: ffff0000d9484938 ((wq_completion)bond2#2){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff8000217b7c20 ((work_completion)(&(&bond->alb_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff800015246d40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:349 #3: ffff800015246da0 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:349 #4: ffff0000f296d258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: spin_trylock include/linux/spinlock.h:361 [inline] #4: ffff0000f296d258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: qdisc_run_begin include/net/sch_generic.h:195 [inline] #4: ffff0000f296d258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: __dev_xmit_skb net/core/dev.c:3882 [inline] #4: ffff0000f296d258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: __dev_queue_xmit+0xe58/0x309c net/core/dev.c:4300 #5: ffff800015246d40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:349 #6: ffff800015246da0 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:349 stack backtrace: CPU: 1 PID: 7863 Comm: kworker/u4:20 Not tainted 6.1.136-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: bond2 bond_alb_monitor Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 __lock_acquire+0x18b4/0x6544 kernel/locking/lockdep.c:-1 lock_acquire+0x20c/0x644 kernel/locking/lockdep.c:5662 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x54/0x6c kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __dev_xmit_skb net/core/dev.c:3925 [inline] __dev_queue_xmit+0x1a24/0x309c net/core/dev.c:4300 dev_queue_xmit include/linux/netdevice.h:3051 [inline] neigh_hh_output include/net/neighbour.h:528 [inline] neigh_output include/net/neighbour.h:542 [inline] ip_finish_output2+0xb9c/0x10a4 net/ipv4/ip_output.c:228 __ip_finish_output+0x1b0/0x448 net/ipv4/ip_output.c:-1 ip_finish_output+0x40/0x268 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip_output+0x314/0x414 net/ipv4/ip_output.c:430 dst_output include/net/dst.h:453 [inline] ip_local_out+0x120/0x15c net/ipv4/ip_output.c:126 iptunnel_xmit+0x3f8/0x8cc net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x149c/0x2044 net/ipv4/ip_tunnel.c:858 __gre_xmit net/ipv4/ip_gre.c:474 [inline] gre_tap_xmit+0x408/0x5f4 net/ipv4/ip_gre.c:751 __netdev_start_xmit include/linux/netdevice.h:4896 [inline] netdev_start_xmit include/linux/netdevice.h:4910 [inline] xmit_one net/core/dev.c:3658 [inline] dev_hard_start_xmit+0x244/0x8e0 net/core/dev.c:3674 sch_direct_xmit+0x204/0x480 net/sched/sch_generic.c:342 __dev_xmit_skb net/core/dev.c:3895 [inline] __dev_queue_xmit+0x1384/0x309c net/core/dev.c:4300 dev_queue_xmit include/linux/netdevice.h:3051 [inline] alb_send_lp_vid+0x2b8/0x600 drivers/net/bonding/bond_alb.c:949 alb_send_learning_packets+0xf8/0x294 drivers/net/bonding/bond_alb.c:1012 bond_alb_monitor+0x2f0/0x1200 drivers/net/bonding/bond_alb.c:1564 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864