bond3: (slave macvlan3): failed to get link speed/duplex ============================================ WARNING: possible recursive locking detected syzkaller #0 Not tainted -------------------------------------------- kworker/u8:0/12 is trying to acquire lock: ffff0000dd2c6d58 (&qdisc_xmit_lock_key#3){+.-.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] ffff0000dd2c6d58 (&qdisc_xmit_lock_key#3){+.-.}-{3:3}, at: __netif_tx_lock include/linux/netdevice.h:4710 [inline] ffff0000dd2c6d58 (&qdisc_xmit_lock_key#3){+.-.}-{3:3}, at: sch_direct_xmit+0x128/0x468 net/sched/sch_generic.c:345 but task is already holding lock: ffff0000cc854958 (&qdisc_xmit_lock_key#3){+.-.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] ffff0000cc854958 (&qdisc_xmit_lock_key#3){+.-.}-{3:3}, at: __netif_tx_lock include/linux/netdevice.h:4710 [inline] ffff0000cc854958 (&qdisc_xmit_lock_key#3){+.-.}-{3:3}, at: sch_direct_xmit+0x128/0x468 net/sched/sch_generic.c:345 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&qdisc_xmit_lock_key#3); lock(&qdisc_xmit_lock_key#3); *** DEADLOCK *** May be due to missing lock nesting notation 11 locks held by kworker/u8:0/12: #0: ffff0000d302e148 ((wq_completion)bond2#2){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff800097cf7be0 ((work_completion)(&(&bond->alb_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff80008fa5b6e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:330 #3: ffff80008fa5b740 (rcu_read_lock_bh){....}-{1:3}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:330 #4: ffff0000d6fa6228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#3){+...}-{3:3}, at: spin_trylock include/linux/spinlock.h:361 [inline] #4: ffff0000d6fa6228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#3){+...}-{3:3}, at: qdisc_run_begin include/net/sch_generic.h:202 [inline] #4: ffff0000d6fa6228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#3){+...}-{3:3}, at: __dev_xmit_skb net/core/dev.c:4156 [inline] #4: ffff0000d6fa6228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#3){+...}-{3:3}, at: __dev_queue_xmit+0xbe4/0x2a78 net/core/dev.c:4785 #5: ffff0000cc854958 (&qdisc_xmit_lock_key#3){+.-.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] #5: ffff0000cc854958 (&qdisc_xmit_lock_key#3){+.-.}-{3:3}, at: __netif_tx_lock include/linux/netdevice.h:4710 [inline] #5: ffff0000cc854958 (&qdisc_xmit_lock_key#3){+.-.}-{3:3}, at: sch_direct_xmit+0x128/0x468 net/sched/sch_generic.c:345 #6: ffff80008fa5b6e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:330 #7: ffff80008fa5b6e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:330 #8: ffff80008fa5b6e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:330 #9: ffff80008fa5b740 (rcu_read_lock_bh){....}-{1:3}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:330 #10: ffff0000d1793228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#3){+...}-{3:3}, at: spin_trylock include/linux/spinlock.h:361 [inline] #10: ffff0000d1793228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#3){+...}-{3:3}, at: qdisc_run_begin include/net/sch_generic.h:202 [inline] #10: ffff0000d1793228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#3){+...}-{3:3}, at: __dev_xmit_skb net/core/dev.c:4156 [inline] #10: ffff0000d1793228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#3){+...}-{3:3}, at: __dev_queue_xmit+0xbe4/0x2a78 net/core/dev.c:4785 stack backtrace: CPU: 1 UID: 0 PID: 12 Comm: kworker/u8:0 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Workqueue: bond2 bond_alb_monitor Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 print_deadlock_bug+0x2e8/0x2f0 kernel/locking/lockdep.c:3041 check_deadlock kernel/locking/lockdep.c:3093 [inline] validate_chain kernel/locking/lockdep.c:3895 [inline] __lock_acquire+0x2940/0x30a4 kernel/locking/lockdep.c:5237 lock_acquire+0x140/0x2e0 kernel/locking/lockdep.c:5868 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x48/0x60 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __netif_tx_lock include/linux/netdevice.h:4710 [inline] sch_direct_xmit+0x128/0x468 net/sched/sch_generic.c:345 __dev_xmit_skb net/core/dev.c:4169 [inline] __dev_queue_xmit+0xf94/0x2a78 net/core/dev.c:4785 dev_queue_xmit include/linux/netdevice.h:3381 [inline] arp_xmit_finish+0x24/0x34 net/ipv4/arp.c:654 NF_HOOK+0x2b8/0x34c include/linux/netfilter.h:318 arp_xmit+0x160/0x26c net/ipv4/arp.c:664 arp_send_dst+0x1d8/0x2cc net/ipv4/arp.c:320 arp_solicit+0x9e8/0xc10 net/ipv4/arp.c:392 neigh_probe+0xc4/0x128 net/core/neighbour.c:1097 __neigh_event_send+0xd18/0x13fc net/core/neighbour.c:1270 neigh_event_send_probe include/net/neighbour.h:480 [inline] neigh_event_send include/net/neighbour.h:486 [inline] neigh_resolve_output+0x180/0x654 net/core/neighbour.c:1578 neigh_output include/net/neighbour.h:556 [inline] ip_finish_output2+0xdc4/0x1240 net/ipv4/ip_output.c:237 __ip_finish_output+0x1b0/0x44c net/ipv4/ip_output.c:-1 ip_finish_output+0x44/0x304 net/ipv4/ip_output.c:325 NF_HOOK_COND include/linux/netfilter.h:307 [inline] ip_output+0x284/0x3f8 net/ipv4/ip_output.c:438 dst_output include/net/dst.h:464 [inline] ip_local_out+0x120/0x15c net/ipv4/ip_output.c:131 iptunnel_xmit+0x4a0/0x9dc net/ipv4/ip_tunnel_core.c:84 ip_tunnel_xmit+0x1494/0x20ec net/ipv4/ip_tunnel.c:845 __gre_xmit net/ipv4/ip_gre.c:490 [inline] gre_tap_xmit+0x41c/0x618 net/ipv4/ip_gre.c:778 __netdev_start_xmit include/linux/netdevice.h:5273 [inline] netdev_start_xmit include/linux/netdevice.h:5282 [inline] xmit_one net/core/dev.c:3853 [inline] dev_hard_start_xmit+0x298/0x890 net/core/dev.c:3869 sch_direct_xmit+0x1fc/0x468 net/sched/sch_generic.c:347 __dev_xmit_skb net/core/dev.c:4169 [inline] __dev_queue_xmit+0xf94/0x2a78 net/core/dev.c:4785 dev_queue_xmit include/linux/netdevice.h:3381 [inline] alb_send_lp_vid+0x260/0x42c 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:1563 process_one_work+0x7c0/0x1558 kernel/workqueue.c:3257 process_scheduled_works kernel/workqueue.c:3340 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3421 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 bond3: (slave macvlan3): failed to get link speed/duplex bond3: (slave macvlan3): failed to get link speed/duplex