[ 423.848952][ T6298] ip_gre: GRE over IPv4 tunneling driver
[ 435.836507][ C2]
[ 435.836589][ C2] ======================================================
[ 435.836709][ C2] WARNING: possible circular locking dependency detected
[ 435.836824][ C2] 7.2.0-rc6-virtme #1 Not tainted
[ 435.836923][ C2] ------------------------------------------------------
[ 435.837042][ C2] swapper/2/0 is trying to acquire lock:
[ 435.837134][ C2] ff11000023fcd358 (&tbl->lock){+.-.}-{3:3}, at: ___neigh_create+0x2be/0x1070
[ 435.837304][ C2]
[ 435.837304][ C2] but task is already holding lock:
[ 435.837436][ C2] ffa0000000228c98 ((&n->timer)){+.-.}-{0:0}, at: call_timer_fn+0x113/0x4c0
[ 435.837594][ C2]
[ 435.837594][ C2] which lock already depends on the new lock.
[ 435.837594][ C2]
[ 435.837766][ C2]
[ 435.837766][ C2] the existing dependency chain (in reverse order) is:
[ 435.837923][ C2]
[ 435.837923][ C2] -> #1 ((&n->timer)){+.-.}-{0:0}:
[ 435.838057][ C2] __lock_acquire+0x518/0xc20
[ 435.838149][ C2] lock_acquire.part.0+0xbc/0x260
[ 435.838237][ C2] __timer_delete_sync+0xea/0x130
[ 435.838323][ C2] neigh_flush_one+0x4bf/0x650
[ 435.838411][ C2] __neigh_ifdown.isra.0+0x1b5/0xea0
[ 435.838519][ C2] neigh_ifdown+0x10/0x20
[ 435.838605][ C2] fib_netdev_event+0x1a9/0x5d0
[ 435.838693][ C2] notifier_call_chain+0xae/0x300
[ 435.838780][ C2] netif_close_many+0x366/0x770
[ 435.838868][ C2] unregister_netdevice_many_notify+0x71a/0x1b40
[ 435.838981][ C2] default_device_exit_batch+0x38b/0x600
[ 435.839092][ C2] ops_undo_list+0x2ce/0x8f0
[ 435.839180][ C2] cleanup_net+0x431/0x940
[ 435.839268][ C2] process_one_work+0xdf8/0x1410
[ 435.839354][ C2] worker_thread+0x4f1/0xd60
[ 435.839440][ C2] kthread+0x367/0x460
[ 435.839527][ C2] ret_from_fork+0x474/0x6b0
[ 435.839616][ C2] ret_from_fork_asm+0x11/0x20
[ 435.839706][ C2]
[ 435.839706][ C2] -> #0 (&tbl->lock){+.-.}-{3:3}:
[ 435.839837][ C2] check_prev_add+0xd8/0xe90
[ 435.839930][ C2] validate_chain+0x6b8/0xc20
[ 435.840015][ C2] __lock_acquire+0x518/0xc20
[ 435.840102][ C2] lock_acquire.part.0+0xbc/0x260
[ 435.840190][ C2] _raw_spin_lock_bh+0x38/0x50
[ 435.840276][ C2] ___neigh_create+0x2be/0x1070
[ 435.840362][ C2] ip_finish_output2+0xf06/0x1f90
[ 435.840449][ C2] ip_output+0x1ca/0x660
[ 435.840536][ C2] ip_push_pending_frames+0xf6/0x250
[ 435.840644][ C2] __icmp_send+0xcb7/0x1ae0
[ 435.840731][ C2] ipv4_send_dest_unreach+0x438/0x9d0
[ 435.840840][ C2] ipv4_link_failure+0x16/0x190
[ 435.840930][ C2] arp_error_report+0x97/0x1b0
[ 435.841016][ C2] neigh_invalidate+0x208/0x560
[ 435.841102][ C2] neigh_timer_handler+0x8e9/0x1210
[ 435.841188][ C2] call_timer_fn+0x163/0x4c0
[ 435.841273][ C2] __run_timers+0x68f/0xaa0
[ 435.841361][ C2] run_timer_softirq+0xf0/0x160
[ 435.841449][ C2] handle_softirqs+0x1d8/0x8f0
[ 435.841536][ C2] __irq_exit_rcu+0x103/0x1c0
[ 435.841622][ C2] irq_exit_rcu+0xe/0x30
[ 435.841709][ C2] sysvec_apic_timer_interrupt+0x9d/0xe0
[ 435.841818][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 435.841930][ C2] pv_native_safe_halt+0xf/0x10
[ 435.842017][ C2] default_idle+0x9/0x10
[ 435.842105][ C2] default_idle_call+0x6e/0xb0
[ 435.842191][ C2] cpuidle_idle_call.constprop.0+0x237/0x410
[ 435.842298][ C2] do_idle+0xd8/0x180
[ 435.842384][ C2] cpu_startup_entry+0x53/0x70
[ 435.842471][ C2] start_secondary+0x204/0x2b0
[ 435.842560][ C2] common_startup_64+0x13e/0x148
[ 435.842648][ C2]
[ 435.842648][ C2] other info that might help us debug this:
[ 435.842648][ C2]
[ 435.842816][ C2] Possible unsafe locking scenario:
[ 435.842816][ C2]
[ 435.842951][ C2] CPU0 CPU1
[ 435.843036][ C2] ---- ----
[ 435.843122][ C2] lock((&n->timer));
[ 435.843190][ C2] lock(&tbl->lock);
[ 435.843298][ C2] lock((&n->timer));
[ 435.843405][ C2] lock(&tbl->lock);
[ 435.843471][ C2]
[ 435.843471][ C2] *** DEADLOCK ***
[ 435.843471][ C2]
[ 435.843597][ C2] 5 locks held by swapper/2/0:
[ 435.843684][ C2] #0: ffa0000000228c98 ((&n->timer)){+.-.}-{0:0}, at: call_timer_fn+0x113/0x4c0
[ 435.843839][ C2] #1: ffffffff9bd91d40 (rcu_read_lock){....}-{1:3}, at: __icmp_send+0x232/0x1ae0
[ 435.843996][ C2] #2: ff11000005b35218 (k-slock-AF_INET){+...}-{3:3}, at: __icmp_send+0x75b/0x1ae0
[ 435.844147][ C2] #3: ffffffff9bd91d40 (rcu_read_lock){....}-{1:3}, at: ip_output+0xa9/0x660
[ 435.844298][ C2] #4: ffffffff9bd91d40 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x2c5/0x1f90
[ 435.844449][ C2]
[ 435.844449][ C2] stack backtrace:
[ 435.844557][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 7.2.0-rc6-virtme #1 PREEMPT(full)
[ 435.844560][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 435.844561][ C2] Call Trace:
[ 435.844563][ C2]
[ 435.844564][ C2] dump_stack_lvl+0x6f/0xa0
[ 435.844568][ C2] print_circular_bug.cold+0x38/0x46
[ 435.844571][ C2] check_noncircular+0x171/0x1a0
[ 435.844574][ C2] check_prev_add+0xd8/0xe90
[ 435.844576][ C2] validate_chain+0x6b8/0xc20
[ 435.844578][ C2] ? find_held_lock+0x2b/0x80
[ 435.844581][ C2] __lock_acquire+0x518/0xc20
[ 435.844583][ C2] lock_acquire.part.0+0xbc/0x260
[ 435.844585][ C2] ? ___neigh_create+0x2be/0x1070
[ 435.844587][ C2] ? rcu_is_watching+0x15/0xd0
[ 435.844589][ C2] ? lock_acquire+0x13c/0x160
[ 435.844591][ C2] _raw_spin_lock_bh+0x38/0x50
[ 435.844593][ C2] ? ___neigh_create+0x2be/0x1070
[ 435.844594][ C2] ___neigh_create+0x2be/0x1070
[ 435.844595][ C2] ? sync_exp_reset_tree_hotplug+0x3b1/0x3f0
[ 435.844597][ C2] ip_finish_output2+0xf06/0x1f90
[ 435.844599][ C2] ? ip_dst_mtu_maybe_forward+0x2c7/0x720
[ 435.844601][ C2] ? ip4_dst_hoplimit+0x320/0x320
[ 435.844603][ C2] ? rcu_is_watching+0x15/0xd0
[ 435.844605][ C2] ip_output+0x1ca/0x660
[ 435.844606][ C2] ? ip_finish_output+0x460/0x460
[ 435.844608][ C2] ? __ip_make_skb+0x106a/0x2300
[ 435.844611][ C2] ip_push_pending_frames+0xf6/0x250
[ 435.844613][ C2] __icmp_send+0xcb7/0x1ae0
[ 435.844616][ C2] ? icmpv4_global_allow+0x150/0x150
[ 435.844617][ C2] ? __lock_release.isra.0+0x6b/0x1a0
[ 435.844619][ C2] ? rcu_watching_snap_stopped_since+0xd1/0x120
[ 435.844621][ C2] ? rcu_read_lock_any_held+0x3c/0x90
[ 435.844625][ C2] ? __lock_acquire+0x518/0xc20
[ 435.844627][ C2] ? sched_balance_find_src_group+0xda/0x760
[ 435.844630][ C2] ipv4_send_dest_unreach+0x438/0x9d0
[ 435.844632][ C2] ? ip_do_redirect+0x340/0x340
[ 435.844634][ C2] ? __lock_release.isra.0+0x6b/0x1a0
[ 435.844636][ C2] ipv4_link_failure+0x16/0x190
[ 435.844637][ C2] arp_error_report+0x97/0x1b0
[ 435.844639][ C2] neigh_invalidate+0x208/0x560
[ 435.844641][ C2] ? neigh_periodic_work+0xa60/0xa60
[ 435.844642][ C2] neigh_timer_handler+0x8e9/0x1210
[ 435.844644][ C2] ? neigh_periodic_work+0xa60/0xa60
[ 435.844645][ C2] ? rcu_is_watching+0x15/0xd0
[ 435.844646][ C2] call_timer_fn+0x163/0x4c0
[ 435.844648][ C2] ? detach_if_pending+0x1d0/0x1d0
[ 435.844649][ C2] ? find_held_lock+0x2b/0x80
[ 435.844651][ C2] ? __lock_release.isra.0+0x6b/0x1a0
[ 435.844653][ C2] ? rcu_is_watching+0x15/0xd0
[ 435.844654][ C2] __run_timers+0x68f/0xaa0
[ 435.844656][ C2] ? neigh_periodic_work+0xa60/0xa60
[ 435.844657][ C2] ? __bpf_trace_itimer_expire+0x10/0x10
[ 435.844659][ C2] ? __lock_acquire+0x518/0xc20
[ 435.844662][ C2] ? __rwlock_init+0x150/0x150
[ 435.844663][ C2] run_timer_softirq+0xf0/0x160
[ 435.844665][ C2] ? clockevents_program_event+0x307/0x7e0
[ 435.844668][ C2] ? __run_timers+0xaa0/0xaa0
[ 435.844669][ C2] ? trace_irq_enable.constprop.0+0x9b/0x160
[ 435.844672][ C2] ? rcu_is_watching+0x15/0xd0
[ 435.844673][ C2] handle_softirqs+0x1d8/0x8f0
[ 435.844676][ C2] ? _local_bh_enable+0xd0/0xd0
[ 435.844678][ C2] __irq_exit_rcu+0x103/0x1c0
[ 435.844680][ C2] irq_exit_rcu+0xe/0x30
[ 435.844681][ C2] sysvec_apic_timer_interrupt+0x9d/0xe0
[ 435.844683][ C2]
[ 435.844683][ C2]
[ 435.844684][ C2] ? lockdep_hardirqs_on+0x8c/0x130
[ 435.844686][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 435.844687][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x10
[ 435.844689][ C2] Code: 48 8b 3d 44 61 6e 02 e8 1f 00 00 00 48 2b 05 08 22 a7 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d a3 dd 19 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01
[ 435.844691][ C2] RSP: 0018:ffa0000000157e00 EFLAGS: 00000282
[ 435.844693][ C2] RAX: 00000000011318b7 RBX: ff11000001bac6c0 RCX: ffffffff980f7f27
[ 435.844695][ C2] RDX: ff11000001bac6c0 RSI: ffffffff9b2c4933 RDI: ffffffff9ac7d760
[ 435.844695][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[ 435.844696][ C2] R10: 0000000000000002 R11: 0000000000000001 R12: 1ff400000002afc3
[ 435.844697][ C2] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
[ 435.844698][ C2] ? cpuidle_idle_call.constprop.0+0x237/0x410
[ 435.844701][ C2] default_idle+0x9/0x10
[ 435.844702][ C2] default_idle_call+0x6e/0xb0
[ 435.844704][ C2] cpuidle_idle_call.constprop.0+0x237/0x410
[ 435.844706][ C2] ? arch_cpu_idle_exit+0x40/0x40
[ 435.844707][ C2] ? mark_tsc_async_resets+0x30/0x30
[ 435.844709][ C2] ? trace_irq_enable.constprop.0+0x9b/0x160
[ 435.844711][ C2] ? rcu_is_watching+0x15/0xd0
[ 435.844712][ C2] do_idle+0xd8/0x180
[ 435.844714][ C2] cpu_startup_entry+0x53/0x70
[ 435.844716][ C2] start_secondary+0x204/0x2b0
[ 435.844718][ C2] ? set_cpu_sibling_map+0x2130/0x2130
[ 435.844720][ C2] common_startup_64+0x13e/0x148
[ 435.844723][ C2]
[ 447.163079][ C2] ip6_tunnel: tep0 xmit: Local address not yet configured!
[ 448.828092][ C3] ip6_tunnel: tep0 xmit: Local address not yet configured!
[ 450.364079][ C2] ip6_tunnel: tep0 xmit: Local address not yet configured!
[ 452.027092][ C0] ip6_tunnel: tep0 xmit: Local address not yet configured!