[ 98.414948][ T568] veth0: renamed from ioam-veth-alpha [ 98.580341][ T569] veth0: renamed from ioam-veth-betaL [ 98.702665][ T570] veth1: renamed from ioam-veth-betaR [ 98.830366][ T571] veth0: renamed from ioam-veth-gamma [ 105.578880][ C3] [ 105.579089][ C3] ======================================================== [ 105.579291][ C3] WARNING: possible irq lock inversion dependency detected [ 105.579493][ C3] 6.9.0-rc1-virtme #1 Not tainted [ 105.579624][ C3] -------------------------------------------------------- [ 105.579820][ C3] swapper/3/0 just changed the state of lock: [ 105.579986][ C3] ffff888002a4bd80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 105.580231][ C3] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 105.580424][ C3] (&p->alloc_lock){+.+.}-{2:2} [ 105.580429][ C3] [ 105.580429][ C3] [ 105.580429][ C3] and interrupts could create inverse lock ordering between them. [ 105.580429][ C3] [ 105.580918][ C3] [ 105.580918][ C3] other info that might help us debug this: [ 105.581116][ C3] Possible interrupt unsafe locking scenario: [ 105.581116][ C3] [ 105.581308][ C3] CPU0 CPU1 [ 105.581436][ C3] ---- ---- [ 105.581567][ C3] lock(&p->alloc_lock); [ 105.581668][ C3] local_irq_disable(); [ 105.581828][ C3] lock(&ndev->lock); [ 105.581994][ C3] lock(&p->alloc_lock); [ 105.582159][ C3] [ 105.582256][ C3] lock(&ndev->lock); [ 105.582356][ C3] [ 105.582356][ C3] *** DEADLOCK *** [ 105.582356][ C3] [ 105.582546][ C3] 1 lock held by swapper/3/0: [ 105.582676][ C3] #0: ffffc90000288d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 105.582916][ C3] [ 105.582916][ C3] the shortest dependencies between 2nd lock and 1st lock: [ 105.583139][ C3] -> (&p->alloc_lock){+.+.}-{2:2} { [ 105.583277][ C3] HARDIRQ-ON-W at: [ 105.583377][ C3] __lock_acquire+0x797/0x1570 [ 105.583545][ C3] lock_acquire.part.0+0xeb/0x330 [ 105.583713][ C3] _raw_spin_lock+0x30/0x40 [ 105.583893][ C3] set_mems_allowed+0x1d/0x210 [ 105.584058][ C3] kernel_init_freeable+0x72/0x310 [ 105.584224][ C3] kernel_init+0x20/0x200 [ 105.584391][ C3] ret_from_fork+0x31/0x70 [ 105.584557][ C3] ret_from_fork_asm+0x1a/0x30 [ 105.584723][ C3] SOFTIRQ-ON-W at: [ 105.584822][ C3] __lock_acquire+0x797/0x1570 [ 105.584990][ C3] lock_acquire.part.0+0xeb/0x330 [ 105.585154][ C3] _raw_spin_lock+0x30/0x40 [ 105.585318][ C3] set_mems_allowed+0x1d/0x210 [ 105.585484][ C3] kernel_init_freeable+0x72/0x310 [ 105.585649][ C3] kernel_init+0x20/0x200 [ 105.585813][ C3] ret_from_fork+0x31/0x70 [ 105.585982][ C3] ret_from_fork_asm+0x1a/0x30 [ 105.586146][ C3] INITIAL USE at: [ 105.586246][ C3] __lock_acquire+0x797/0x1570 [ 105.586409][ C3] lock_acquire.part.0+0xeb/0x330 [ 105.586577][ C3] _raw_spin_lock+0x30/0x40 [ 105.586744][ C3] set_mems_allowed+0x1d/0x210 [ 105.586912][ C3] kernel_init_freeable+0x72/0x310 [ 105.587076][ C3] kernel_init+0x20/0x200 [ 105.587244][ C3] ret_from_fork+0x31/0x70 [ 105.587410][ C3] ret_from_fork_asm+0x1a/0x30 [ 105.587573][ C3] } [ 105.587641][ C3] ... key at: [] __key.388+0x0/0x40 [ 105.587840][ C3] ... acquired at: [ 105.587942][ C3] __lock_acquire+0xaf0/0x1570 [ 105.588083][ C3] lock_acquire.part.0+0xeb/0x330 [ 105.588213][ C3] _raw_spin_lock+0x30/0x40 [ 105.588346][ C3] __get_task_comm+0x27/0x70 [ 105.588481][ C3] ref_tracker_alloc+0x2ee/0x490 [ 105.588611][ C3] netdev_get_by_index+0x5e/0x80 [ 105.588743][ C3] fib6_nh_init+0x3d8/0x1580 [ 105.588877][ C3] ip6_route_info_create+0xf18/0x17d0 [ 105.589009][ C3] addrconf_f6i_alloc+0x315/0x560 [ 105.589139][ C3] addrconf_permanent_addr+0x1ed/0x670 [ 105.589271][ C3] addrconf_notify+0x749/0xd60 [ 105.589401][ C3] notifier_call_chain+0xcd/0x150 [ 105.589534][ C3] __dev_notify_flags+0xe6/0x250 [ 105.589666][ C3] dev_change_flags+0xec/0x160 [ 105.589796][ C3] do_setlink+0x7d6/0x21e0 [ 105.589931][ C3] __rtnl_newlink+0xaa7/0xd80 [ 105.590066][ C3] rtnl_newlink+0x63/0xa0 [ 105.590197][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 105.590327][ C3] netlink_rcv_skb+0x130/0x360 [ 105.590460][ C3] netlink_unicast+0x449/0x710 [ 105.590593][ C3] netlink_sendmsg+0x723/0xbe0 [ 105.590724][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 105.590856][ C3] ___sys_sendmsg+0xee/0x170 [ 105.590986][ C3] __sys_sendmsg+0xcd/0x170 [ 105.591119][ C3] do_syscall_64+0xc6/0x1e0 [ 105.591252][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 105.591415][ C3] [ 105.591482][ C3] -> (&ndev->lock){++-.}-{2:2} { [ 105.591619][ C3] HARDIRQ-ON-W at: [ 105.591718][ C3] __lock_acquire+0x797/0x1570 [ 105.591884][ C3] lock_acquire.part.0+0xeb/0x330 [ 105.592050][ C3] _raw_write_lock_bh+0x38/0x50 [ 105.592221][ C3] addrconf_permanent_addr+0x6e/0x670 [ 105.592386][ C3] addrconf_notify+0x749/0xd60 [ 105.592557][ C3] notifier_call_chain+0xcd/0x150 [ 105.592719][ C3] __dev_notify_flags+0xe6/0x250 [ 105.592883][ C3] dev_change_flags+0xec/0x160 [ 105.593045][ C3] do_setlink+0x7d6/0x21e0 [ 105.593207][ C3] __rtnl_newlink+0xaa7/0xd80 [ 105.593375][ C3] rtnl_newlink+0x63/0xa0 [ 105.593537][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 105.593698][ C3] netlink_rcv_skb+0x130/0x360 [ 105.593873][ C3] netlink_unicast+0x449/0x710 [ 105.594036][ C3] netlink_sendmsg+0x723/0xbe0 [ 105.594201][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 105.594367][ C3] ___sys_sendmsg+0xee/0x170 [ 105.594531][ C3] __sys_sendmsg+0xcd/0x170 [ 105.594694][ C3] do_syscall_64+0xc6/0x1e0 [ 105.594855][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 105.595055][ C3] HARDIRQ-ON-R at: [ 105.595153][ C3] __lock_acquire+0x797/0x1570 [ 105.595315][ C3] lock_acquire.part.0+0xeb/0x330 [ 105.595482][ C3] _raw_read_lock_bh+0x44/0x80 [ 105.595645][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 105.595811][ C3] inet6_fill_link_af+0x5e/0xe0 [ 105.595972][ C3] rtnl_fill_ifinfo+0x1615/0x2a90 [ 105.596135][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 105.596298][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 105.596494][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 105.596671][ C3] register_netdevice+0x1177/0x1690 [ 105.596834][ C3] register_netdev+0x20/0x40 [ 105.596996][ C3] vti6_init_net+0x25d/0x380 [ 105.597161][ C3] ops_init+0x9b/0x560 [ 105.597292][ C3] register_pernet_operations+0x2db/0x710 [ 105.597492][ C3] register_pernet_device+0x2a/0x60 [ 105.597654][ C3] vti6_tunnel_init+0x18/0x110 [ 105.597818][ C3] do_one_initcall+0x8d/0x1e0 [ 105.597982][ C3] do_initcalls+0x1b2/0x3e0 [ 105.598145][ C3] kernel_init_freeable+0x232/0x310 [ 105.598308][ C3] kernel_init+0x20/0x200 [ 105.598473][ C3] ret_from_fork+0x31/0x70 [ 105.598640][ C3] ret_from_fork_asm+0x1a/0x30 [ 105.598802][ C3] IN-SOFTIRQ-W at: [ 105.598901][ C3] __lock_acquire+0x797/0x1570 [ 105.599218][ C3] lock_acquire.part.0+0xeb/0x330 [ 105.599380][ C3] _raw_write_lock+0x30/0x40 [ 105.599544][ C3] addrconf_rs_timer+0xa9/0x730 [ 105.599781][ C3] call_timer_fn+0x13b/0x230 [ 105.599947][ C3] __run_timers+0x545/0x810 [ 105.600111][ C3] run_timer_softirq+0xe8/0x1b0 [ 105.600349][ C3] __do_softirq+0x1f8/0x5df [ 105.600511][ C3] irq_exit_rcu+0x97/0xc0 [ 105.600673][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 105.600868][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 105.601142][ C3] default_idle+0xf/0x20 [ 105.601303][ C3] default_idle_call+0x6d/0xb0 [ 105.601466][ C3] cpuidle_idle_call+0x1f4/0x280 [ 105.601705][ C3] do_idle+0xf9/0x160 [ 105.601835][ C3] cpu_startup_entry+0x54/0x60 [ 105.601999][ C3] start_secondary+0x21c/0x2b0 [ 105.602237][ C3] common_startup_64+0x12c/0x138 [ 105.602402][ C3] INITIAL USE at: [ 105.602499][ C3] __lock_acquire+0x797/0x1570 [ 105.602661][ C3] lock_acquire.part.0+0xeb/0x330 [ 105.602897][ C3] _raw_write_lock_bh+0x38/0x50 [ 105.603062][ C3] addrconf_permanent_addr+0x6e/0x670 [ 105.603225][ C3] addrconf_notify+0x749/0xd60 [ 105.603389][ C3] notifier_call_chain+0xcd/0x150 [ 105.603626][ C3] __dev_notify_flags+0xe6/0x250 [ 105.603790][ C3] dev_change_flags+0xec/0x160 [ 105.603961][ C3] do_setlink+0x7d6/0x21e0 [ 105.604198][ C3] __rtnl_newlink+0xaa7/0xd80 [ 105.604360][ C3] rtnl_newlink+0x63/0xa0 [ 105.604522][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 105.604762][ C3] netlink_rcv_skb+0x130/0x360 [ 105.604927][ C3] netlink_unicast+0x449/0x710 [ 105.605088][ C3] netlink_sendmsg+0x723/0xbe0 [ 105.605251][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 105.605494][ C3] ___sys_sendmsg+0xee/0x170 [ 105.605657][ C3] __sys_sendmsg+0xcd/0x170 [ 105.605824][ C3] do_syscall_64+0xc6/0x1e0 [ 105.606061][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 105.606254][ C3] INITIAL READ USE at: [ 105.606351][ C3] __lock_acquire+0x797/0x1570 [ 105.606514][ C3] lock_acquire.part.0+0xeb/0x330 [ 105.606761][ C3] _raw_read_lock_bh+0x44/0x80 [ 105.606923][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 105.607120][ C3] inet6_fill_link_af+0x5e/0xe0 [ 105.607356][ C3] rtnl_fill_ifinfo+0x1615/0x2a90 [ 105.607518][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 105.607713][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 105.607982][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 105.608147][ C3] register_netdevice+0x1177/0x1690 [ 105.608339][ C3] register_netdev+0x20/0x40 [ 105.608577][ C3] vti6_init_net+0x25d/0x380 [ 105.608740][ C3] ops_init+0x9b/0x560 [ 105.608901][ C3] register_pernet_operations+0x2db/0x710 [ 105.609244][ C3] register_pernet_device+0x2a/0x60 [ 105.609440][ C3] vti6_tunnel_init+0x18/0x110 [ 105.609603][ C3] do_one_initcall+0x8d/0x1e0 [ 105.609765][ C3] do_initcalls+0x1b2/0x3e0 [ 105.610002][ C3] kernel_init_freeable+0x232/0x310 [ 105.610194][ C3] kernel_init+0x20/0x200 [ 105.610357][ C3] ret_from_fork+0x31/0x70 [ 105.610599][ C3] ret_from_fork_asm+0x1a/0x30 [ 105.610761][ C3] } [ 105.610828][ C3] ... key at: [] __key.37+0x0/0x40 [ 105.611022][ C3] ... acquired at: [ 105.611188][ C3] mark_lock+0x28d/0x3e0 [ 105.611321][ C3] mark_usage+0xd9/0x2a0 [ 105.611450][ C3] __lock_acquire+0x797/0x1570 [ 105.611579][ C3] lock_acquire.part.0+0xeb/0x330 [ 105.611788][ C3] _raw_write_lock+0x30/0x40 [ 105.611917][ C3] addrconf_rs_timer+0xa9/0x730 [ 105.612044][ C3] call_timer_fn+0x13b/0x230 [ 105.612173][ C3] __run_timers+0x545/0x810 [ 105.612376][ C3] run_timer_softirq+0xe8/0x1b0 [ 105.612506][ C3] __do_softirq+0x1f8/0x5df [ 105.612634][ C3] irq_exit_rcu+0x97/0xc0 [ 105.612763][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 105.612997][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 105.613162][ C3] default_idle+0xf/0x20 [ 105.613290][ C3] default_idle_call+0x6d/0xb0 [ 105.613419][ C3] cpuidle_idle_call+0x1f4/0x280 [ 105.613621][ C3] do_idle+0xf9/0x160 [ 105.613719][ C3] cpu_startup_entry+0x54/0x60 [ 105.613856][ C3] start_secondary+0x21c/0x2b0 [ 105.613986][ C3] common_startup_64+0x12c/0x138 [ 105.614117][ C3] [ 105.614254][ C3] [ 105.614254][ C3] stack backtrace: [ 105.614415][ C3] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.9.0-rc1-virtme #1 [ 105.614608][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 105.614965][ C3] Call Trace: [ 105.615074][ C3] [ 105.615143][ C3] dump_stack_lvl+0x82/0xd0 [ 105.615277][ C3] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 105.615514][ C3] ? kernel_text_address+0x17/0xe0 [ 105.615646][ C3] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 105.615806][ C3] ? __pfx_usage_skip+0x10/0x10 [ 105.615936][ C3] ? __pfx_usage_match+0x10/0x10 [ 105.616139][ C3] ? arch_stack_walk+0x8c/0xf0 [ 105.616269][ C3] mark_lock_irq+0x4cd/0xa10 [ 105.616397][ C3] ? common_startup_64+0x12c/0x138 [ 105.616525][ C3] ? __pfx_mark_lock_irq+0x10/0x10 [ 105.616659][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 105.616865][ C3] ? save_trace+0x8f/0x5b0 [ 105.616994][ C3] mark_lock+0x28d/0x3e0 [ 105.617092][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 105.617220][ C3] mark_usage+0xd9/0x2a0 [ 105.617392][ C3] __lock_acquire+0x797/0x1570 [ 105.617522][ C3] ? __pfx_validate_chain+0x10/0x10 [ 105.617651][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 105.617784][ C3] lock_acquire.part.0+0xeb/0x330 [ 105.617913][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 105.618115][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 105.618244][ C3] ? trace_lock_acquire+0x135/0x1c0 [ 105.618373][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 105.618501][ C3] ? lock_acquire+0x32/0xc0 [ 105.618704][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 105.618833][ C3] _raw_write_lock+0x30/0x40 [ 105.618961][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 105.619093][ C3] addrconf_rs_timer+0xa9/0x730 [ 105.619369][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 105.619498][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 105.619626][ C3] ? call_timer_fn+0xe8/0x230 [ 105.619757][ C3] ? lock_acquire+0x32/0xc0 [ 105.619959][ C3] ? call_timer_fn+0xe8/0x230 [ 105.620087][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 105.620214][ C3] call_timer_fn+0x13b/0x230 [ 105.620355][ C3] ? call_timer_fn+0xe8/0x230 [ 105.620484][ C3] ? call_timer_fn+0xe8/0x230 [ 105.620694][ C3] ? __pfx_call_timer_fn+0x10/0x10 [ 105.620822][ C3] ? mark_lock+0x38/0x3e0 [ 105.620923][ C3] __run_timers+0x545/0x810 [ 105.621052][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 105.621255][ C3] ? __pfx___run_timers+0x10/0x10 [ 105.621386][ C3] ? do_raw_spin_lock+0x131/0x270 [ 105.621517][ C3] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 105.621649][ C3] ? lock_acquire+0x32/0xc0 [ 105.621849][ C3] ? run_timer_softirq+0xe0/0x1b0 [ 105.621979][ C3] run_timer_softirq+0xe8/0x1b0 [ 105.622110][ C3] __do_softirq+0x1f8/0x5df [ 105.622241][ C3] irq_exit_rcu+0x97/0xc0 [ 105.622338][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 105.622543][ C3] [ 105.622609][ C3] [ 105.622675][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 105.622837][ C3] RIP: 0010:default_idle+0xf/0x20 [ 105.622979][ C3] 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 [ 105.623517][ C3] RSP: 0018:ffffc9000016fdf8 EFLAGS: 00000246 [ 105.623761][ C3] RAX: 000000000016912b RBX: 1ffff9200002dfc1 RCX: ffffffffa6f31ea5 [ 105.623966][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa46ac1d4 [ 105.624159][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3709c [ 105.624430][ C3] R10: ffff8880361b84e3 R11: ffff8880361ad9b0 R12: 0000000000000000 [ 105.624623][ C3] R13: ffff888001b98040 R14: dffffc0000000000 R15: 0000000000000000 [ 105.624816][ C3] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 105.625022][ C3] ? cpuidle_idle_call+0x1f4/0x280 [ 105.625153][ C3] default_idle_call+0x6d/0xb0 [ 105.625284][ C3] cpuidle_idle_call+0x1f4/0x280 [ 105.625413][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 105.625543][ C3] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 105.625748][ C3] do_idle+0xf9/0x160 [ 105.625845][ C3] cpu_startup_entry+0x54/0x60 [ 105.625974][ C3] start_secondary+0x21c/0x2b0 [ 105.626106][ C3] ? __pfx_start_secondary+0x10/0x10 [ 105.626312][ C3] common_startup_64+0x12c/0x138 [ 105.626443][ C3]