[ 27.395205][ T281] veth0: renamed from ioam-veth-alpha [ 27.519575][ T282] veth0: renamed from ioam-veth-betaL [ 27.645644][ T283] veth1: renamed from ioam-veth-betaR [ 27.765780][ T284] veth0: renamed from ioam-veth-gamma [ 34.400641][ C3] [ 34.400843][ C3] ======================================================== [ 34.401046][ C3] WARNING: possible irq lock inversion dependency detected [ 34.401243][ C3] 6.9.0-rc1-virtme #1 Not tainted [ 34.401379][ C3] -------------------------------------------------------- [ 34.401577][ C3] swapper/3/0 just changed the state of lock: [ 34.401741][ C3] ffff888005832580 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 34.401992][ C3] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 34.402194][ C3] (&p->alloc_lock){+.+.}-{2:2} [ 34.402198][ C3] [ 34.402198][ C3] [ 34.402198][ C3] and interrupts could create inverse lock ordering between them. [ 34.402198][ C3] [ 34.402714][ C3] [ 34.402714][ C3] other info that might help us debug this: [ 34.402909][ C3] Possible interrupt unsafe locking scenario: [ 34.402909][ C3] [ 34.403107][ C3] CPU0 CPU1 [ 34.403238][ C3] ---- ---- [ 34.403369][ C3] lock(&p->alloc_lock); [ 34.403474][ C3] local_irq_disable(); [ 34.403640][ C3] lock(&ndev->lock); [ 34.403805][ C3] lock(&p->alloc_lock); [ 34.403970][ C3] [ 34.404070][ C3] lock(&ndev->lock); [ 34.404174][ C3] [ 34.404174][ C3] *** DEADLOCK *** [ 34.404174][ C3] [ 34.404374][ C3] 1 lock held by swapper/3/0: [ 34.404517][ C3] #0: ffffc90000288b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 34.404761][ C3] [ 34.404761][ C3] the shortest dependencies between 2nd lock and 1st lock: [ 34.404990][ C3] -> (&p->alloc_lock){+.+.}-{2:2} { [ 34.405129][ C3] HARDIRQ-ON-W at: [ 34.405232][ C3] __lock_acquire+0x797/0x1570 [ 34.405410][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.405579][ C3] _raw_spin_lock+0x30/0x40 [ 34.405749][ C3] set_mems_allowed+0x1d/0x210 [ 34.405921][ C3] kernel_init_freeable+0x72/0x310 [ 34.406092][ C3] kernel_init+0x20/0x200 [ 34.406262][ C3] ret_from_fork+0x31/0x70 [ 34.406437][ C3] ret_from_fork_asm+0x1a/0x30 [ 34.406613][ C3] SOFTIRQ-ON-W at: [ 34.406716][ C3] __lock_acquire+0x797/0x1570 [ 34.406885][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.407054][ C3] _raw_spin_lock+0x30/0x40 [ 34.407318][ C3] set_mems_allowed+0x1d/0x210 [ 34.407490][ C3] kernel_init_freeable+0x72/0x310 [ 34.407665][ C3] kernel_init+0x20/0x200 [ 34.407838][ C3] ret_from_fork+0x31/0x70 [ 34.408008][ C3] ret_from_fork_asm+0x1a/0x30 [ 34.408178][ C3] INITIAL USE at: [ 34.408280][ C3] __lock_acquire+0x797/0x1570 [ 34.408452][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.408630][ C3] _raw_spin_lock+0x30/0x40 [ 34.408800][ C3] set_mems_allowed+0x1d/0x210 [ 34.408971][ C3] kernel_init_freeable+0x72/0x310 [ 34.409140][ C3] kernel_init+0x20/0x200 [ 34.409311][ C3] ret_from_fork+0x31/0x70 [ 34.409489][ C3] ret_from_fork_asm+0x1a/0x30 [ 34.409664][ C3] } [ 34.409734][ C3] ... key at: [] __key.388+0x0/0x40 [ 34.409937][ C3] ... acquired at: [ 34.410039][ C3] __lock_acquire+0xaf0/0x1570 [ 34.410187][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.410323][ C3] _raw_spin_lock+0x30/0x40 [ 34.410463][ C3] __get_task_comm+0x27/0x70 [ 34.410600][ C3] ref_tracker_alloc+0x2ee/0x490 [ 34.410741][ C3] netdev_get_by_index+0x5e/0x80 [ 34.410877][ C3] fib6_nh_init+0x3d8/0x1580 [ 34.411014][ C3] ip6_route_info_create+0xf18/0x17d0 [ 34.411148][ C3] addrconf_f6i_alloc+0x315/0x560 [ 34.411284][ C3] addrconf_permanent_addr+0x1ed/0x670 [ 34.411421][ C3] addrconf_notify+0x749/0xd60 [ 34.411556][ C3] notifier_call_chain+0xcd/0x150 [ 34.411691][ C3] __dev_notify_flags+0xe6/0x250 [ 34.411831][ C3] dev_change_flags+0xec/0x160 [ 34.411967][ C3] do_setlink+0x7d6/0x21e0 [ 34.412101][ C3] __rtnl_newlink+0xaa7/0xd80 [ 34.412236][ C3] rtnl_newlink+0x63/0xa0 [ 34.412369][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.412504][ C3] netlink_rcv_skb+0x130/0x360 [ 34.412639][ C3] netlink_unicast+0x449/0x710 [ 34.412774][ C3] netlink_sendmsg+0x723/0xbe0 [ 34.412907][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 34.413046][ C3] ___sys_sendmsg+0xee/0x170 [ 34.413181][ C3] __sys_sendmsg+0xcd/0x170 [ 34.413316][ C3] do_syscall_64+0xc6/0x1e0 [ 34.413455][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.413626][ C3] [ 34.413695][ C3] -> (&ndev->lock){++-.}-{2:2} { [ 34.413833][ C3] HARDIRQ-ON-W at: [ 34.413936][ C3] __lock_acquire+0x797/0x1570 [ 34.414107][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.414283][ C3] _raw_write_lock_bh+0x38/0x50 [ 34.414465][ C3] addrconf_permanent_addr+0x6e/0x670 [ 34.414648][ C3] addrconf_notify+0x749/0xd60 [ 34.414818][ C3] notifier_call_chain+0xcd/0x150 [ 34.414986][ C3] __dev_notify_flags+0xe6/0x250 [ 34.415160][ C3] dev_change_flags+0xec/0x160 [ 34.415330][ C3] do_setlink+0x7d6/0x21e0 [ 34.415500][ C3] __rtnl_newlink+0xaa7/0xd80 [ 34.415670][ C3] rtnl_newlink+0x63/0xa0 [ 34.415840][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.416009][ C3] netlink_rcv_skb+0x130/0x360 [ 34.416188][ C3] netlink_unicast+0x449/0x710 [ 34.416360][ C3] netlink_sendmsg+0x723/0xbe0 [ 34.416531][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 34.416699][ C3] ___sys_sendmsg+0xee/0x170 [ 34.416870][ C3] __sys_sendmsg+0xcd/0x170 [ 34.417039][ C3] do_syscall_64+0xc6/0x1e0 [ 34.417208][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.417410][ C3] HARDIRQ-ON-R at: [ 34.417515][ C3] __lock_acquire+0x797/0x1570 [ 34.417686][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.417857][ C3] _raw_read_lock_bh+0x44/0x80 [ 34.418026][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 34.418196][ C3] inet6_fill_link_af+0x5e/0xe0 [ 34.418366][ C3] rtnl_fill_ifinfo+0x1615/0x2a90 [ 34.418544][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 34.418713][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 34.418915][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 34.419084][ C3] register_netdevice+0x1177/0x1690 [ 34.419253][ C3] register_netdev+0x20/0x40 [ 34.419423][ C3] vti6_init_net+0x25d/0x380 [ 34.419602][ C3] ops_init+0x9b/0x560 [ 34.419739][ C3] register_pernet_operations+0x2db/0x710 [ 34.419941][ C3] register_pernet_device+0x2a/0x60 [ 34.420113][ C3] vti6_tunnel_init+0x18/0x110 [ 34.420284][ C3] do_one_initcall+0x8d/0x1e0 [ 34.420457][ C3] do_initcalls+0x1b2/0x3e0 [ 34.420629][ C3] kernel_init_freeable+0x232/0x310 [ 34.420803][ C3] kernel_init+0x20/0x200 [ 34.420973][ C3] ret_from_fork+0x31/0x70 [ 34.421145][ C3] ret_from_fork_asm+0x1a/0x30 [ 34.421315][ C3] IN-SOFTIRQ-W at: [ 34.421416][ C3] __lock_acquire+0x797/0x1570 [ 34.421585][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.421756][ C3] _raw_write_lock+0x30/0x40 [ 34.421928][ C3] addrconf_rs_timer+0xa9/0x730 [ 34.422097][ C3] call_timer_fn+0x13b/0x230 [ 34.422267][ C3] __run_timers+0x545/0x810 [ 34.422441][ C3] timer_expire_remote+0x9b/0xe0 [ 34.422610][ C3] tmigr_handle_remote_cpu+0x270/0x430 [ 34.422780][ C3] tmigr_handle_remote_up+0x19f/0x2e0 [ 34.422953][ C3] tmigr_handle_remote+0x21d/0x3a0 [ 34.423123][ C3] __do_softirq+0x1f8/0x5df [ 34.423293][ C3] irq_exit_rcu+0x97/0xc0 [ 34.423463][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.423673][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.423878][ C3] default_idle+0xf/0x20 [ 34.424050][ C3] default_idle_call+0x6d/0xb0 [ 34.424220][ C3] cpuidle_idle_call+0x1f4/0x280 [ 34.424389][ C3] do_idle+0xf9/0x160 [ 34.424530][ C3] cpu_startup_entry+0x54/0x60 [ 34.424701][ C3] start_secondary+0x21c/0x2b0 [ 34.424872][ C3] common_startup_64+0x12c/0x138 [ 34.425045][ C3] INITIAL USE at: [ 34.425146][ C3] __lock_acquire+0x797/0x1570 [ 34.425318][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.425487][ C3] _raw_write_lock_bh+0x38/0x50 [ 34.425657][ C3] addrconf_permanent_addr+0x6e/0x670 [ 34.425829][ C3] addrconf_notify+0x749/0xd60 [ 34.425999][ C3] notifier_call_chain+0xcd/0x150 [ 34.426172][ C3] __dev_notify_flags+0xe6/0x250 [ 34.426341][ C3] dev_change_flags+0xec/0x160 [ 34.426516][ C3] do_setlink+0x7d6/0x21e0 [ 34.426684][ C3] __rtnl_newlink+0xaa7/0xd80 [ 34.426851][ C3] rtnl_newlink+0x63/0xa0 [ 34.427019][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.427192][ C3] netlink_rcv_skb+0x130/0x360 [ 34.427362][ C3] netlink_unicast+0x449/0x710 [ 34.427531][ C3] netlink_sendmsg+0x723/0xbe0 [ 34.427702][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 34.427871][ C3] ___sys_sendmsg+0xee/0x170 [ 34.428041][ C3] __sys_sendmsg+0xcd/0x170 [ 34.428210][ C3] do_syscall_64+0xc6/0x1e0 [ 34.428387][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.428590][ C3] INITIAL READ USE at: [ 34.428691][ C3] __lock_acquire+0x797/0x1570 [ 34.428942][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.429111][ C3] _raw_read_lock_bh+0x44/0x80 [ 34.429281][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 34.429565][ C3] inet6_fill_link_af+0x5e/0xe0 [ 34.429743][ C3] rtnl_fill_ifinfo+0x1615/0x2a90 [ 34.429917][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 34.430201][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 34.430403][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 34.430579][ C3] register_netdevice+0x1177/0x1690 [ 34.430941][ C3] register_netdev+0x20/0x40 [ 34.431111][ C3] vti6_init_net+0x25d/0x380 [ 34.431282][ C3] ops_init+0x9b/0x560 [ 34.431452][ C3] register_pernet_operations+0x2db/0x710 [ 34.431734][ C3] register_pernet_device+0x2a/0x60 [ 34.431936][ C3] vti6_tunnel_init+0x18/0x110 [ 34.432109][ C3] do_one_initcall+0x8d/0x1e0 [ 34.432362][ C3] do_initcalls+0x1b2/0x3e0 [ 34.432532][ C3] kernel_init_freeable+0x232/0x310 [ 34.432740][ C3] kernel_init+0x20/0x200 [ 34.432990][ C3] ret_from_fork+0x31/0x70 [ 34.433161][ C3] ret_from_fork_asm+0x1a/0x30 [ 34.433335][ C3] } [ 34.433403][ C3] ... key at: [] __key.37+0x0/0x40 [ 34.433681][ C3] ... acquired at: [ 34.433780][ C3] mark_lock+0x28d/0x3e0 [ 34.433915][ C3] mark_usage+0xd9/0x2a0 [ 34.434050][ C3] __lock_acquire+0x797/0x1570 [ 34.434261][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.434396][ C3] _raw_write_lock+0x30/0x40 [ 34.434552][ C3] addrconf_rs_timer+0xa9/0x730 [ 34.434688][ C3] call_timer_fn+0x13b/0x230 [ 34.434902][ C3] __run_timers+0x545/0x810 [ 34.435037][ C3] timer_expire_remote+0x9b/0xe0 [ 34.435174][ C3] tmigr_handle_remote_cpu+0x270/0x430 [ 34.435309][ C3] tmigr_handle_remote_up+0x19f/0x2e0 [ 34.435521][ C3] tmigr_handle_remote+0x21d/0x3a0 [ 34.435655][ C3] __do_softirq+0x1f8/0x5df [ 34.435797][ C3] irq_exit_rcu+0x97/0xc0 [ 34.435932][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.436176][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.436350][ C3] default_idle+0xf/0x20 [ 34.436484][ C3] default_idle_call+0x6d/0xb0 [ 34.436617][ C3] cpuidle_idle_call+0x1f4/0x280 [ 34.436829][ C3] do_idle+0xf9/0x160 [ 34.436938][ C3] cpu_startup_entry+0x54/0x60 [ 34.437072][ C3] start_secondary+0x21c/0x2b0 [ 34.437210][ C3] common_startup_64+0x12c/0x138 [ 34.437344][ C3] [ 34.437486][ C3] [ 34.437486][ C3] stack backtrace: [ 34.437652][ C3] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.9.0-rc1-virtme #1 [ 34.437855][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 34.438228][ C3] Call Trace: [ 34.438338][ C3] [ 34.438410][ C3] dump_stack_lvl+0x82/0xd0 [ 34.438548][ C3] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 34.438798][ C3] ? kernel_text_address+0x17/0xe0 [ 34.438935][ C3] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 34.439100][ C3] ? __pfx_usage_skip+0x10/0x10 [ 34.439234][ C3] ? __pfx_usage_match+0x10/0x10 [ 34.439447][ C3] ? arch_stack_walk+0x8c/0xf0 [ 34.439584][ C3] mark_lock_irq+0x4cd/0xa10 [ 34.439721][ C3] ? common_startup_64+0x12c/0x138 [ 34.439856][ C3] ? __pfx_mark_lock_irq+0x10/0x10 [ 34.439990][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 34.440204][ C3] ? save_trace+0x8f/0x5b0 [ 34.440344][ C3] mark_lock+0x28d/0x3e0 [ 34.440446][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 34.440581][ C3] mark_usage+0xd9/0x2a0 [ 34.440760][ C3] __lock_acquire+0x797/0x1570 [ 34.440899][ C3] ? __pfx_validate_chain+0x10/0x10 [ 34.441039][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.441174][ C3] lock_acquire.part.0+0xeb/0x330 [ 34.441311][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 34.441600][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 34.441736][ C3] ? trace_lock_acquire+0x135/0x1c0 [ 34.441871][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 34.442004][ C3] ? lock_acquire+0x32/0xc0 [ 34.442219][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 34.442353][ C3] _raw_write_lock+0x30/0x40 [ 34.442487][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 34.442621][ C3] addrconf_rs_timer+0xa9/0x730 [ 34.442832][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 34.442967][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.443102][ C3] ? call_timer_fn+0xe8/0x230 [ 34.443237][ C3] ? lock_acquire+0x32/0xc0 [ 34.443451][ C3] ? call_timer_fn+0xe8/0x230 [ 34.443586][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.443719][ C3] call_timer_fn+0x13b/0x230 [ 34.443853][ C3] ? call_timer_fn+0xe8/0x230 [ 34.443985][ C3] ? call_timer_fn+0xe8/0x230 [ 34.444211][ C3] ? __pfx_call_timer_fn+0x10/0x10 [ 34.444344][ C3] ? mark_lock+0x38/0x3e0 [ 34.444454][ C3] __run_timers+0x545/0x810 [ 34.444588][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.444802][ C3] ? __pfx___run_timers+0x10/0x10 [ 34.444937][ C3] ? __lock_release+0x103/0x460 [ 34.445073][ C3] ? do_raw_spin_lock+0x131/0x270 [ 34.445208][ C3] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 34.445420][ C3] ? lock_acquire+0x32/0xc0 [ 34.445555][ C3] ? timer_expire_remote+0x93/0xe0 [ 34.445692][ C3] timer_expire_remote+0x9b/0xe0 [ 34.445832][ C3] tmigr_handle_remote_cpu+0x270/0x430 [ 34.445976][ C3] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 34.446222][ C3] tmigr_handle_remote_up+0x19f/0x2e0 [ 34.446358][ C3] tmigr_handle_remote+0x21d/0x3a0 [ 34.446494][ C3] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 34.446631][ C3] __do_softirq+0x1f8/0x5df [ 34.446846][ C3] irq_exit_rcu+0x97/0xc0 [ 34.446949][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.447085][ C3] [ 34.447162][ C3] [ 34.447231][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.447476][ C3] RIP: 0010:default_idle+0xf/0x20 [ 34.447617][ 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 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 [ 34.448175][ C3] RSP: 0018:ffffc9000016fdf8 EFLAGS: 00000242 [ 34.448352][ C3] RAX: 0000000000084cb9 RBX: 1ffff9200002dfc1 RCX: ffffffffa0132ea5 [ 34.448554][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9d8ac1d4 [ 34.448837][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ef709c [ 34.449038][ C3] R10: ffff88802f7b84e3 R11: ffff88802f7ad9b0 R12: 0000000000000000 [ 34.449242][ C3] R13: ffff888001b98040 R14: dffffc0000000000 R15: 0000000000000000 [ 34.449525][ C3] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 34.449658][ C3] ? cpuidle_idle_call+0x1f4/0x280 [ 34.449794][ C3] default_idle_call+0x6d/0xb0 [ 34.449934][ C3] cpuidle_idle_call+0x1f4/0x280 [ 34.450148][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 34.450283][ C3] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 34.450420][ C3] do_idle+0xf9/0x160 [ 34.450523][ C3] cpu_startup_entry+0x54/0x60 [ 34.450737][ C3] start_secondary+0x21c/0x2b0 [ 34.450870][ C3] ? __pfx_start_secondary+0x10/0x10 [ 34.451005][ C3] common_startup_64+0x12c/0x138 [ 34.451143][ C3]