[ 77.992591][ T683] ip (683) used greatest stack depth: 23872 bytes left [ 86.564793][ T805] IPv6: Can't replace route, no match found [ 90.964409][ T875] IPv6: Can't replace route, no match found [ 168.064804][ T1726] Mirror/redirect action on [ 172.137810][ C2] [ 172.137976][ C2] ======================================================== [ 172.138203][ C2] WARNING: possible irq lock inversion dependency detected [ 172.138400][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 172.138542][ C2] -------------------------------------------------------- [ 172.138733][ C2] swapper/2/0 just changed the state of lock: [ 172.138894][ C2] ffff888006622580 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 172.139129][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 172.139319][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 172.139323][ C2] [ 172.139323][ C2] [ 172.139323][ C2] and interrupts could create inverse lock ordering between them. [ 172.139323][ C2] [ 172.139802][ C2] [ 172.139802][ C2] other info that might help us debug this: [ 172.139996][ C2] Possible interrupt unsafe locking scenario: [ 172.139996][ C2] [ 172.140193][ C2] CPU0 CPU1 [ 172.140323][ C2] ---- ---- [ 172.140452][ C2] lock(&p->alloc_lock); [ 172.140555][ C2] local_irq_disable(); [ 172.140723][ C2] lock(&ndev->lock); [ 172.140884][ C2] lock(&p->alloc_lock); [ 172.141045][ C2] <Interrupt> [ 172.141147][ C2] lock(&ndev->lock); [ 172.141255][ C2] [ 172.141255][ C2] *** DEADLOCK *** [ 172.141255][ C2] [ 172.141437][ C2] 1 lock held by swapper/2/0: [ 172.141582][ C2] #0: ffffc90000230d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 172.141824][ C2] [ 172.141824][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 172.142047][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 172.142187][ C2] HARDIRQ-ON-W at: [ 172.142289][ C2] __lock_acquire+0x797/0x1570 [ 172.142459][ C2] lock_acquire.part.0+0xeb/0x330 [ 172.142625][ C2] _raw_spin_lock+0x30/0x40 [ 172.142802][ C2] set_mems_allowed+0x1d/0x210 [ 172.142962][ C2] kernel_init_freeable+0x72/0x310 [ 172.143122][ C2] kernel_init+0x20/0x200 [ 172.143282][ C2] ret_from_fork+0x31/0x70 [ 172.143443][ C2] ret_from_fork_asm+0x1a/0x30 [ 172.143602][ C2] SOFTIRQ-ON-W at: [ 172.143701][ C2] __lock_acquire+0x797/0x1570 [ 172.143859][ C2] lock_acquire.part.0+0xeb/0x330 [ 172.144038][ C2] _raw_spin_lock+0x30/0x40 [ 172.144202][ C2] set_mems_allowed+0x1d/0x210 [ 172.144363][ C2] kernel_init_freeable+0x72/0x310 [ 172.144525][ C2] kernel_init+0x20/0x200 [ 172.144692][ C2] ret_from_fork+0x31/0x70 [ 172.144855][ C2] ret_from_fork_asm+0x1a/0x30 [ 172.145017][ C2] INITIAL USE at: [ 172.145114][ C2] __lock_acquire+0x797/0x1570 [ 172.145284][ C2] lock_acquire.part.0+0xeb/0x330 [ 172.145441][ C2] _raw_spin_lock+0x30/0x40 [ 172.145624][ C2] set_mems_allowed+0x1d/0x210 [ 172.145788][ C2] kernel_init_freeable+0x72/0x310 [ 172.145960][ C2] kernel_init+0x20/0x200 [ 172.146122][ C2] ret_from_fork+0x31/0x70 [ 172.146289][ C2] ret_from_fork_asm+0x1a/0x30 [ 172.146450][ C2] } [ 172.146517][ C2] ... key at: [<ffffffffa74fcd20>] __key.388+0x0/0x40 [ 172.146720][ C2] ... acquired at: [ 172.146817][ C2] __lock_acquire+0xaf0/0x1570 [ 172.146949][ C2] lock_acquire.part.0+0xeb/0x330 [ 172.147088][ C2] _raw_spin_lock+0x30/0x40 [ 172.147215][ C2] __get_task_comm+0x27/0x70 [ 172.147347][ C2] ref_tracker_alloc+0x2ee/0x490 [ 172.147474][ C2] netdev_get_by_index+0x5e/0x80 [ 172.147601][ C2] fib6_nh_init+0x3d8/0x1580 [ 172.147732][ C2] ip6_route_info_create+0xf18/0x17d0 [ 172.147859][ C2] addrconf_f6i_alloc+0x265/0x560 [ 172.148004][ C2] __ipv6_dev_ac_inc+0x25f/0xb10 [ 172.148134][ C2] addrconf_join_anycast+0x1c0/0x220 [ 172.148265][ C2] __ipv6_ifa_notify+0x6b3/0xaf0 [ 172.148395][ C2] addrconf_dad_completed+0x12b/0xe20 [ 172.148522][ C2] addrconf_dad_begin+0x310/0x670 [ 172.148654][ C2] addrconf_dad_work+0x10b/0xab0 [ 172.148783][ C2] process_one_work+0xe2c/0x1730 [ 172.148914][ C2] worker_thread+0x587/0xd30 [ 172.149045][ C2] kthread+0x28a/0x350 [ 172.149144][ C2] ret_from_fork+0x31/0x70 [ 172.149282][ C2] ret_from_fork_asm+0x1a/0x30 [ 172.149411][ C2] [ 172.149476][ C2] -> (&ndev->lock){++-.}-{2:2} { [ 172.149625][ C2] HARDIRQ-ON-W at: [ 172.149725][ C2] __lock_acquire+0x797/0x1570 [ 172.149888][ C2] lock_acquire.part.0+0xeb/0x330 [ 172.150050][ C2] _raw_write_lock_bh+0x38/0x50 [ 172.150215][ C2] addrconf_permanent_addr+0x6e/0x670 [ 172.150376][ C2] addrconf_notify+0x749/0xd60 [ 172.150538][ C2] notifier_call_chain+0xcd/0x150 [ 172.150703][ C2] __dev_notify_flags+0xe6/0x250 [ 172.150875][ C2] dev_change_flags+0xec/0x160 [ 172.151036][ C2] do_setlink+0x7d6/0x21e0 [ 172.151195][ C2] __rtnl_newlink+0xaa7/0xd80 [ 172.151355][ C2] rtnl_newlink+0x63/0xa0 [ 172.151516][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 172.151672][ C2] netlink_rcv_skb+0x130/0x360 [ 172.151839][ C2] netlink_unicast+0x449/0x710 [ 172.152016][ C2] netlink_sendmsg+0x723/0xbe0 [ 172.152178][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 172.152341][ C2] ___sys_sendmsg+0xee/0x170 [ 172.152504][ C2] __sys_sendmsg+0xcd/0x170 [ 172.152666][ C2] do_syscall_64+0xc6/0x1e0 [ 172.152829][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 172.153027][ C2] HARDIRQ-ON-R at: [ 172.153126][ C2] __lock_acquire+0x797/0x1570 [ 172.153297][ C2] lock_acquire.part.0+0xeb/0x330 [ 172.153457][ C2] _raw_read_lock_bh+0x44/0x80 [ 172.153635][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 172.153796][ C2] inet6_fill_link_af+0x5e/0xe0 [ 172.153961][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 172.154124][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 172.154287][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 172.154480][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 172.154645][ C2] register_netdevice+0x1177/0x1690 [ 172.154816][ C2] register_netdev+0x20/0x40 [ 172.154976][ C2] vti6_init_net+0x25d/0x380 [ 172.155136][ C2] ops_init+0x9b/0x560 [ 172.155265][ C2] register_pernet_operations+0x2db/0x710 [ 172.155455][ C2] register_pernet_device+0x2a/0x60 [ 172.155614][ C2] vti6_tunnel_init+0x18/0x110 [ 172.155777][ C2] do_one_initcall+0x8d/0x1e0 [ 172.155966][ C2] do_initcalls+0x1b2/0x3e0 [ 172.156129][ C2] kernel_init_freeable+0x232/0x310 [ 172.156293][ C2] kernel_init+0x20/0x200 [ 172.156455][ C2] ret_from_fork+0x31/0x70 [ 172.156621][ C2] ret_from_fork_asm+0x1a/0x30 [ 172.156787][ C2] IN-SOFTIRQ-W at: [ 172.156884][ C2] __lock_acquire+0x797/0x1570 [ 172.157049][ C2] lock_acquire.part.0+0xeb/0x330 [ 172.157221][ C2] _raw_write_lock+0x30/0x40 [ 172.157381][ C2] addrconf_rs_timer+0xa9/0x730 [ 172.157556][ C2] call_timer_fn+0x13b/0x230 [ 172.157718][ C2] __run_timers+0x545/0x810 [ 172.157881][ C2] run_timer_softirq+0xe8/0x1b0 [ 172.158044][ C2] __do_softirq+0x1f8/0x5df [ 172.158213][ C2] irq_exit_rcu+0x97/0xc0 [ 172.158376][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 172.158574][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 172.158780][ C2] default_idle+0xf/0x20 [ 172.158939][ C2] default_idle_call+0x6d/0xb0 [ 172.159098][ C2] cpuidle_idle_call+0x1f4/0x280 [ 172.159261][ C2] do_idle+0xf9/0x160 [ 172.159406][ C2] cpu_startup_entry+0x54/0x60 [ 172.159569][ C2] start_secondary+0x21c/0x2b0 [ 172.159732][ C2] common_startup_64+0x12c/0x138 [ 172.159895][ C2] INITIAL USE at: [ 172.159993][ C2] __lock_acquire+0x797/0x1570 [ 172.160157][ C2] lock_acquire.part.0+0xeb/0x330 [ 172.160323][ C2] _raw_write_lock_bh+0x38/0x50 [ 172.160488][ C2] addrconf_permanent_addr+0x6e/0x670 [ 172.160649][ C2] addrconf_notify+0x749/0xd60 [ 172.160816][ C2] notifier_call_chain+0xcd/0x150 [ 172.160980][ C2] __dev_notify_flags+0xe6/0x250 [ 172.161142][ C2] dev_change_flags+0xec/0x160 [ 172.161384][ C2] do_setlink+0x7d6/0x21e0 [ 172.161548][ C2] __rtnl_newlink+0xaa7/0xd80 [ 172.161712][ C2] rtnl_newlink+0x63/0xa0 [ 172.161875][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 172.162113][ C2] netlink_rcv_skb+0x130/0x360 [ 172.162277][ C2] netlink_unicast+0x449/0x710 [ 172.162442][ C2] netlink_sendmsg+0x723/0xbe0 [ 172.162684][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 172.162856][ C2] ___sys_sendmsg+0xee/0x170 [ 172.163015][ C2] __sys_sendmsg+0xcd/0x170 [ 172.163176][ C2] do_syscall_64+0xc6/0x1e0 [ 172.163408][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 172.163598][ C2] INITIAL READ USE at: [ 172.163693][ C2] __lock_acquire+0x797/0x1570 [ 172.163928][ C2] lock_acquire.part.0+0xeb/0x330 [ 172.164109][ C2] _raw_read_lock_bh+0x44/0x80 [ 172.164272][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 172.164542][ C2] inet6_fill_link_af+0x5e/0xe0 [ 172.164707][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 172.164873][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 172.165069][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 172.165348][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 172.165507][ C2] register_netdevice+0x1177/0x1690 [ 172.165716][ C2] register_netdev+0x20/0x40 [ 172.165974][ C2] vti6_init_net+0x25d/0x380 [ 172.166139][ C2] ops_init+0x9b/0x560 [ 172.166300][ C2] register_pernet_operations+0x2db/0x710 [ 172.166493][ C2] register_pernet_device+0x2a/0x60 [ 172.166687][ C2] vti6_tunnel_init+0x18/0x110 [ 172.166851][ C2] do_one_initcall+0x8d/0x1e0 [ 172.167090][ C2] do_initcalls+0x1b2/0x3e0 [ 172.167257][ C2] kernel_init_freeable+0x232/0x310 [ 172.167451][ C2] kernel_init+0x20/0x200 [ 172.167688][ C2] ret_from_fork+0x31/0x70 [ 172.167862][ C2] ret_from_fork_asm+0x1a/0x30 [ 172.168039][ C2] } [ 172.168104][ C2] ... key at: [<ffffffffa8556f00>] __key.37+0x0/0x40 [ 172.168374][ C2] ... acquired at: [ 172.168470][ C2] mark_lock+0x28d/0x3e0 [ 172.168599][ C2] mark_usage+0xd9/0x2a0 [ 172.168727][ C2] __lock_acquire+0x797/0x1570 [ 172.168928][ C2] lock_acquire.part.0+0xeb/0x330 [ 172.169059][ C2] _raw_write_lock+0x30/0x40 [ 172.169198][ C2] addrconf_rs_timer+0xa9/0x730 [ 172.169341][ C2] call_timer_fn+0x13b/0x230 [ 172.169470][ C2] __run_timers+0x545/0x810 [ 172.169676][ C2] run_timer_softirq+0xe8/0x1b0 [ 172.169806][ C2] __do_softirq+0x1f8/0x5df [ 172.169936][ C2] irq_exit_rcu+0x97/0xc0 [ 172.170064][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 172.170370][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 172.170531][ C2] default_idle+0xf/0x20 [ 172.170659][ C2] default_idle_call+0x6d/0xb0 [ 172.170798][ C2] cpuidle_idle_call+0x1f4/0x280 [ 172.171015][ C2] do_idle+0xf9/0x160 [ 172.171117][ C2] cpu_startup_entry+0x54/0x60 [ 172.171245][ C2] start_secondary+0x21c/0x2b0 [ 172.171372][ C2] common_startup_64+0x12c/0x138 [ 172.171575][ C2] [ 172.171639][ C2] [ 172.171639][ C2] stack backtrace: [ 172.171797][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 172.171993][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 172.172352][ C2] Call Trace: [ 172.172456][ C2] <IRQ> [ 172.172524][ C2] dump_stack_lvl+0x82/0xd0 [ 172.172656][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 172.172905][ C2] ? kernel_text_address+0x17/0xe0 [ 172.173037][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 172.173197][ C2] ? __pfx_usage_skip+0x10/0x10 [ 172.173325][ C2] ? __pfx_usage_match+0x10/0x10 [ 172.173457][ C2] ? arch_stack_walk+0x8c/0xf0 [ 172.173587][ C2] mark_lock_irq+0x4cd/0xa10 [ 172.173715][ C2] ? common_startup_64+0x12c/0x138 [ 172.173844][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 172.174047][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 172.174177][ C2] ? save_trace+0x8f/0x5b0 [ 172.174306][ C2] mark_lock+0x28d/0x3e0 [ 172.174403][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 172.174608][ C2] mark_usage+0xd9/0x2a0 [ 172.174705][ C2] __lock_acquire+0x797/0x1570 [ 172.174836][ C2] ? __pfx_validate_chain+0x10/0x10 [ 172.174964][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 172.175093][ C2] lock_acquire.part.0+0xeb/0x330 [ 172.175294][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 172.175421][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 172.175550][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 172.175680][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 172.175887][ C2] ? lock_acquire+0x32/0xc0 [ 172.176016][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 172.176144][ C2] _raw_write_lock+0x30/0x40 [ 172.176272][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 172.176473][ C2] addrconf_rs_timer+0xa9/0x730 [ 172.176599][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 172.176727][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 172.176860][ C2] ? call_timer_fn+0xe8/0x230 [ 172.176988][ C2] ? lock_acquire+0x32/0xc0 [ 172.177189][ C2] ? call_timer_fn+0xe8/0x230 [ 172.177318][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 172.177445][ C2] call_timer_fn+0x13b/0x230 [ 172.177573][ C2] ? call_timer_fn+0xe8/0x230 [ 172.177775][ C2] ? call_timer_fn+0xe8/0x230 [ 172.177903][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 172.178031][ C2] ? mark_lock+0x38/0x3e0 [ 172.178135][ C2] __run_timers+0x545/0x810 [ 172.178337][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 172.178467][ C2] ? __pfx___run_timers+0x10/0x10 [ 172.178596][ C2] ? do_raw_spin_lock+0x131/0x270 [ 172.178724][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 172.178852][ C2] ? lock_acquire+0x32/0xc0 [ 172.179051][ C2] ? run_timer_softirq+0xe0/0x1b0 [ 172.179181][ C2] run_timer_softirq+0xe8/0x1b0 [ 172.179313][ C2] __do_softirq+0x1f8/0x5df [ 172.179447][ C2] irq_exit_rcu+0x97/0xc0 [ 172.179616][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 172.179746][ C2] </IRQ> [ 172.179813][ C2] <TASK> [ 172.179877][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 172.180038][ C2] RIP: 0010:default_idle+0xf/0x20 [ 172.180330][ 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 <fa> c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 [ 172.180791][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000242 [ 172.181032][ C2] RAX: 0000000000695367 RBX: 1ffff9200002bfc1 RCX: ffffffffa4932ea5 [ 172.181226][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa20ac1d4 [ 172.181419][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 172.181692][ C2] R10: ffff8880361384e3 R11: ffff88803613de40 R12: 0000000000000000 [ 172.181887][ C2] R13: ffff888001b8c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 172.182081][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 172.182282][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 172.182411][ C2] default_idle_call+0x6d/0xb0 [ 172.182541][ C2] cpuidle_idle_call+0x1f4/0x280 [ 172.182669][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 172.182892][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 172.183024][ C2] do_idle+0xf9/0x160 [ 172.183122][ C2] cpu_startup_entry+0x54/0x60 [ 172.183251][ C2] start_secondary+0x21c/0x2b0 [ 172.183381][ C2] ? __pfx_start_secondary+0x10/0x10 [ 172.183511][ C2] common_startup_64+0x12c/0x138 [ 172.183643][ C2] </TASK> [ 278.125164][ T2306] veth2: entered promiscuous mode [ 278.176409][ T2306] veth2: left promiscuous mode