============================================ WARNING: possible recursive locking detected 6.14.0-rc2-syzkaller-00473-g7f89ec6c4537 #0 Not tainted -------------------------------------------- kworker/u8:3/51 is trying to acquire lock: ffff888047102218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] ffff888047102218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: __dev_xmit_skb net/core/dev.c:4009 [inline] ffff888047102218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: __dev_queue_xmit+0x23f9/0x3f40 net/core/dev.c:4551 but task is already holding lock: ffff888022b1b258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: spin_trylock include/linux/spinlock.h:361 [inline] ffff888022b1b258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: qdisc_run_begin include/net/sch_generic.h:197 [inline] ffff888022b1b258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: __dev_xmit_skb net/core/dev.c:3962 [inline] ffff888022b1b258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: __dev_queue_xmit+0x13bc/0x3f40 net/core/dev.c:4551 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2); lock(dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2); *** DEADLOCK *** May be due to missing lock nesting notation 8 locks held by kworker/u8:3/51: #0: ffff8880520b4948 ((wq_completion)bond5){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff8880520b4948 ((wq_completion)bond5){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3317 #1: ffffc90000bc7c60 ((work_completion)(&(&bond->alb_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc90000bc7c60 ((work_completion)(&(&bond->alb_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3317 #2: ffffffff8eb38f60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #2: ffffffff8eb38f60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #2: ffffffff8eb38f60 (rcu_read_lock){....}-{1:3}, at: bond_alb_monitor+0x110/0x1750 drivers/net/bonding/bond_alb.c:1547 #3: ffffffff8eb38fc0 (rcu_read_lock_bh){....}-{1:3}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #3: ffffffff8eb38fc0 (rcu_read_lock_bh){....}-{1:3}, at: rcu_read_lock_bh include/linux/rcupdate.h:901 [inline] #3: ffffffff8eb38fc0 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x2f4/0x3f40 net/core/dev.c:4510 #4: ffff888022b1b258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: spin_trylock include/linux/spinlock.h:361 [inline] #4: ffff888022b1b258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: qdisc_run_begin include/net/sch_generic.h:197 [inline] #4: ffff888022b1b258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: __dev_xmit_skb net/core/dev.c:3962 [inline] #4: ffff888022b1b258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: __dev_queue_xmit+0x13bc/0x3f40 net/core/dev.c:4551 #5: ffff888037a69158 (&qdisc_xmit_lock_key#3){+.-.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] #5: ffff888037a69158 (&qdisc_xmit_lock_key#3){+.-.}-{3:3}, at: __netif_tx_lock include/linux/netdevice.h:4591 [inline] #5: ffff888037a69158 (&qdisc_xmit_lock_key#3){+.-.}-{3:3}, at: sch_direct_xmit+0x1a7/0x5d0 net/sched/sch_generic.c:341 #6: ffffffff8eb38f60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #6: ffffffff8eb38f60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #6: ffffffff8eb38f60 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x43e/0x12e0 net/ipv4/ip_output.c:229 #7: ffffffff8eb38fc0 (rcu_read_lock_bh){....}-{1:3}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #7: ffffffff8eb38fc0 (rcu_read_lock_bh){....}-{1:3}, at: rcu_read_lock_bh include/linux/rcupdate.h:901 [inline] #7: ffffffff8eb38fc0 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x2f4/0x3f40 net/core/dev.c:4510 stack backtrace: CPU: 0 UID: 0 PID: 51 Comm: kworker/u8:3 Not tainted 6.14.0-rc2-syzkaller-00473-g7f89ec6c4537 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: bond5 bond_alb_monitor Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_deadlock_bug+0x483/0x620 kernel/locking/lockdep.c:3039 check_deadlock kernel/locking/lockdep.c:3091 [inline] validate_chain+0x15e2/0x5920 kernel/locking/lockdep.c:3893 __lock_acquire+0x1397/0x2100 kernel/locking/lockdep.c:5228 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5851 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __dev_xmit_skb net/core/dev.c:4009 [inline] __dev_queue_xmit+0x23f9/0x3f40 net/core/dev.c:4551 neigh_output include/net/neighbour.h:539 [inline] ip_finish_output2+0xdeb/0x12e0 net/ipv4/ip_output.c:236 iptunnel_xmit+0x55d/0x9b0 net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x1dbf/0x2560 net/ipv4/ip_tunnel.c:858 __gre_xmit net/ipv4/ip_gre.c:488 [inline] gre_tap_xmit+0x641/0x800 net/ipv4/ip_gre.c:776 __netdev_start_xmit include/linux/netdevice.h:5151 [inline] netdev_start_xmit include/linux/netdevice.h:5160 [inline] xmit_one net/core/dev.c:3736 [inline] dev_hard_start_xmit+0x27a/0x7d0 net/core/dev.c:3752 sch_direct_xmit+0x29c/0x5d0 net/sched/sch_generic.c:343 __dev_xmit_skb net/core/dev.c:3975 [inline] __dev_queue_xmit+0x1a8f/0x3f40 net/core/dev.c:4551 dev_queue_xmit include/linux/netdevice.h:3312 [inline] alb_send_lp_vid+0x3b1/0x650 drivers/net/bonding/bond_alb.c:949 alb_send_learning_packets+0x19b/0x380 drivers/net/bonding/bond_alb.c:1012 bond_alb_monitor+0x3f3/0x1750 drivers/net/bonding/bond_alb.c:1564 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xabe/0x18e0 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 ip6_tunnel: ip6gretap2 xmit: Local address not yet configured!