============================================ WARNING: possible recursive locking detected syzkaller #0 Not tainted -------------------------------------------- kworker/u4:22/5221 is trying to acquire lock: ffff888024437218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: spin_lock include/linux/spinlock.h:364 [inline] ffff888024437218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: __dev_xmit_skb net/core/dev.c:3922 [inline] ffff888024437218 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: __dev_queue_xmit+0x1e69/0x2e50 net/core/dev.c:4266 but task is already holding lock: ffff888023a12258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: spin_trylock include/linux/spinlock.h:374 [inline] ffff888023a12258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: qdisc_run_begin include/net/sch_generic.h:173 [inline] ffff888023a12258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: __dev_xmit_skb net/core/dev.c:3884 [inline] ffff888023a12258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: __dev_queue_xmit+0x108d/0x2e50 net/core/dev.c:4266 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 17 locks held by kworker/u4:22/5221: #0: ffff888016dcd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1 #1: ffffc90003eafd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285 #2: ffffffff8d430290 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x148/0xba0 net/core/net_namespace.c:589 #3: ffffffff8c31ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:312 #4: ffffc90000007bc0 ((&ndev->rs_timer)){+.-.}-{0:0}, at: lockdep_copy_map include/linux/lockdep.h:45 [inline] #4: ffffc90000007bc0 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xca/0x540 kernel/time/timer.c:1638 #5: ffffffff8c31ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:312 #6: ffffffff8c31ef80 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:313 #7: ffffffff8c31ef80 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:313 #8: ffff888023a12258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: spin_trylock include/linux/spinlock.h:374 [inline] #8: ffff888023a12258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: qdisc_run_begin include/net/sch_generic.h:173 [inline] #8: ffff888023a12258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: __dev_xmit_skb net/core/dev.c:3884 [inline] #8: ffff888023a12258 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}-{2:2}, at: __dev_queue_xmit+0x108d/0x2e50 net/core/dev.c:4266 #9: ffffffff8c31ef80 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:313 #10: ffffffff8c31ef80 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:313 #11: ffff888024437148 (dev->qdisc_running_key ?: &qdisc_running_key){+...}-{0:0}, at: neigh_output include/net/neighbour.h:509 [inline] #11: ffff888024437148 (dev->qdisc_running_key ?: &qdisc_running_key){+...}-{0:0}, at: ip6_finish_output2+0x108b/0x1530 net/ipv6/ip6_output.c:130 #12: ffff88801ade57a0 (k-slock-AF_INET6){+.-.}-{2:2}, at: spin_trylock include/linux/spinlock.h:374 [inline] #12: ffff88801ade57a0 (k-slock-AF_INET6){+.-.}-{2:2}, at: icmpv6_xmit_lock net/ipv6/icmp.c:118 [inline] #12: ffff88801ade57a0 (k-slock-AF_INET6){+.-.}-{2:2}, at: icmp6_send+0xbe5/0x19a0 net/ipv6/icmp.c:551 #13: ffffffff8c31ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:312 #14: ffffffff8c31ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:313 #15: ffffffff8c31ef80 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:313 #16: ffffffff8c31ef80 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:313 stack backtrace: CPU: 0 PID: 5221 Comm: kworker/u4:22 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Workqueue: netns cleanup_net Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 __lock_acquire+0x1247/0x7b50 kernel/locking/lockdep.c:-1 lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:364 [inline] __dev_xmit_skb net/core/dev.c:3922 [inline] __dev_queue_xmit+0x1e69/0x2e50 net/core/dev.c:4266 neigh_output include/net/neighbour.h:509 [inline] ip6_finish_output2+0x108b/0x1530 net/ipv6/ip6_output.c:130 ip6_send_skb+0x1af/0x350 net/ipv6/ip6_output.c:1884 icmp6_send+0x134a/0x19a0 net/ipv6/icmp.c:630 __icmpv6_send include/linux/icmpv6.h:28 [inline] icmpv6_send include/linux/icmpv6.h:49 [inline] ip6_link_failure+0x35/0x490 net/ipv6/route.c:2789 dst_link_failure include/net/dst.h:422 [inline] ipip6_tunnel_xmit net/ipv6/sit.c:1046 [inline] sit_tunnel_xmit+0xb12/0x23d0 net/ipv6/sit.c:1083 __netdev_start_xmit include/linux/netdevice.h:5036 [inline] netdev_start_xmit include/linux/netdevice.h:5050 [inline] xmit_one net/core/dev.c:3662 [inline] dev_hard_start_xmit+0x297/0x7d0 net/core/dev.c:3678 sch_direct_xmit+0x24d/0x4a0 net/sched/sch_generic.c:345 qdisc_restart net/sched/sch_generic.c:410 [inline] __qdisc_run+0xa6a/0x14b0 net/sched/sch_generic.c:418 __dev_xmit_skb net/core/dev.c:3955 [inline] __dev_queue_xmit+0xdce/0x2e50 net/core/dev.c:4266 neigh_output include/net/neighbour.h:509 [inline] ip6_finish_output2+0x108b/0x1530 net/ipv6/ip6_output.c:130 ip6tunnel_xmit+0x1ac/0x3d0 include/net/ip6_tunnel.h:160 ip6_tnl_xmit+0x1d07/0x23e0 net/ipv6/ip6_tunnel.c:1275 __gre6_xmit+0x960/0xc70 net/ipv6/ip6_gre.c:787 ip6gre_xmit_ipv6 net/ipv6/ip6_gre.c:843 [inline] ip6gre_tunnel_xmit+0xcad/0x1080 net/ipv6/ip6_gre.c:915 __netdev_start_xmit include/linux/netdevice.h:5036 [inline] netdev_start_xmit include/linux/netdevice.h:5050 [inline] xmit_one net/core/dev.c:3662 [inline] dev_hard_start_xmit+0x297/0x7d0 net/core/dev.c:3678 sch_direct_xmit+0x24d/0x4a0 net/sched/sch_generic.c:345 __dev_xmit_skb net/core/dev.c:3897 [inline] __dev_queue_xmit+0x1694/0x2e50 net/core/dev.c:4266 neigh_hh_output include/net/neighbour.h:493 [inline] neigh_output include/net/neighbour.h:507 [inline] ip6_finish_output2+0x1052/0x1530 net/ipv6/ip6_output.c:130 dst_output include/net/dst.h:452 [inline] NF_HOOK include/linux/netfilter.h:302 [inline] ndisc_send_skb+0xb7a/0x1410 net/ipv6/ndisc.c:513 addrconf_rs_timer+0x367/0x640 net/ipv6/addrconf.c:3959 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648 expire_timers kernel/time/timer.c:1699 [inline] __run_timers+0x56c/0x810 kernel/time/timer.c:1970 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983 handle_softirqs+0x336/0x830 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:lock_acquire+0x208/0x400 kernel/locking/lockdep.c:5627 Code: f7 84 24 80 00 00 00 00 02 00 00 43 c6 44 3d 04 f8 0f 85 f1 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 43 c7 44 3d 08 00 00 00 00 65 48 8b 04 RSP: 0018:ffffc90003eaf920 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 85e4beb421b51200 RDX: 0000000000000000 RSI: ffffffff8a2b3e80 RDI: ffffffff8a79c980 RBP: ffffc90003eafa40 R08: dffffc0000000000 R09: 1ffffffff2039618 R10: dffffc0000000000 R11: fffffbfff2039619 R12: ffffffff8c31ef20 R13: 1ffff920007d5f30 R14: 0000000000000246 R15: dffffc0000000000 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:313 rcu_read_lock include/linux/rcupdate.h:740 [inline] inet_twsk_purge+0x10d/0x820 net/ipv4/inet_timewait_sock.c:268 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x78e/0xba0 net/core/net_namespace.c:635 process_one_work+0x867/0xff0 kernel/workqueue.c:2310 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 ---------------- Code disassembly (best guess): 0: f7 84 24 80 00 00 00 testl $0x200,0x80(%rsp) 7: 00 02 00 00 b: 43 c6 44 3d 04 f8 movb $0xf8,0x4(%r13,%r15,1) 11: 0f 85 f1 00 00 00 jne 0x108 17: 41 f7 c6 00 02 00 00 test $0x200,%r14d 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp) 28: e0 45 * 2a: 4b c7 44 3d 00 00 00 movq $0x0,0x0(%r13,%r15,1) <-- trapping instruction 31: 00 00 33: 43 c7 44 3d 08 00 00 movl $0x0,0x8(%r13,%r15,1) 3a: 00 00 3c: 65 gs 3d: 48 rex.W 3e: 8b .byte 0x8b 3f: 04 .byte 0x4