============================================ WARNING: possible recursive locking detected 6.14.0-rc5-syzkaller-00129-g505ead7ab77f #0 Not tainted -------------------------------------------- kworker/u8:30/12504 is trying to acquire lock: ffff888062ca5218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] ffff888062ca5218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: __dev_xmit_skb net/core/dev.c:4076 [inline] ffff888062ca5218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: __dev_queue_xmit+0x23f9/0x3f50 net/core/dev.c:4618 but task is already holding lock: ffff888028590258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: spin_trylock include/linux/spinlock.h:361 [inline] ffff888028590258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: qdisc_run_begin include/net/sch_generic.h:197 [inline] ffff888028590258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: __dev_xmit_skb net/core/dev.c:4029 [inline] ffff888028590258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: __dev_queue_xmit+0x13bc/0x3f50 net/core/dev.c:4618 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 7 locks held by kworker/u8:30/12504: #0: ffff8880325d5148 ((wq_completion)bond4){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff8880325d5148 ((wq_completion)bond4){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc900039d7c60 ((work_completion)(&(&bond->alb_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc900039d7c60 ((work_completion)(&(&bond->alb_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 #2: ffffffff8eb392e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #2: ffffffff8eb392e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #2: ffffffff8eb392e0 (rcu_read_lock){....}-{1:3}, at: bond_alb_monitor+0x110/0x1750 drivers/net/bonding/bond_alb.c:1547 #3: ffffffff8eb39340 (rcu_read_lock_bh){....}-{1:3}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #3: ffffffff8eb39340 (rcu_read_lock_bh){....}-{1:3}, at: rcu_read_lock_bh include/linux/rcupdate.h:901 [inline] #3: ffffffff8eb39340 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x2f4/0x3f50 net/core/dev.c:4577 #4: ffff888028590258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: spin_trylock include/linux/spinlock.h:361 [inline] #4: ffff888028590258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: qdisc_run_begin include/net/sch_generic.h:197 [inline] #4: ffff888028590258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: __dev_xmit_skb net/core/dev.c:4029 [inline] #4: ffff888028590258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#2){+...}-{3:3}, at: __dev_queue_xmit+0x13bc/0x3f50 net/core/dev.c:4618 #5: ffffffff8eb392e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #5: ffffffff8eb392e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #5: ffffffff8eb392e0 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x43e/0x12e0 net/ipv4/ip_output.c:229 #6: ffffffff8eb39340 (rcu_read_lock_bh){....}-{1:3}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #6: ffffffff8eb39340 (rcu_read_lock_bh){....}-{1:3}, at: rcu_read_lock_bh include/linux/rcupdate.h:901 [inline] #6: ffffffff8eb39340 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x2f4/0x3f50 net/core/dev.c:4577 stack backtrace: CPU: 1 UID: 0 PID: 12504 Comm: kworker/u8:30 Not tainted 6.14.0-rc5-syzkaller-00129-g505ead7ab77f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: bond4 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:4076 [inline] __dev_queue_xmit+0x23f9/0x3f50 net/core/dev.c:4618 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:484 [inline] gre_tap_xmit+0x641/0x800 net/ipv4/ip_gre.c:772 __netdev_start_xmit include/linux/netdevice.h:5151 [inline] netdev_start_xmit include/linux/netdevice.h:5160 [inline] xmit_one net/core/dev.c:3800 [inline] dev_hard_start_xmit+0x27a/0x7d0 net/core/dev.c:3816 sch_direct_xmit+0x29c/0x5d0 net/sched/sch_generic.c:343 __dev_xmit_skb net/core/dev.c:4042 [inline] __dev_queue_xmit+0x1a8f/0x3f50 net/core/dev.c:4618 dev_queue_xmit include/linux/netdevice.h:3313 [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:3238 [inline] process_scheduled_works+0xabe/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd30 kernel/workqueue.c:3400 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 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50