[ 20.397604][ T197] make (197) used greatest stack depth: 24608 bytes left [ 26.363201][ T275] ip (275) used greatest stack depth: 24032 bytes left [ 27.085224][ T282] veth0: renamed from ioam-veth-alpha [ 27.196499][ T283] veth0: renamed from ioam-veth-betaL [ 27.319018][ T284] veth1: renamed from ioam-veth-betaR [ 27.441344][ T285] veth0: renamed from ioam-veth-gamma [ 27.683348][ T287] ip (287) used greatest stack depth: 23728 bytes left [ 34.087630][ C3] [ 34.087891][ C3] ======================================================== [ 34.088101][ C3] WARNING: possible irq lock inversion dependency detected [ 34.088299][ C3] 6.9.0-rc1-virtme #1 Not tainted [ 34.088436][ C3] -------------------------------------------------------- [ 34.088635][ C3] swapper/3/0 just changed the state of lock: [ 34.088799][ C3] ffff888005272580 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 34.089045][ C3] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 34.089240][ C3] (&p->alloc_lock){+.+.}-{2:2} [ 34.089244][ C3] [ 34.089244][ C3] [ 34.089244][ C3] and interrupts could create inverse lock ordering between them. [ 34.089244][ C3] [ 34.089728][ C3] [ 34.089728][ C3] other info that might help us debug this: [ 34.089917][ C3] Possible interrupt unsafe locking scenario: [ 34.089917][ C3] [ 34.090121][ C3] CPU0 CPU1 [ 34.090251][ C3] ---- ---- [ 34.090379][ C3] lock(&p->alloc_lock); [ 34.090484][ C3] local_irq_disable(); [ 34.090644][ C3] lock(&ndev->lock); [ 34.090809][ C3] lock(&p->alloc_lock); [ 34.090971][ C3] [ 34.091068][ C3] lock(&ndev->lock); [ 34.091168][ C3] [ 34.091168][ C3] *** DEADLOCK *** [ 34.091168][ C3] [ 34.091361][ C3] 1 lock held by swapper/3/0: [ 34.091492][ C3] #0: ffffc90000288d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 34.091728][ C3] [ 34.091728][ C3] the shortest dependencies between 2nd lock and 1st lock: [ 34.091952][ C3] -> (&p->alloc_lock){+.+.}-{2:2} { [ 34.092089][ C3] HARDIRQ-ON-W at: [ 34.092190][ C3] __lock_acquire+0x797/0x1570 [ 34.092365][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.092533][ C3] _raw_spin_lock+0x30/0x40 [ 34.092703][ C3] set_mems_allowed+0x1d/0x210 [ 34.092871][ C3] kernel_init_freeable+0x72/0x310 [ 34.093039][ C3] kernel_init+0x20/0x200 [ 34.093205][ C3] ret_from_fork+0x31/0x70 [ 34.093373][ C3] ret_from_fork_asm+0x1a/0x30 [ 34.093538][ C3] SOFTIRQ-ON-W at: [ 34.093639][ C3] __lock_acquire+0x797/0x1570 [ 34.093803][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.093968][ C3] _raw_spin_lock+0x30/0x40 [ 34.094132][ C3] set_mems_allowed+0x1d/0x210 [ 34.094299][ C3] kernel_init_freeable+0x72/0x310 [ 34.094468][ C3] kernel_init+0x20/0x200 [ 34.094632][ C3] ret_from_fork+0x31/0x70 [ 34.094798][ C3] ret_from_fork_asm+0x1a/0x30 [ 34.094963][ C3] INITIAL USE at: [ 34.095062][ C3] __lock_acquire+0x797/0x1570 [ 34.095226][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.095395][ C3] _raw_spin_lock+0x30/0x40 [ 34.095561][ C3] set_mems_allowed+0x1d/0x210 [ 34.095726][ C3] kernel_init_freeable+0x72/0x310 [ 34.095892][ C3] kernel_init+0x20/0x200 [ 34.096057][ C3] ret_from_fork+0x31/0x70 [ 34.096220][ C3] ret_from_fork_asm+0x1a/0x30 [ 34.096387][ C3] } [ 34.096459][ C3] ... key at: [] __key.388+0x0/0x40 [ 34.096656][ C3] ... acquired at: [ 34.096754][ C3] __lock_acquire+0xaf0/0x1570 [ 34.096888][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.097023][ C3] _raw_spin_lock+0x30/0x40 [ 34.097153][ C3] __get_task_comm+0x27/0x70 [ 34.097289][ C3] ref_tracker_alloc+0x2ee/0x490 [ 34.097427][ C3] netdev_get_by_index+0x5e/0x80 [ 34.097562][ C3] fib6_nh_init+0x3d8/0x1580 [ 34.097695][ C3] ip6_route_info_create+0xf18/0x17d0 [ 34.097824][ C3] addrconf_f6i_alloc+0x315/0x560 [ 34.097953][ C3] addrconf_permanent_addr+0x1ed/0x670 [ 34.098087][ C3] addrconf_notify+0x749/0xd60 [ 34.098219][ C3] notifier_call_chain+0xcd/0x150 [ 34.098353][ C3] __dev_notify_flags+0xe6/0x250 [ 34.098490][ C3] dev_change_flags+0xec/0x160 [ 34.098620][ C3] do_setlink+0x7d6/0x21e0 [ 34.098762][ C3] __rtnl_newlink+0xaa7/0xd80 [ 34.098893][ C3] rtnl_newlink+0x63/0xa0 [ 34.099023][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.099158][ C3] netlink_rcv_skb+0x130/0x360 [ 34.099292][ C3] netlink_unicast+0x449/0x710 [ 34.099421][ C3] netlink_sendmsg+0x723/0xbe0 [ 34.099551][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 34.099686][ C3] ___sys_sendmsg+0xee/0x170 [ 34.099820][ C3] __sys_sendmsg+0xcd/0x170 [ 34.099952][ C3] do_syscall_64+0xc6/0x1e0 [ 34.100085][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.100248][ C3] [ 34.100315][ C3] -> (&ndev->lock){++-.}-{2:2} { [ 34.100452][ C3] HARDIRQ-ON-W at: [ 34.100551][ C3] __lock_acquire+0x797/0x1570 [ 34.100717][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.100886][ C3] _raw_write_lock_bh+0x38/0x50 [ 34.101051][ C3] addrconf_permanent_addr+0x6e/0x670 [ 34.101217][ C3] addrconf_notify+0x749/0xd60 [ 34.101381][ C3] notifier_call_chain+0xcd/0x150 [ 34.101546][ C3] __dev_notify_flags+0xe6/0x250 [ 34.101720][ C3] dev_change_flags+0xec/0x160 [ 34.101884][ C3] do_setlink+0x7d6/0x21e0 [ 34.102049][ C3] __rtnl_newlink+0xaa7/0xd80 [ 34.102214][ C3] rtnl_newlink+0x63/0xa0 [ 34.102377][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.102541][ C3] netlink_rcv_skb+0x130/0x360 [ 34.102706][ C3] netlink_unicast+0x449/0x710 [ 34.102872][ C3] netlink_sendmsg+0x723/0xbe0 [ 34.103036][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 34.103201][ C3] ___sys_sendmsg+0xee/0x170 [ 34.103365][ C3] __sys_sendmsg+0xcd/0x170 [ 34.103529][ C3] do_syscall_64+0xc6/0x1e0 [ 34.103692][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.103889][ C3] HARDIRQ-ON-R at: [ 34.103989][ C3] __lock_acquire+0x797/0x1570 [ 34.104152][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.104317][ C3] _raw_read_lock_bh+0x44/0x80 [ 34.104480][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 34.104644][ C3] inet6_fill_link_af+0x5e/0xe0 [ 34.104806][ C3] rtnl_fill_ifinfo+0x1615/0x2a90 [ 34.104975][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 34.105139][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 34.105333][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 34.105498][ C3] register_netdevice+0x1177/0x1690 [ 34.105662][ C3] register_netdev+0x20/0x40 [ 34.105825][ C3] vti6_init_net+0x25d/0x380 [ 34.105994][ C3] ops_init+0x9b/0x560 [ 34.106127][ C3] register_pernet_operations+0x2db/0x710 [ 34.106323][ C3] register_pernet_device+0x2a/0x60 [ 34.106487][ C3] vti6_tunnel_init+0x18/0x110 [ 34.106653][ C3] do_one_initcall+0x8d/0x1e0 [ 34.106816][ C3] do_initcalls+0x1b2/0x3e0 [ 34.106979][ C3] kernel_init_freeable+0x232/0x310 [ 34.107147][ C3] kernel_init+0x20/0x200 [ 34.107313][ C3] ret_from_fork+0x31/0x70 [ 34.107476][ C3] ret_from_fork_asm+0x1a/0x30 [ 34.107640][ C3] IN-SOFTIRQ-W at: [ 34.107740][ C3] __lock_acquire+0x797/0x1570 [ 34.107905][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.108069][ C3] _raw_write_lock+0x30/0x40 [ 34.108235][ C3] addrconf_rs_timer+0xa9/0x730 [ 34.108399][ C3] call_timer_fn+0x13b/0x230 [ 34.108565][ C3] __run_timers+0x545/0x810 [ 34.108729][ C3] run_timer_softirq+0xe8/0x1b0 [ 34.108895][ C3] __do_softirq+0x1f8/0x5df [ 34.109062][ C3] irq_exit_rcu+0x97/0xc0 [ 34.109236][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.109433][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.109630][ C3] default_idle+0xf/0x20 [ 34.109791][ C3] default_idle_call+0x6d/0xb0 [ 34.109955][ C3] cpuidle_idle_call+0x1f4/0x280 [ 34.110130][ C3] do_idle+0xf9/0x160 [ 34.110264][ C3] cpu_startup_entry+0x54/0x60 [ 34.110426][ C3] start_secondary+0x21c/0x2b0 [ 34.110593][ C3] common_startup_64+0x12c/0x138 [ 34.110759][ C3] INITIAL USE at: [ 34.110857][ C3] __lock_acquire+0x797/0x1570 [ 34.111021][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.111186][ C3] _raw_write_lock_bh+0x38/0x50 [ 34.111355][ C3] addrconf_permanent_addr+0x6e/0x670 [ 34.111520][ C3] addrconf_notify+0x749/0xd60 [ 34.111686][ C3] notifier_call_chain+0xcd/0x150 [ 34.111851][ C3] __dev_notify_flags+0xe6/0x250 [ 34.112016][ C3] dev_change_flags+0xec/0x160 [ 34.112181][ C3] do_setlink+0x7d6/0x21e0 [ 34.112348][ C3] __rtnl_newlink+0xaa7/0xd80 [ 34.112513][ C3] rtnl_newlink+0x63/0xa0 [ 34.112677][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.112842][ C3] netlink_rcv_skb+0x130/0x360 [ 34.113007][ C3] netlink_unicast+0x449/0x710 [ 34.113172][ C3] netlink_sendmsg+0x723/0xbe0 [ 34.113336][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 34.113502][ C3] ___sys_sendmsg+0xee/0x170 [ 34.113667][ C3] __sys_sendmsg+0xcd/0x170 [ 34.113832][ C3] do_syscall_64+0xc6/0x1e0 [ 34.114000][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.114197][ C3] INITIAL READ USE at: [ 34.114296][ C3] __lock_acquire+0x797/0x1570 [ 34.114462][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.114626][ C3] _raw_read_lock_bh+0x44/0x80 [ 34.114790][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 34.114986][ C3] inet6_fill_link_af+0x5e/0xe0 [ 34.115226][ C3] rtnl_fill_ifinfo+0x1615/0x2a90 [ 34.115391][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 34.115588][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 34.115858][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 34.116021][ C3] register_netdevice+0x1177/0x1690 [ 34.116217][ C3] register_netdev+0x20/0x40 [ 34.116456][ C3] vti6_init_net+0x25d/0x380 [ 34.116619][ C3] ops_init+0x9b/0x560 [ 34.116785][ C3] register_pernet_operations+0x2db/0x710 [ 34.117129][ C3] register_pernet_device+0x2a/0x60 [ 34.117324][ C3] vti6_tunnel_init+0x18/0x110 [ 34.117488][ C3] do_one_initcall+0x8d/0x1e0 [ 34.117726][ C3] do_initcalls+0x1b2/0x3e0 [ 34.117889][ C3] kernel_init_freeable+0x232/0x310 [ 34.118087][ C3] kernel_init+0x20/0x200 [ 34.118324][ C3] ret_from_fork+0x31/0x70 [ 34.118488][ C3] ret_from_fork_asm+0x1a/0x30 [ 34.118652][ C3] } [ 34.118718][ C3] ... key at: [] __key.37+0x0/0x40 [ 34.118986][ C3] ... acquired at: [ 34.119083][ C3] mark_lock+0x28d/0x3e0 [ 34.119217][ C3] mark_usage+0xd9/0x2a0 [ 34.119348][ C3] __lock_acquire+0x797/0x1570 [ 34.119480][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.119683][ C3] _raw_write_lock+0x30/0x40 [ 34.119813][ C3] addrconf_rs_timer+0xa9/0x730 [ 34.119943][ C3] call_timer_fn+0x13b/0x230 [ 34.120080][ C3] __run_timers+0x545/0x810 [ 34.120283][ C3] run_timer_softirq+0xe8/0x1b0 [ 34.120413][ C3] __do_softirq+0x1f8/0x5df [ 34.120545][ C3] irq_exit_rcu+0x97/0xc0 [ 34.120674][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.120907][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.121068][ C3] default_idle+0xf/0x20 [ 34.121197][ C3] default_idle_call+0x6d/0xb0 [ 34.121326][ C3] cpuidle_idle_call+0x1f4/0x280 [ 34.121538][ C3] do_idle+0xf9/0x160 [ 34.121637][ C3] cpu_startup_entry+0x54/0x60 [ 34.121767][ C3] start_secondary+0x21c/0x2b0 [ 34.121900][ C3] common_startup_64+0x12c/0x138 [ 34.122031][ C3] [ 34.122096][ C3] [ 34.122096][ C3] stack backtrace: [ 34.122254][ C3] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.9.0-rc1-virtme #1 [ 34.122450][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 34.122810][ C3] Call Trace: [ 34.122915][ C3] [ 34.122985][ C3] dump_stack_lvl+0x82/0xd0 [ 34.123121][ C3] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 34.123357][ C3] ? kernel_text_address+0x17/0xe0 [ 34.123496][ C3] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 34.123656][ C3] ? __pfx_usage_skip+0x10/0x10 [ 34.123787][ C3] ? __pfx_usage_match+0x10/0x10 [ 34.123990][ C3] ? arch_stack_walk+0x8c/0xf0 [ 34.124120][ C3] mark_lock_irq+0x4cd/0xa10 [ 34.124250][ C3] ? common_startup_64+0x12c/0x138 [ 34.124381][ C3] ? __pfx_mark_lock_irq+0x10/0x10 [ 34.124583][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 34.124714][ C3] ? save_trace+0x8f/0x5b0 [ 34.124843][ C3] mark_lock+0x28d/0x3e0 [ 34.124941][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 34.125070][ C3] mark_usage+0xd9/0x2a0 [ 34.125240][ C3] __lock_acquire+0x797/0x1570 [ 34.125374][ C3] ? __pfx_validate_chain+0x10/0x10 [ 34.125503][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.125630][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.125832][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 34.125960][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 34.126088][ C3] ? trace_lock_acquire+0x135/0x1c0 [ 34.126219][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 34.126421][ C3] ? lock_acquire+0x32/0xc0 [ 34.126551][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 34.126680][ C3] _raw_write_lock+0x30/0x40 [ 34.126808][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 34.126935][ C3] addrconf_rs_timer+0xa9/0x730 [ 34.127138][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 34.127267][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.127395][ C3] ? call_timer_fn+0xe8/0x230 [ 34.127522][ C3] ? lock_acquire+0x32/0xc0 [ 34.127725][ C3] ? call_timer_fn+0xe8/0x230 [ 34.127854][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.127981][ C3] call_timer_fn+0x13b/0x230 [ 34.128111][ C3] ? call_timer_fn+0xe8/0x230 [ 34.128311][ C3] ? call_timer_fn+0xe8/0x230 [ 34.128439][ C3] ? __pfx_call_timer_fn+0x10/0x10 [ 34.128567][ C3] ? mark_lock+0x38/0x3e0 [ 34.128668][ C3] __run_timers+0x545/0x810 [ 34.128796][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.129001][ C3] ? __pfx___run_timers+0x10/0x10 [ 34.129131][ C3] ? do_raw_spin_lock+0x131/0x270 [ 34.129259][ C3] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 34.129387][ C3] ? lock_acquire+0x32/0xc0 [ 34.129588][ C3] ? run_timer_softirq+0xe0/0x1b0 [ 34.129718][ C3] run_timer_softirq+0xe8/0x1b0 [ 34.129849][ C3] __do_softirq+0x1f8/0x5df [ 34.129984][ C3] irq_exit_rcu+0x97/0xc0 [ 34.130154][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.130285][ C3] [ 34.130353][ C3] [ 34.130418][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.130578][ C3] RIP: 0010:default_idle+0xf/0x20 [ 34.130791][ 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 [ 34.131248][ C3] RSP: 0018:ffffc9000016fdf8 EFLAGS: 00000242 [ 34.131493][ C3] RAX: 0000000000080631 RBX: 1ffff9200002dfc1 RCX: ffffffffabb31ea5 [ 34.131686][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa92ac1d4 [ 34.131882][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3709c [ 34.132075][ C3] R10: ffff8880361b84e3 R11: ffff8880361ad9b0 R12: 0000000000000000 [ 34.132268][ C3] R13: ffff888001b98040 R14: dffffc0000000000 R15: 0000000000000000 [ 34.132461][ C3] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 34.132665][ C3] ? cpuidle_idle_call+0x1f4/0x280 [ 34.132794][ C3] default_idle_call+0x6d/0xb0 [ 34.132928][ C3] cpuidle_idle_call+0x1f4/0x280 [ 34.133056][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 34.133256][ C3] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 34.133388][ C3] do_idle+0xf9/0x160 [ 34.133488][ C3] cpu_startup_entry+0x54/0x60 [ 34.133616][ C3] start_secondary+0x21c/0x2b0 [ 34.133744][ C3] ? __pfx_start_secondary+0x10/0x10 [ 34.133946][ C3] common_startup_64+0x12c/0x138 [ 34.134078][ C3]