ip6_tnl_xmit_ctl: 1 callbacks suppressed
ip6_tunnel: ip6erspan1 xmit: Local address not yet configured!
============================================
WARNING: possible recursive locking detected
syzkaller #0 Not tainted
--------------------------------------------
kworker/1:19/12581 is trying to acquire lock:
ffff88807ada6d58 (&qdisc_xmit_lock_key#4){+.-.}-{3:3}, at: spin_lock include/linux/spinlock.h:347 [inline]
ffff88807ada6d58 (&qdisc_xmit_lock_key#4){+.-.}-{3:3}, at: __netif_tx_lock include/linux/netdevice.h:4845 [inline]
ffff88807ada6d58 (&qdisc_xmit_lock_key#4){+.-.}-{3:3}, at: sch_direct_xmit+0x15f/0x4c0 net/sched/sch_generic.c:370
but task is already holding lock:
ffff88807f2fa958 (&qdisc_xmit_lock_key#4){+.-.}-{3:3}, at: spin_lock include/linux/spinlock.h:347 [inline]
ffff88807f2fa958 (&qdisc_xmit_lock_key#4){+.-.}-{3:3}, at: __netif_tx_lock include/linux/netdevice.h:4845 [inline]
ffff88807f2fa958 (&qdisc_xmit_lock_key#4){+.-.}-{3:3}, at: sch_direct_xmit+0x15f/0x4c0 net/sched/sch_generic.c:370
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock(&qdisc_xmit_lock_key#4);
lock(&qdisc_xmit_lock_key#4);
*** DEADLOCK ***
May be due to missing lock nesting notation
locks held by kworker/1:19/12581: 14, last CPU#1:
#0: ffff88801c06b140 ((wq_completion)events){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffff88801c06b140 ((wq_completion)events){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffff88801c06b140 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3361 [inline]
#0: ffff88801c06b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3479
#1: ffffc90006607c40 ((work_completion)(&w->work)#2){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffc90006607c40 ((work_completion)(&w->work)#2){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffc90006607c40 ((work_completion)(&w->work)#2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3361 [inline]
#1: ffffc90006607c40 ((work_completion)(&w->work)#2){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3479
#2: ffffffff912ce9a0 (nf_conntrack_mutex){+.+.}-{4:4}, at: nf_ct_iterate_cleanup+0x3f/0x500 net/netfilter/nf_conntrack_core.c:2364
#3: ffffc90000a18cc0 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xd5/0x5f0 kernel/time/timer.c:1745
#4: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#4: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#4: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: ndisc_send_skb+0x203/0x1650 net/ipv6/ndisc.c:483
#5: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#5: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#5: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: ip6_output+0x11e/0x540 net/ipv6/ip6_output.c:236
#6: ffffffff8fd5c940 (rcu_read_lock_bh){....}-{1:3}, at: local_bh_disable include/linux/bottom_half.h:20 [inline]
#6: ffffffff8fd5c940 (rcu_read_lock_bh){....}-{1:3}, at: rcu_read_lock_bh include/linux/rcupdate.h:902 [inline]
#6: ffffffff8fd5c940 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x29b/0x3920 net/core/dev.c:4980
#7: ffff888035c6c228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#5){+...}-{3:3}, at: spin_trylock include/linux/spinlock.h:359 [inline]
#7: ffff888035c6c228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#5){+...}-{3:3}, at: qdisc_run_begin include/net/sch_generic.h:206 [inline]
#7: ffff888035c6c228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#5){+...}-{3:3}, at: __dev_xmit_skb net/core/dev.c:4372 [inline]
#7: ffff888035c6c228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#5){+...}-{3:3}, at: __dev_queue_xmit+0x114e/0x3920 net/core/dev.c:5024
#8: ffff88807f2fa958 (&qdisc_xmit_lock_key#4){+.-.}-{3:3}, at: spin_lock include/linux/spinlock.h:347 [inline]
#8: ffff88807f2fa958 (&qdisc_xmit_lock_key#4){+.-.}-{3:3}, at: __netif_tx_lock include/linux/netdevice.h:4845 [inline]
#8: ffff88807f2fa958 (&qdisc_xmit_lock_key#4){+.-.}-{3:3}, at: sch_direct_xmit+0x15f/0x4c0 net/sched/sch_generic.c:370
#9: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#9: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#9: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: ip_output+0x5a/0x450 net/ipv4/ip_output.c:432
#10: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#10: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#10: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x3de/0x10b0 net/ipv4/ip_output.c:229
#11: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#11: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#11: ffffffff8fd5c8e0 (rcu_read_lock){....}-{1:3}, at: arp_xmit+0x23/0x270 net/ipv4/arp.c:666
#12: ffffffff8fd5c940 (rcu_read_lock_bh){....}-{1:3}, at: local_bh_disable include/linux/bottom_half.h:20 [inline]
#12: ffffffff8fd5c940 (rcu_read_lock_bh){....}-{1:3}, at: rcu_read_lock_bh include/linux/rcupdate.h:902 [inline]
#12: ffffffff8fd5c940 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x29b/0x3920 net/core/dev.c:4980
#13: ffff888023f7e228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#5){+...}-{3:3}, at: spin_trylock include/linux/spinlock.h:359 [inline]
#13: ffff888023f7e228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#5){+...}-{3:3}, at: qdisc_run_begin include/net/sch_generic.h:206 [inline]
#13: ffff888023f7e228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#5){+...}-{3:3}, at: __dev_xmit_skb net/core/dev.c:4372 [inline]
#13: ffff888023f7e228 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock#5){+...}-{3:3}, at: __dev_queue_xmit+0x114e/0x3920 net/core/dev.c:5024
stack backtrace:
CPU: 1 UID: 0 PID: 12581 Comm: kworker/1:19 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Workqueue: events iterate_cleanup_work
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
print_deadlock_bug+0x27a/0x290 kernel/locking/lockdep.c:3085
check_deadlock kernel/locking/lockdep.c:3137 [inline]
validate_chain kernel/locking/lockdep.c:3939 [inline]
__lock_acquire+0x25db/0x2de0 kernel/locking/lockdep.c:5288
lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942
__raw_spin_lock include/linux/spinlock_api_smp.h:190 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:173
spin_lock include/linux/spinlock.h:347 [inline]
__netif_tx_lock include/linux/netdevice.h:4845 [inline]
sch_direct_xmit+0x15f/0x4c0 net/sched/sch_generic.c:370
__dev_xmit_skb net/core/dev.c:4385 [inline]
__dev_queue_xmit+0x179a/0x3920 net/core/dev.c:5024
NF_HOOK+0x33a/0x3c0 include/linux/netfilter.h:-1
arp_xmit+0x16c/0x270 net/ipv4/arp.c:668
arp_solicit+0xbdc/0xe40 net/ipv4/arp.c:395
neigh_probe net/core/neighbour.c:1087 [inline]
__neigh_event_send+0xf0c/0x1510 net/core/neighbour.c:1267
neigh_event_send_probe include/net/neighbour.h:474 [inline]
neigh_event_send include/net/neighbour.h:480 [inline]
neigh_resolve_output+0x1a1/0x720 net/core/neighbour.c:1609
neigh_output include/net/neighbour.h:554 [inline]
ip_finish_output2+0xc4b/0x10b0 net/ipv4/ip_output.c:236
NF_HOOK_COND include/linux/netfilter.h:314 [inline]
ip_output+0x29f/0x450 net/ipv4/ip_output.c:437
iptunnel_xmit+0x626/0xd10 net/ipv4/ip_tunnel_core.c:97
ip_tunnel_xmit+0x195b/0x2040 net/ipv4/ip_tunnel.c:852
erspan_xmit+0xb6a/0x1620 net/ipv4/ip_gre.c:752
__netdev_start_xmit include/linux/netdevice.h:5435 [inline]
netdev_start_xmit include/linux/netdevice.h:5444 [inline]
xmit_one net/core/dev.c:4057 [inline]
dev_hard_start_xmit+0x2cd/0x830 net/core/dev.c:4073
sch_direct_xmit+0x257/0x4c0 net/sched/sch_generic.c:372
__dev_xmit_skb net/core/dev.c:4385 [inline]
__dev_queue_xmit+0x179a/0x3920 net/core/dev.c:5024
NF_HOOK_COND include/linux/netfilter.h:314 [inline]
ip6_output+0x337/0x540 net/ipv6/ip6_output.c:248
dst_output include/net/dst.h:472 [inline]
NF_HOOK include/linux/netfilter.h:325 [inline]
ndisc_send_skb+0xcb2/0x1650 net/ipv6/ndisc.c:513
addrconf_rs_timer+0x2d2/0x6c0 net/ipv6/addrconf.c:4078
call_timer_fn+0x18d/0x5f0 kernel/time/timer.c:1748
expire_timers kernel/time/timer.c:1799 [inline]
__run_timers kernel/time/timer.c:2374 [inline]
__run_timer_base+0x652/0x8b0 kernel/time/timer.c:2386
run_timer_base kernel/time/timer.c:2395 [inline]
run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2405
handle_softirqs+0x226/0x860 kernel/softirq.c:645
__do_softirq kernel/softirq.c:679 [inline]
invoke_softirq kernel/softirq.c:519 [inline]
__irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758
irq_exit_rcu+0x9/0x30 kernel/softirq.c:775
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:get_next_corpse net/netfilter/nf_conntrack_core.c:2311 [inline]
RIP: 0010:nf_ct_iterate_cleanup+0x4a4/0x500 net/netfilter/nf_conntrack_core.c:2365
Code: 8b 7c 24 08 be 00 02 00 00 e8 78 f0 85 f7 48 c7 c7 20 1e 2a 8d be 29 09 00 00 31 d2 e8 75 92 93 f7 2e 2e 2e 31 c0 4c 8b 24 24 <41> ff c4 44 3b 25 6e b1 77 07 73 18 e8 6b f1 c4 f7 e9 d7 fb ff ff
RSP: 0018:ffffc900066079a8 EFLAGS: 00000293
RAX: ffffffff8a032f1f RBX: ffffc90006607a40 RCX: ffff88804c9d9f40
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff917a367f R09: 1ffffffff22f46cf
R10: dffffc0000000000 R11: fffffbfff22f46d0 R12: 0000000000026d2b
R13: ffff888026536958 R14: dffffc0000000000 R15: 1ffff92000cc0f48
iterate_cleanup_work+0xdc/0x180 net/netfilter/nf_nat_masquerade.c:87
process_one_work kernel/workqueue.c:3396 [inline]
process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479
worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
ip6_tunnel: syztnl1 xmit: Local address not yet configured!
ip6_tunnel: ip6erspan1 xmit: Local address not yet configured!
----------------
Code disassembly (best guess):
0: 8b 7c 24 08 mov 0x8(%rsp),%edi
4: be 00 02 00 00 mov $0x200,%esi
9: e8 78 f0 85 f7 call 0xf785f086
e: 48 c7 c7 20 1e 2a 8d mov $0xffffffff8d2a1e20,%rdi
15: be 29 09 00 00 mov $0x929,%esi
1a: 31 d2 xor %edx,%edx
1c: e8 75 92 93 f7 call 0xf7939296
21: 2e 2e 2e 31 c0 cs cs cs xor %eax,%eax
26: 4c 8b 24 24 mov (%rsp),%r12
* 2a: 41 ff c4 inc %r12d <-- trapping instruction
2d: 44 3b 25 6e b1 77 07 cmp 0x777b16e(%rip),%r12d # 0x777b1a2
34: 73 18 jae 0x4e
36: e8 6b f1 c4 f7 call 0xf7c4f1a6
3b: e9 d7 fb ff ff jmp 0xfffffc17