[ 24.340124][ T263] veth0: renamed from veth-rt-1 [ 24.990410][ T267] ip (267) used greatest stack depth: 23656 bytes left [ 25.749255][ T272] veth0: renamed from veth-rt-2 [ 34.281830][ C2] [ 34.282004][ C2] ======================================================== [ 34.282246][ C2] WARNING: possible irq lock inversion dependency detected [ 34.282472][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 34.282613][ C2] -------------------------------------------------------- [ 34.282826][ C2] swapper/2/0 just changed the state of lock: [ 34.282998][ C2] ffff888006af2580 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 34.283261][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 34.283481][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 34.283485][ C2] [ 34.283485][ C2] [ 34.283485][ C2] and interrupts could create inverse lock ordering between them. [ 34.283485][ C2] [ 34.284007][ C2] [ 34.284007][ C2] other info that might help us debug this: [ 34.284222][ C2] Possible interrupt unsafe locking scenario: [ 34.284222][ C2] [ 34.284432][ C2] CPU0 CPU1 [ 34.284573][ C2] ---- ---- [ 34.284729][ C2] lock(&p->alloc_lock); [ 34.284838][ C2] local_irq_disable(); [ 34.285015][ C2] lock(&ndev->lock); [ 34.285197][ C2] lock(&p->alloc_lock); [ 34.285372][ C2] [ 34.285478][ C2] lock(&ndev->lock); [ 34.285586][ C2] [ 34.285586][ C2] *** DEADLOCK *** [ 34.285586][ C2] [ 34.285797][ C2] 1 lock held by swapper/2/0: [ 34.285974][ C2] #0: ffffc90000230b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 34.286244][ C2] [ 34.286244][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 34.286491][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 34.286640][ C2] HARDIRQ-ON-W at: [ 34.286748][ C2] __lock_acquire+0x797/0x1570 [ 34.286935][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.287135][ C2] _raw_spin_lock+0x30/0x40 [ 34.287323][ C2] set_mems_allowed+0x1d/0x210 [ 34.287505][ C2] kernel_init_freeable+0x72/0x310 [ 34.287686][ C2] kernel_init+0x20/0x200 [ 34.287901][ C2] ret_from_fork+0x31/0x70 [ 34.288088][ C2] ret_from_fork_asm+0x1a/0x30 [ 34.288294][ C2] SOFTIRQ-ON-W at: [ 34.288404][ C2] __lock_acquire+0x797/0x1570 [ 34.288598][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.288797][ C2] _raw_spin_lock+0x30/0x40 [ 34.288977][ C2] set_mems_allowed+0x1d/0x210 [ 34.289177][ C2] kernel_init_freeable+0x72/0x310 [ 34.289409][ C2] kernel_init+0x20/0x200 [ 34.289591][ C2] ret_from_fork+0x31/0x70 [ 34.289774][ C2] ret_from_fork_asm+0x1a/0x30 [ 34.289959][ C2] INITIAL USE at: [ 34.290075][ C2] __lock_acquire+0x797/0x1570 [ 34.290263][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.290445][ C2] _raw_spin_lock+0x30/0x40 [ 34.290628][ C2] set_mems_allowed+0x1d/0x210 [ 34.290810][ C2] kernel_init_freeable+0x72/0x310 [ 34.290995][ C2] kernel_init+0x20/0x200 [ 34.291214][ C2] ret_from_fork+0x31/0x70 [ 34.291405][ C2] ret_from_fork_asm+0x1a/0x30 [ 34.291582][ C2] } [ 34.291656][ C2] ... key at: [] __key.388+0x0/0x40 [ 34.291911][ C2] ... acquired at: [ 34.292066][ C2] __lock_acquire+0xaf0/0x1570 [ 34.292285][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.292469][ C2] _raw_spin_lock+0x30/0x40 [ 34.292675][ C2] __get_task_comm+0x27/0x70 [ 34.292879][ C2] ref_tracker_alloc+0x2ee/0x490 [ 34.293031][ C2] netdev_get_by_index+0x5e/0x80 [ 34.293221][ C2] fib6_nh_init+0x3d8/0x1580 [ 34.293440][ C2] ip6_route_info_create+0xf18/0x17d0 [ 34.293674][ C2] ip6_route_add+0x1c/0x140 [ 34.293891][ C2] addrconf_prefix_route+0x2a6/0x430 [ 34.294118][ C2] addrconf_permanent_addr+0x32f/0x670 [ 34.294310][ C2] addrconf_notify+0x749/0xd60 [ 34.294538][ C2] notifier_call_chain+0xcd/0x150 [ 34.294746][ C2] __dev_notify_flags+0xe6/0x250 [ 34.294983][ C2] dev_change_flags+0xec/0x160 [ 34.295179][ C2] do_setlink+0x7d6/0x21e0 [ 34.295404][ C2] __rtnl_newlink+0xaa7/0xd80 [ 34.295628][ C2] rtnl_newlink+0x63/0xa0 [ 34.295850][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.296098][ C2] netlink_rcv_skb+0x130/0x360 [ 34.296331][ C2] netlink_unicast+0x449/0x710 [ 34.296558][ C2] netlink_sendmsg+0x723/0xbe0 [ 34.296788][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 34.297022][ C2] ___sys_sendmsg+0xee/0x170 [ 34.297248][ C2] __sys_sendmsg+0xcd/0x170 [ 34.297479][ C2] do_syscall_64+0xc6/0x1e0 [ 34.297724][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.297994][ C2] [ 34.298109][ C2] -> (&ndev->lock){++-.}-{2:2} { [ 34.298354][ C2] HARDIRQ-ON-W at: [ 34.298520][ C2] __lock_acquire+0x797/0x1570 [ 34.298811][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.299147][ C2] _raw_write_lock_bh+0x38/0x50 [ 34.299445][ C2] addrconf_permanent_addr+0x6e/0x670 [ 34.299722][ C2] addrconf_notify+0x749/0xd60 [ 34.300020][ C2] notifier_call_chain+0xcd/0x150 [ 34.300304][ C2] __dev_notify_flags+0xe6/0x250 [ 34.300597][ C2] dev_change_flags+0xec/0x160 [ 34.300881][ C2] do_setlink+0x7d6/0x21e0 [ 34.301169][ C2] __rtnl_newlink+0xaa7/0xd80 [ 34.301461][ C2] rtnl_newlink+0x63/0xa0 [ 34.301735][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.302015][ C2] netlink_rcv_skb+0x130/0x360 [ 34.302290][ C2] netlink_unicast+0x449/0x710 [ 34.302560][ C2] netlink_sendmsg+0x723/0xbe0 [ 34.302836][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 34.303101][ C2] ___sys_sendmsg+0xee/0x170 [ 34.303381][ C2] __sys_sendmsg+0xcd/0x170 [ 34.303585][ C2] do_syscall_64+0xc6/0x1e0 [ 34.303867][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.304204][ C2] HARDIRQ-ON-R at: [ 34.304390][ C2] __lock_acquire+0x797/0x1570 [ 34.304620][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.304904][ C2] _raw_read_lock_bh+0x44/0x80 [ 34.305167][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 34.305445][ C2] inet6_fill_link_af+0x5e/0xe0 [ 34.305721][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 34.306011][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 34.306295][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 34.306632][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 34.306921][ C2] register_netdevice+0x1177/0x1690 [ 34.307200][ C2] register_netdev+0x20/0x40 [ 34.307480][ C2] vti6_init_net+0x25d/0x380 [ 34.307770][ C2] ops_init+0x9b/0x560 [ 34.308004][ C2] register_pernet_operations+0x2db/0x710 [ 34.308335][ C2] register_pernet_device+0x2a/0x60 [ 34.308618][ C2] vti6_tunnel_init+0x18/0x110 [ 34.308902][ C2] do_one_initcall+0x8d/0x1e0 [ 34.309190][ C2] do_initcalls+0x1b2/0x3e0 [ 34.309475][ C2] kernel_init_freeable+0x232/0x310 [ 34.309774][ C2] kernel_init+0x20/0x200 [ 34.310067][ C2] ret_from_fork+0x31/0x70 [ 34.310340][ C2] ret_from_fork_asm+0x1a/0x30 [ 34.310612][ C2] IN-SOFTIRQ-W at: [ 34.310785][ C2] __lock_acquire+0x797/0x1570 [ 34.311052][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.311316][ C2] _raw_write_lock+0x30/0x40 [ 34.311586][ C2] addrconf_rs_timer+0xa9/0x730 [ 34.311856][ C2] call_timer_fn+0x13b/0x230 [ 34.312123][ C2] __run_timers+0x545/0x810 [ 34.312384][ C2] timer_expire_remote+0x9b/0xe0 [ 34.312647][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 34.312914][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 34.313180][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 34.313444][ C2] __do_softirq+0x1f8/0x5df [ 34.313712][ C2] irq_exit_rcu+0x97/0xc0 [ 34.313974][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.314300][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.314645][ C2] default_idle+0xf/0x20 [ 34.314924][ C2] default_idle_call+0x6d/0xb0 [ 34.315189][ C2] cpuidle_idle_call+0x1f4/0x280 [ 34.315454][ C2] do_idle+0xf9/0x160 [ 34.315802][ C2] cpu_startup_entry+0x54/0x60 [ 34.316091][ C2] start_secondary+0x21c/0x2b0 [ 34.316367][ C2] common_startup_64+0x12c/0x138 [ 34.316768][ C2] INITIAL USE at: [ 34.316932][ C2] __lock_acquire+0x797/0x1570 [ 34.317211][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.317479][ C2] _raw_write_lock_bh+0x38/0x50 [ 34.317882][ C2] addrconf_permanent_addr+0x6e/0x670 [ 34.318170][ C2] addrconf_notify+0x749/0xd60 [ 34.318450][ C2] notifier_call_chain+0xcd/0x150 [ 34.318667][ C2] __dev_notify_flags+0xe6/0x250 [ 34.318850][ C2] dev_change_flags+0xec/0x160 [ 34.319039][ C2] do_setlink+0x7d6/0x21e0 [ 34.319268][ C2] __rtnl_newlink+0xaa7/0xd80 [ 34.319703][ C2] rtnl_newlink+0x63/0xa0 [ 34.319993][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.320260][ C2] netlink_rcv_skb+0x130/0x360 [ 34.320531][ C2] netlink_unicast+0x449/0x710 [ 34.320723][ C2] netlink_sendmsg+0x723/0xbe0 [ 34.320915][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 34.321099][ C2] ___sys_sendmsg+0xee/0x170 [ 34.321387][ C2] __sys_sendmsg+0xcd/0x170 [ 34.321577][ C2] do_syscall_64+0xc6/0x1e0 [ 34.321761][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.322064][ C2] INITIAL READ USE at: [ 34.322190][ C2] __lock_acquire+0x797/0x1570 [ 34.322382][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.322568][ C2] _raw_read_lock_bh+0x44/0x80 [ 34.322843][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 34.323071][ C2] inet6_fill_link_af+0x5e/0xe0 [ 34.323265][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 34.323544][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 34.323777][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 34.324001][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 34.324517][ C2] register_netdevice+0x1177/0x1690 [ 34.324759][ C2] register_netdev+0x20/0x40 [ 34.324964][ C2] vti6_init_net+0x25d/0x380 [ 34.325261][ C2] ops_init+0x9b/0x560 [ 34.325463][ C2] register_pernet_operations+0x2db/0x710 [ 34.325689][ C2] register_pernet_device+0x2a/0x60 [ 34.326017][ C2] vti6_tunnel_init+0x18/0x110 [ 34.326224][ C2] do_one_initcall+0x8d/0x1e0 [ 34.326407][ C2] do_initcalls+0x1b2/0x3e0 [ 34.326597][ C2] kernel_init_freeable+0x232/0x310 [ 34.326911][ C2] kernel_init+0x20/0x200 [ 34.327103][ C2] ret_from_fork+0x31/0x70 [ 34.327306][ C2] ret_from_fork_asm+0x1a/0x30 [ 34.327594][ C2] } [ 34.327668][ C2] ... key at: [] __key.37+0x0/0x40 [ 34.327899][ C2] ... acquired at: [ 34.328007][ C2] mark_lock+0x28d/0x3e0 [ 34.328278][ C2] mark_usage+0xd9/0x2a0 [ 34.328424][ C2] __lock_acquire+0x797/0x1570 [ 34.328569][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.328714][ C2] _raw_write_lock+0x30/0x40 [ 34.328940][ C2] addrconf_rs_timer+0xa9/0x730 [ 34.329084][ C2] call_timer_fn+0x13b/0x230 [ 34.329237][ C2] __run_timers+0x545/0x810 [ 34.329392][ C2] timer_expire_remote+0x9b/0xe0 [ 34.329536][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 34.329766][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 34.329909][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 34.330059][ C2] __do_softirq+0x1f8/0x5df [ 34.330213][ C2] irq_exit_rcu+0x97/0xc0 [ 34.330431][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.330608][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.330786][ C2] default_idle+0xf/0x20 [ 34.330929][ C2] default_idle_call+0x6d/0xb0 [ 34.331152][ C2] cpuidle_idle_call+0x1f4/0x280 [ 34.331296][ C2] do_idle+0xf9/0x160 [ 34.331404][ C2] cpu_startup_entry+0x54/0x60 [ 34.331546][ C2] start_secondary+0x21c/0x2b0 [ 34.331767][ C2] common_startup_64+0x12c/0x138 [ 34.331910][ C2] [ 34.331981][ C2] [ 34.331981][ C2] stack backtrace: [ 34.332158][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 34.332445][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 34.332758][ C2] Call Trace: [ 34.332877][ C2] [ 34.332952][ C2] dump_stack_lvl+0x82/0xd0 [ 34.333182][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 34.333360][ C2] ? kernel_text_address+0x17/0xe0 [ 34.333503][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 34.333678][ C2] ? __pfx_usage_skip+0x10/0x10 [ 34.333899][ C2] ? __pfx_usage_match+0x10/0x10 [ 34.334040][ C2] ? arch_stack_walk+0x8c/0xf0 [ 34.334261][ C2] mark_lock_irq+0x4cd/0xa10 [ 34.334472][ C2] ? common_startup_64+0x12c/0x138 [ 34.334616][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 34.334767][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 34.334923][ C2] ? save_trace+0x8f/0x5b0 [ 34.335070][ C2] mark_lock+0x28d/0x3e0 [ 34.335278][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 34.335432][ C2] mark_usage+0xd9/0x2a0 [ 34.335542][ C2] __lock_acquire+0x797/0x1570 [ 34.335693][ C2] ? __pfx_validate_chain+0x10/0x10 [ 34.335848][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.336171][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.336335][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 34.336489][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 34.336638][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 34.336876][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 34.337032][ C2] ? lock_acquire+0x32/0xc0 [ 34.337190][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 34.337352][ C2] _raw_write_lock+0x30/0x40 [ 34.337497][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 34.337641][ C2] addrconf_rs_timer+0xa9/0x730 [ 34.337799][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 34.337964][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.338110][ C2] ? call_timer_fn+0xe8/0x230 [ 34.338352][ C2] ? lock_acquire+0x32/0xc0 [ 34.338499][ C2] ? call_timer_fn+0xe8/0x230 [ 34.338656][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.338811][ C2] call_timer_fn+0x13b/0x230 [ 34.339045][ C2] ? call_timer_fn+0xe8/0x230 [ 34.339222][ C2] ? call_timer_fn+0xe8/0x230 [ 34.339385][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 34.339528][ C2] ? mark_lock+0x38/0x3e0 [ 34.339726][ C2] __run_timers+0x545/0x810 [ 34.339878][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.340028][ C2] ? __pfx___run_timers+0x10/0x10 [ 34.340197][ C2] ? __lock_release+0x103/0x460 [ 34.340343][ C2] ? do_raw_spin_lock+0x131/0x270 [ 34.340576][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 34.340726][ C2] ? lock_acquire+0x32/0xc0 [ 34.340870][ C2] ? timer_expire_remote+0x93/0xe0 [ 34.341026][ C2] timer_expire_remote+0x9b/0xe0 [ 34.341264][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 34.341432][ C2] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 34.341623][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 34.341768][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 34.341997][ C2] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 34.342156][ C2] __do_softirq+0x1f8/0x5df [ 34.342302][ C2] irq_exit_rcu+0x97/0xc0 [ 34.342418][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.342638][ C2] [ 34.342722][ C2] [ 34.342796][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.342975][ C2] RIP: 0010:default_idle+0xf/0x20 [ 34.343135][ 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 fb 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 [ 34.343766][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000246 [ 34.343970][ C2] RAX: 00000000000f88a9 RBX: 1ffff9200002bfc1 RCX: ffffffff8a131ea5 [ 34.344296][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff878ac1d4 [ 34.344515][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 34.344732][ C2] R10: ffff8880361384e3 R11: ffff88803613de40 R12: 0000000000000000 [ 34.345054][ C2] R13: ffff888001b8c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 34.345300][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 34.345453][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 34.345601][ C2] default_idle_call+0x6d/0xb0 [ 34.345758][ C2] cpuidle_idle_call+0x1f4/0x280 [ 34.345909][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 34.346068][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 34.346323][ C2] do_idle+0xf9/0x160 [ 34.346434][ C2] cpu_startup_entry+0x54/0x60 [ 34.346588][ C2] start_secondary+0x21c/0x2b0 [ 34.346733][ C2] ? __pfx_start_secondary+0x10/0x10 [ 34.346892][ C2] common_startup_64+0x12c/0x138 [ 34.347127][ C2]