[ 31.232065][ T288] ip (288) used greatest stack depth: 24288 bytes left [ 53.438901][ T480] ip (480) used greatest stack depth: 24032 bytes left [ 63.420407][ T567] ip (567) used greatest stack depth: 24000 bytes left [ 90.963579][ T806] IPv6: Can't replace route, no match found [ 95.662638][ T876] IPv6: Can't replace route, no match found [ 131.574581][ T1314] ip (1314) used greatest stack depth: 23696 bytes left [ 177.520099][ T1727] Mirror/redirect action on [ 181.486081][ C2] [ 181.486257][ C2] ======================================================== [ 181.486575][ C2] WARNING: possible irq lock inversion dependency detected [ 181.486871][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 181.487077][ C2] -------------------------------------------------------- [ 181.487387][ C2] swapper/2/0 just changed the state of lock: [ 181.487636][ C2] ffff8880106bbd80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 181.488008][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 181.488311][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 181.488320][ C2] [ 181.488320][ C2] [ 181.488320][ C2] and interrupts could create inverse lock ordering between them. [ 181.488320][ C2] [ 181.489063][ C2] [ 181.489063][ C2] other info that might help us debug this: [ 181.489360][ C2] Possible interrupt unsafe locking scenario: [ 181.489360][ C2] [ 181.489659][ C2] CPU0 CPU1 [ 181.489854][ C2] ---- ---- [ 181.490066][ C2] lock(&p->alloc_lock); [ 181.490228][ C2] local_irq_disable(); [ 181.490484][ C2] lock(&ndev->lock); [ 181.490744][ C2] lock(&p->alloc_lock); [ 181.490997][ C2] [ 181.491152][ C2] lock(&ndev->lock); [ 181.491313][ C2] [ 181.491313][ C2] *** DEADLOCK *** [ 181.491313][ C2] [ 181.491612][ C2] 1 lock held by swapper/2/0: [ 181.491821][ C2] #0: ffffc90000230d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 181.492206][ C2] [ 181.492206][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 181.492565][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 181.492793][ C2] HARDIRQ-ON-W at: [ 181.492952][ C2] __lock_acquire+0x797/0x1570 [ 181.493229][ C2] lock_acquire.part.0+0xeb/0x330 [ 181.493490][ C2] _raw_spin_lock+0x30/0x40 [ 181.493759][ C2] set_mems_allowed+0x1d/0x210 [ 181.494024][ C2] kernel_init_freeable+0x72/0x310 [ 181.494286][ C2] kernel_init+0x20/0x200 [ 181.494548][ C2] ret_from_fork+0x31/0x70 [ 181.494812][ C2] ret_from_fork_asm+0x1a/0x30 [ 181.495067][ C2] SOFTIRQ-ON-W at: [ 181.495222][ C2] __lock_acquire+0x797/0x1570 [ 181.495484][ C2] lock_acquire.part.0+0xeb/0x330 [ 181.495753][ C2] _raw_spin_lock+0x30/0x40 [ 181.496011][ C2] set_mems_allowed+0x1d/0x210 [ 181.496278][ C2] kernel_init_freeable+0x72/0x310 [ 181.496534][ C2] kernel_init+0x20/0x200 [ 181.496794][ C2] ret_from_fork+0x31/0x70 [ 181.497059][ C2] ret_from_fork_asm+0x1a/0x30 [ 181.497319][ C2] INITIAL USE at: [ 181.497480][ C2] __lock_acquire+0x797/0x1570 [ 181.497740][ C2] lock_acquire.part.0+0xeb/0x330 [ 181.498003][ C2] _raw_spin_lock+0x30/0x40 [ 181.498268][ C2] set_mems_allowed+0x1d/0x210 [ 181.498529][ C2] kernel_init_freeable+0x72/0x310 [ 181.498789][ C2] kernel_init+0x20/0x200 [ 181.499054][ C2] ret_from_fork+0x31/0x70 [ 181.499311][ C2] ret_from_fork_asm+0x1a/0x30 [ 181.499578][ C2] } [ 181.499688][ C2] ... key at: [] __key.388+0x0/0x40 [ 181.500007][ C2] ... acquired at: [ 181.500167][ C2] __lock_acquire+0xaf0/0x1570 [ 181.500381][ C2] lock_acquire.part.0+0xeb/0x330 [ 181.500589][ C2] _raw_spin_lock+0x30/0x40 [ 181.500795][ C2] __get_task_comm+0x27/0x70 [ 181.501004][ C2] ref_tracker_alloc+0x2ee/0x490 [ 181.501220][ C2] netdev_get_by_index+0x5e/0x80 [ 181.501427][ C2] fib6_nh_init+0x3d8/0x1580 [ 181.501639][ C2] ip6_route_info_create+0xf18/0x17d0 [ 181.501843][ C2] addrconf_f6i_alloc+0x265/0x560 [ 181.502040][ C2] __ipv6_dev_ac_inc+0x25f/0xb10 [ 181.502238][ C2] addrconf_join_anycast+0x1c0/0x220 [ 181.502435][ C2] __ipv6_ifa_notify+0x6b3/0xaf0 [ 181.502640][ C2] addrconf_dad_completed+0x12b/0xe20 [ 181.502846][ C2] addrconf_dad_begin+0x310/0x670 [ 181.503035][ C2] addrconf_dad_work+0x10b/0xab0 [ 181.503232][ C2] process_one_work+0xe2c/0x1730 [ 181.503433][ C2] worker_thread+0x587/0xd30 [ 181.503634][ C2] kthread+0x28a/0x350 [ 181.503785][ C2] ret_from_fork+0x31/0x70 [ 181.503996][ C2] ret_from_fork_asm+0x1a/0x30 [ 181.504219][ C2] [ 181.504327][ C2] -> (&ndev->lock){++-.}-{2:2} { [ 181.504549][ C2] HARDIRQ-ON-W at: [ 181.504708][ C2] __lock_acquire+0x797/0x1570 [ 181.504977][ C2] lock_acquire.part.0+0xeb/0x330 [ 181.505228][ C2] _raw_write_lock_bh+0x38/0x50 [ 181.505621][ C2] addrconf_permanent_addr+0x6e/0x670 [ 181.505893][ C2] addrconf_notify+0x749/0xd60 [ 181.506136][ C2] notifier_call_chain+0xcd/0x150 [ 181.506496][ C2] __dev_notify_flags+0xe6/0x250 [ 181.506732][ C2] dev_change_flags+0xec/0x160 [ 181.506974][ C2] do_setlink+0x7d6/0x21e0 [ 181.507210][ C2] __rtnl_newlink+0xaa7/0xd80 [ 181.507585][ C2] rtnl_newlink+0x63/0xa0 [ 181.507826][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 181.508064][ C2] netlink_rcv_skb+0x130/0x360 [ 181.508423][ C2] netlink_unicast+0x449/0x710 [ 181.508668][ C2] netlink_sendmsg+0x723/0xbe0 [ 181.508911][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 181.509173][ C2] ___sys_sendmsg+0xee/0x170 [ 181.509571][ C2] __sys_sendmsg+0xcd/0x170 [ 181.509847][ C2] do_syscall_64+0xc6/0x1e0 [ 181.510108][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 181.510553][ C2] HARDIRQ-ON-R at: [ 181.510710][ C2] __lock_acquire+0x797/0x1570 [ 181.510969][ C2] lock_acquire.part.0+0xeb/0x330 [ 181.511228][ C2] _raw_read_lock_bh+0x44/0x80 [ 181.511631][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 181.511889][ C2] inet6_fill_link_af+0x5e/0xe0 [ 181.512152][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 181.512551][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 181.512830][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 181.513146][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 181.513543][ C2] register_netdevice+0x1177/0x1690 [ 181.513798][ C2] register_netdev+0x20/0x40 [ 181.514033][ C2] vti6_init_net+0x25d/0x380 [ 181.514276][ C2] ops_init+0x9b/0x560 [ 181.514589][ C2] register_pernet_operations+0x2db/0x710 [ 181.514896][ C2] register_pernet_device+0x2a/0x60 [ 181.515156][ C2] vti6_tunnel_init+0x18/0x110 [ 181.515544][ C2] do_one_initcall+0x8d/0x1e0 [ 181.515804][ C2] do_initcalls+0x1b2/0x3e0 [ 181.516066][ C2] kernel_init_freeable+0x232/0x310 [ 181.516588][ C2] kernel_init+0x20/0x200 [ 181.516850][ C2] ret_from_fork+0x31/0x70 [ 181.517110][ C2] ret_from_fork_asm+0x1a/0x30 [ 181.517373][ C2] IN-SOFTIRQ-W at: [ 181.517661][ C2] __lock_acquire+0x797/0x1570 [ 181.517920][ C2] lock_acquire.part.0+0xeb/0x330 [ 181.518180][ C2] _raw_write_lock+0x30/0x40 [ 181.518442][ C2] addrconf_rs_timer+0xa9/0x730 [ 181.518831][ C2] call_timer_fn+0x13b/0x230 [ 181.519095][ C2] __run_timers+0x545/0x810 [ 181.519359][ C2] run_timer_softirq+0xe8/0x1b0 [ 181.519758][ C2] __do_softirq+0x1f8/0x5df [ 181.520020][ C2] irq_exit_rcu+0x97/0xc0 [ 181.520275][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 181.520715][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 181.521024][ C2] default_idle+0xf/0x20 [ 181.521290][ C2] default_idle_call+0x6d/0xb0 [ 181.521668][ C2] cpuidle_idle_call+0x1f4/0x280 [ 181.521926][ C2] do_idle+0xf9/0x160 [ 181.522124][ C2] cpu_startup_entry+0x54/0x60 [ 181.522382][ C2] start_secondary+0x21c/0x2b0 [ 181.522789][ C2] common_startup_64+0x12c/0x138 [ 181.523039][ C2] INITIAL USE at: [ 181.523207][ C2] __lock_acquire+0x797/0x1570 [ 181.523464][ C2] lock_acquire.part.0+0xeb/0x330 [ 181.523858][ C2] _raw_write_lock_bh+0x38/0x50 [ 181.524120][ C2] addrconf_permanent_addr+0x6e/0x670 [ 181.524375][ C2] addrconf_notify+0x749/0xd60 [ 181.524764][ C2] notifier_call_chain+0xcd/0x150 [ 181.525035][ C2] __dev_notify_flags+0xe6/0x250 [ 181.525301][ C2] dev_change_flags+0xec/0x160 [ 181.525561][ C2] do_setlink+0x7d6/0x21e0 [ 181.525950][ C2] __rtnl_newlink+0xaa7/0xd80 [ 181.526204][ C2] rtnl_newlink+0x63/0xa0 [ 181.526462][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 181.526858][ C2] netlink_rcv_skb+0x130/0x360 [ 181.527119][ C2] netlink_unicast+0x449/0x710 [ 181.527380][ C2] netlink_sendmsg+0x723/0xbe0 [ 181.527777][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 181.528039][ C2] ___sys_sendmsg+0xee/0x170 [ 181.528299][ C2] __sys_sendmsg+0xcd/0x170 [ 181.528555][ C2] do_syscall_64+0xc6/0x1e0 [ 181.528949][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 181.529279][ C2] INITIAL READ USE at: [ 181.529440][ C2] __lock_acquire+0x797/0x1570 [ 181.529839][ C2] lock_acquire.part.0+0xeb/0x330 [ 181.530096][ C2] _raw_read_lock_bh+0x44/0x80 [ 181.530350][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 181.530661][ C2] inet6_fill_link_af+0x5e/0xe0 [ 181.531055][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 181.531310][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 181.531611][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 181.532051][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 181.532313][ C2] register_netdevice+0x1177/0x1690 [ 181.532624][ C2] register_netdev+0x20/0x40 [ 181.533145][ C2] vti6_init_net+0x25d/0x380 [ 181.533409][ C2] ops_init+0x9b/0x560 [ 181.533661][ C2] register_pernet_operations+0x2db/0x710 [ 181.533974][ C2] register_pernet_device+0x2a/0x60 [ 181.534288][ C2] vti6_tunnel_init+0x18/0x110 [ 181.534562][ C2] do_one_initcall+0x8d/0x1e0 [ 181.534953][ C2] do_initcalls+0x1b2/0x3e0 [ 181.535206][ C2] kernel_init_freeable+0x232/0x310 [ 181.535510][ C2] kernel_init+0x20/0x200 [ 181.535892][ C2] ret_from_fork+0x31/0x70 [ 181.536144][ C2] ret_from_fork_asm+0x1a/0x30 [ 181.536400][ C2] } [ 181.536504][ C2] ... key at: [] __key.37+0x0/0x40 [ 181.536924][ C2] ... acquired at: [ 181.537073][ C2] mark_lock+0x28d/0x3e0 [ 181.537274][ C2] mark_usage+0xd9/0x2a0 [ 181.537472][ C2] __lock_acquire+0x797/0x1570 [ 181.537672][ C2] lock_acquire.part.0+0xeb/0x330 [ 181.538011][ C2] _raw_write_lock+0x30/0x40 [ 181.538204][ C2] addrconf_rs_timer+0xa9/0x730 [ 181.538392][ C2] call_timer_fn+0x13b/0x230 [ 181.538575][ C2] __run_timers+0x545/0x810 [ 181.538882][ C2] run_timer_softirq+0xe8/0x1b0 [ 181.539093][ C2] __do_softirq+0x1f8/0x5df [ 181.539304][ C2] irq_exit_rcu+0x97/0xc0 [ 181.539515][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 181.539892][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 181.540121][ C2] default_idle+0xf/0x20 [ 181.540335][ C2] default_idle_call+0x6d/0xb0 [ 181.540538][ C2] cpuidle_idle_call+0x1f4/0x280 [ 181.540872][ C2] do_idle+0xf9/0x160 [ 181.541028][ C2] cpu_startup_entry+0x54/0x60 [ 181.541235][ C2] start_secondary+0x21c/0x2b0 [ 181.541440][ C2] common_startup_64+0x12c/0x138 [ 181.541777][ C2] [ 181.541882][ C2] [ 181.541882][ C2] stack backtrace: [ 181.542134][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 181.542453][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 181.543037][ C2] Call Trace: [ 181.543191][ C2] [ 181.543309][ C2] dump_stack_lvl+0x82/0xd0 [ 181.543516][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 181.543883][ C2] ? kernel_text_address+0x17/0xe0 [ 181.544099][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 181.544374][ C2] ? __pfx_usage_skip+0x10/0x10 [ 181.544578][ C2] ? __pfx_usage_match+0x10/0x10 [ 181.544884][ C2] ? arch_stack_walk+0x8c/0xf0 [ 181.545088][ C2] mark_lock_irq+0x4cd/0xa10 [ 181.545294][ C2] ? common_startup_64+0x12c/0x138 [ 181.545503][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 181.545843][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 181.546064][ C2] ? save_trace+0x8f/0x5b0 [ 181.546273][ C2] mark_lock+0x28d/0x3e0 [ 181.546431][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 181.546636][ C2] mark_usage+0xd9/0x2a0 [ 181.546924][ C2] __lock_acquire+0x797/0x1570 [ 181.547138][ C2] ? __pfx_validate_chain+0x10/0x10 [ 181.547351][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 181.547555][ C2] lock_acquire.part.0+0xeb/0x330 [ 181.547862][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 181.548073][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 181.548260][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 181.548448][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 181.548885][ C2] ? lock_acquire+0x32/0xc0 [ 181.549074][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 181.549265][ C2] _raw_write_lock+0x30/0x40 [ 181.549456][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 181.549646][ C2] addrconf_rs_timer+0xa9/0x730 [ 181.549979][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 181.550183][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 181.550379][ C2] ? call_timer_fn+0xe8/0x230 [ 181.550547][ C2] ? lock_acquire+0x32/0xc0 [ 181.550874][ C2] ? call_timer_fn+0xe8/0x230 [ 181.551022][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 181.551190][ C2] call_timer_fn+0x13b/0x230 [ 181.551396][ C2] ? call_timer_fn+0xe8/0x230 [ 181.551724][ C2] ? call_timer_fn+0xe8/0x230 [ 181.551937][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 181.552143][ C2] ? mark_lock+0x38/0x3e0 [ 181.552307][ C2] __run_timers+0x545/0x810 [ 181.552515][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 181.552848][ C2] ? __pfx___run_timers+0x10/0x10 [ 181.553059][ C2] ? do_raw_spin_lock+0x131/0x270 [ 181.553263][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 181.553466][ C2] ? lock_acquire+0x32/0xc0 [ 181.553810][ C2] ? run_timer_softirq+0xe0/0x1b0 [ 181.554016][ C2] run_timer_softirq+0xe8/0x1b0 [ 181.554220][ C2] __do_softirq+0x1f8/0x5df [ 181.554426][ C2] irq_exit_rcu+0x97/0xc0 [ 181.554710][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 181.554914][ C2] [ 181.555034][ C2] [ 181.555140][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 181.555402][ C2] RIP: 0010:default_idle+0xf/0x20 [ 181.555750][ C2] Code: 4c 01 c7 4c 29 c2 e9 72 ff ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d d3 eb 32 00 fb f4 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 [ 181.556450][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000246 [ 181.556851][ C2] RAX: 00000000006749db RBX: 1ffff9200002bfc1 RCX: ffffffffa7732ea5 [ 181.557162][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa4eac1d4 [ 181.557478][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 181.557922][ C2] R10: ffff8880361384e3 R11: ffff88803613de40 R12: 0000000000000000 [ 181.558231][ C2] R13: ffff888001b8c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 181.558541][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 181.558877][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 181.559099][ C2] default_idle_call+0x6d/0xb0 [ 181.559305][ C2] cpuidle_idle_call+0x1f4/0x280 [ 181.559512][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 181.559848][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 181.560058][ C2] do_idle+0xf9/0x160 [ 181.560211][ C2] cpu_startup_entry+0x54/0x60 [ 181.560416][ C2] start_secondary+0x21c/0x2b0 [ 181.560622][ C2] ? __pfx_start_secondary+0x10/0x10 [ 181.560954][ C2] common_startup_64+0x12c/0x138 [ 181.561172][ C2] [ 288.828438][ T2308] veth2: entered promiscuous mode [ 288.884052][ T2308] veth2: left promiscuous mode