============================================ WARNING: possible recursive locking detected 5.15.180-syzkaller #0 Not tainted -------------------------------------------- kworker/1:9/4337 is trying to acquire lock: ffff0000d6b77218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: spin_lock include/linux/spinlock.h:363 [inline] ffff0000d6b77218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: __dev_xmit_skb net/core/dev.c:3908 [inline] ffff0000d6b77218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: __dev_queue_xmit+0x18c8/0x2800 net/core/dev.c:4252 but task is already holding lock: ffff0000d1db7258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: spin_trylock include/linux/spinlock.h:373 [inline] ffff0000d1db7258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: qdisc_run_begin+0x120/0x2a8 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 11 locks held by kworker/1:9/4337: #0: ffff0000d27f3138 ((wq_completion)mld){+.+.}-{0:0}, at: process_one_work+0x678/0x1140 kernel/workqueue.c:2283 #1: ffff80001fb37c00 ((work_completion)(&(&idev->mc_dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6b8/0x1140 kernel/workqueue.c:2285 #2: ffff0000cf015530 (&idev->mc_lock){+.+.}-{3:3}, at: mld_dad_work+0x38/0x1f0 net/ipv6/mcast.c:2267 #3: ffff8000143211e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:311 #4: ffff800014321240 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:311 #5: ffff800014321240 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:311 #6: ffff8000143211e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:311 #7: ffff800014321240 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:311 #8: ffff0000d1db7258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: spin_trylock include/linux/spinlock.h:373 [inline] #8: ffff0000d1db7258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+...}-{2:2}, at: qdisc_run_begin+0x120/0x2a8 include/net/sch_generic.h:173 #9: ffff800014321240 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:311 #10: ffff800014321240 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:311 stack backtrace: CPU: 1 PID: 4337 Comm: kworker/1:9 Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: mld mld_dad_work Call trace: dump_backtrace+0x0/0x43c arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __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+0x18a4/0x651c kernel/locking/lockdep.c:-1 lock_acquire+0x1f4/0x620 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:3908 [inline] __dev_queue_xmit+0x18c8/0x2800 net/core/dev.c:4252 dev_queue_xmit+0x24/0x34 net/core/dev.c:4320 neigh_hh_output include/net/neighbour.h:493 [inline] neigh_output include/net/neighbour.h:507 [inline] ip_finish_output2+0xdac/0x1228 net/ipv4/ip_output.c:228 __ip_finish_output+0x1b0/0x448 net/ipv4/ip_output.c:-1 ip_finish_output+0x40/0x218 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:452 [inline] ip_local_out+0x120/0x15c net/ipv4/ip_output.c:126 iptunnel_xmit+0x3f8/0x8dc net/ipv4/ip_tunnel_core.c:82 ip_tunnel_xmit+0x181c/0x1f30 net/ipv4/ip_tunnel.c:838 __gre_xmit net/ipv4/ip_gre.c:474 [inline] gre_tap_xmit+0x3f8/0x5e4 net/ipv4/ip_gre.c:751 __netdev_start_xmit include/linux/netdevice.h:5027 [inline] netdev_start_xmit include/linux/netdevice.h:5041 [inline] xmit_one net/core/dev.c:3648 [inline] dev_hard_start_xmit+0x2a8/0x87c net/core/dev.c:3664 sch_direct_xmit+0x2a4/0x3bc net/sched/sch_generic.c:342 __dev_xmit_skb net/core/dev.c:3883 [inline] __dev_queue_xmit+0x13f4/0x2800 net/core/dev.c:4252 dev_queue_xmit+0x24/0x34 net/core/dev.c:4320 bond_dev_queue_xmit+0x94/0x134 drivers/net/bonding/bond_main.c:304 bond_do_alb_xmit+0x50c/0x6c0 drivers/net/bonding/bond_alb.c:1327 bond_tlb_xmit+0x38/0x48 drivers/net/bonding/bond_alb.c:1382 __bond_start_xmit drivers/net/bonding/bond_main.c:5142 [inline] bond_start_xmit+0x984/0x154c drivers/net/bonding/bond_main.c:5164 __netdev_start_xmit include/linux/netdevice.h:5027 [inline] netdev_start_xmit include/linux/netdevice.h:5041 [inline] xmit_one net/core/dev.c:3648 [inline] dev_hard_start_xmit+0x2a8/0x87c net/core/dev.c:3664 __dev_queue_xmit+0x12d8/0x2800 net/core/dev.c:4287 dev_queue_xmit+0x24/0x34 net/core/dev.c:4320 neigh_hh_output include/net/neighbour.h:493 [inline] neigh_output include/net/neighbour.h:507 [inline] ip6_finish_output2+0x129c/0x1a14 net/ipv6/ip6_output.c:130 __ip6_finish_output+0x570/0x6dc net/ipv6/ip6_output.c:201 ip6_finish_output+0x40/0x218 net/ipv6/ip6_output.c:211 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip6_output+0x274/0x500 net/ipv6/ip6_output.c:234 dst_output include/net/dst.h:452 [inline] NF_HOOK+0x15c/0x42c include/linux/netfilter.h:302 mld_sendpack+0x7d4/0x1058 net/ipv6/mcast.c:1826 mld_send_initial_cr+0x1dc/0x26c net/ipv6/mcast.c:2245 mld_dad_work+0x40/0x1f0 net/ipv6/mcast.c:2268 process_one_work+0x79c/0x1140 kernel/workqueue.c:2310 worker_thread+0x8f4/0x101c kernel/workqueue.c:2457 kthread+0x374/0x454 kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870