[ 28.490401][ T282] veth0: renamed from ioam-veth-alpha [ 28.616561][ T283] veth0: renamed from ioam-veth-betaL [ 28.750964][ T284] veth1: renamed from ioam-veth-betaR [ 28.869812][ T285] veth0: renamed from ioam-veth-gamma [ 29.126027][ T287] ip (287) used greatest stack depth: 23632 bytes left [ 35.624562][ C2] [ 35.624812][ C2] ======================================================== [ 35.625026][ C2] WARNING: possible irq lock inversion dependency detected [ 35.625226][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 35.625359][ C2] -------------------------------------------------------- [ 35.625556][ C2] swapper/2/0 just changed the state of lock: [ 35.625722][ C2] ffff888007b4d580 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 35.625966][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 35.626164][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 35.626168][ C2] [ 35.626168][ C2] [ 35.626168][ C2] and interrupts could create inverse lock ordering between them. [ 35.626168][ C2] [ 35.626683][ C2] [ 35.626683][ C2] other info that might help us debug this: [ 35.626889][ C2] Possible interrupt unsafe locking scenario: [ 35.626889][ C2] [ 35.627090][ C2] CPU0 CPU1 [ 35.627221][ C2] ---- ---- [ 35.627352][ C2] lock(&p->alloc_lock); [ 35.627457][ C2] local_irq_disable(); [ 35.627619][ C2] lock(&ndev->lock); [ 35.627789][ C2] lock(&p->alloc_lock); [ 35.627955][ C2] [ 35.628056][ C2] lock(&ndev->lock); [ 35.628158][ C2] [ 35.628158][ C2] *** DEADLOCK *** [ 35.628158][ C2] [ 35.628351][ C2] 1 lock held by swapper/2/0: [ 35.628484][ C2] #0: ffffc90000230b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 35.628735][ C2] [ 35.628735][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 35.628965][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 35.629103][ C2] HARDIRQ-ON-W at: [ 35.629207][ C2] __lock_acquire+0x797/0x1570 [ 35.629379][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.629547][ C2] _raw_spin_lock+0x30/0x40 [ 35.629723][ C2] set_mems_allowed+0x1d/0x210 [ 35.629896][ C2] kernel_init_freeable+0x72/0x310 [ 35.630066][ C2] kernel_init+0x20/0x200 [ 35.630236][ C2] ret_from_fork+0x31/0x70 [ 35.630407][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.630592][ C2] SOFTIRQ-ON-W at: [ 35.630694][ C2] __lock_acquire+0x797/0x1570 [ 35.630867][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.631036][ C2] _raw_spin_lock+0x30/0x40 [ 35.631206][ C2] set_mems_allowed+0x1d/0x210 [ 35.631374][ C2] kernel_init_freeable+0x72/0x310 [ 35.631546][ C2] kernel_init+0x20/0x200 [ 35.631715][ C2] ret_from_fork+0x31/0x70 [ 35.631887][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.632055][ C2] INITIAL USE at: [ 35.632157][ C2] __lock_acquire+0x797/0x1570 [ 35.632326][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.632493][ C2] _raw_spin_lock+0x30/0x40 [ 35.632662][ C2] set_mems_allowed+0x1d/0x210 [ 35.632834][ C2] kernel_init_freeable+0x72/0x310 [ 35.633013][ C2] kernel_init+0x20/0x200 [ 35.633182][ C2] ret_from_fork+0x31/0x70 [ 35.633352][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.633520][ C2] } [ 35.633590][ C2] ... key at: [] __key.388+0x0/0x40 [ 35.633793][ C2] ... acquired at: [ 35.633900][ C2] __lock_acquire+0xaf0/0x1570 [ 35.634037][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.634172][ C2] _raw_spin_lock+0x30/0x40 [ 35.634306][ C2] __get_task_comm+0x27/0x70 [ 35.634445][ C2] ref_tracker_alloc+0x2ee/0x490 [ 35.634593][ C2] netdev_get_by_index+0x5e/0x80 [ 35.634728][ C2] fib6_nh_init+0x3d8/0x1580 [ 35.634865][ C2] ip6_route_info_create+0xf18/0x17d0 [ 35.635003][ C2] addrconf_f6i_alloc+0x315/0x560 [ 35.635138][ C2] addrconf_permanent_addr+0x1ed/0x670 [ 35.635273][ C2] addrconf_notify+0x749/0xd60 [ 35.635406][ C2] notifier_call_chain+0xcd/0x150 [ 35.635540][ C2] __dev_notify_flags+0xe6/0x250 [ 35.635675][ C2] dev_change_flags+0xec/0x160 [ 35.635815][ C2] do_setlink+0x7d6/0x21e0 [ 35.635951][ C2] __rtnl_newlink+0xaa7/0xd80 [ 35.636088][ C2] rtnl_newlink+0x63/0xa0 [ 35.636223][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.636355][ C2] netlink_rcv_skb+0x130/0x360 [ 35.636490][ C2] netlink_unicast+0x449/0x710 [ 35.636623][ C2] netlink_sendmsg+0x723/0xbe0 [ 35.636758][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 35.636891][ C2] ___sys_sendmsg+0xee/0x170 [ 35.637025][ C2] __sys_sendmsg+0xcd/0x170 [ 35.637158][ C2] do_syscall_64+0xc6/0x1e0 [ 35.637297][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.637467][ C2] [ 35.637535][ C2] -> (&ndev->lock){++-.}-{2:2} { [ 35.637673][ C2] HARDIRQ-ON-W at: [ 35.637775][ C2] __lock_acquire+0x797/0x1570 [ 35.637947][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.638116][ C2] _raw_write_lock_bh+0x38/0x50 [ 35.638289][ C2] addrconf_permanent_addr+0x6e/0x670 [ 35.638466][ C2] addrconf_notify+0x749/0xd60 [ 35.638645][ C2] notifier_call_chain+0xcd/0x150 [ 35.638814][ C2] __dev_notify_flags+0xe6/0x250 [ 35.638982][ C2] dev_change_flags+0xec/0x160 [ 35.639152][ C2] do_setlink+0x7d6/0x21e0 [ 35.639322][ C2] __rtnl_newlink+0xaa7/0xd80 [ 35.639496][ C2] rtnl_newlink+0x63/0xa0 [ 35.639667][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.639835][ C2] netlink_rcv_skb+0x130/0x360 [ 35.640004][ C2] netlink_unicast+0x449/0x710 [ 35.640176][ C2] netlink_sendmsg+0x723/0xbe0 [ 35.640347][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 35.640520][ C2] ___sys_sendmsg+0xee/0x170 [ 35.640688][ C2] __sys_sendmsg+0xcd/0x170 [ 35.640858][ C2] do_syscall_64+0xc6/0x1e0 [ 35.641027][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.641226][ C2] HARDIRQ-ON-R at: [ 35.641327][ C2] __lock_acquire+0x797/0x1570 [ 35.641497][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.641670][ C2] _raw_read_lock_bh+0x44/0x80 [ 35.641838][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.642009][ C2] inet6_fill_link_af+0x5e/0xe0 [ 35.642177][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 35.642345][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.642526][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.642731][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 35.642910][ C2] register_netdevice+0x1177/0x1690 [ 35.643077][ C2] register_netdev+0x20/0x40 [ 35.643248][ C2] vti6_init_net+0x25d/0x380 [ 35.643417][ C2] ops_init+0x9b/0x560 [ 35.643553][ C2] register_pernet_operations+0x2db/0x710 [ 35.643755][ C2] register_pernet_device+0x2a/0x60 [ 35.643922][ C2] vti6_tunnel_init+0x18/0x110 [ 35.644092][ C2] do_one_initcall+0x8d/0x1e0 [ 35.644262][ C2] do_initcalls+0x1b2/0x3e0 [ 35.644430][ C2] kernel_init_freeable+0x232/0x310 [ 35.644599][ C2] kernel_init+0x20/0x200 [ 35.644766][ C2] ret_from_fork+0x31/0x70 [ 35.644940][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.645107][ C2] IN-SOFTIRQ-W at: [ 35.645208][ C2] __lock_acquire+0x797/0x1570 [ 35.645377][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.645547][ C2] _raw_write_lock+0x30/0x40 [ 35.645715][ C2] addrconf_rs_timer+0xa9/0x730 [ 35.645881][ C2] call_timer_fn+0x13b/0x230 [ 35.646054][ C2] __run_timers+0x545/0x810 [ 35.646221][ C2] timer_expire_remote+0x9b/0xe0 [ 35.646389][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.646574][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.646742][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.646909][ C2] __do_softirq+0x1f8/0x5df [ 35.647082][ C2] irq_exit_rcu+0x97/0xc0 [ 35.647253][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.647455][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.647657][ C2] default_idle+0xf/0x20 [ 35.647828][ C2] default_idle_call+0x6d/0xb0 [ 35.647998][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.648169][ C2] do_idle+0xf9/0x160 [ 35.648306][ C2] cpu_startup_entry+0x54/0x60 [ 35.648474][ C2] start_secondary+0x21c/0x2b0 [ 35.648644][ C2] common_startup_64+0x12c/0x138 [ 35.648812][ C2] INITIAL USE at: [ 35.648914][ C2] __lock_acquire+0x797/0x1570 [ 35.649081][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.649252][ C2] _raw_write_lock_bh+0x38/0x50 [ 35.649420][ C2] addrconf_permanent_addr+0x6e/0x670 [ 35.649590][ C2] addrconf_notify+0x749/0xd60 [ 35.649758][ C2] notifier_call_chain+0xcd/0x150 [ 35.649926][ C2] __dev_notify_flags+0xe6/0x250 [ 35.650097][ C2] dev_change_flags+0xec/0x160 [ 35.650266][ C2] do_setlink+0x7d6/0x21e0 [ 35.650434][ C2] __rtnl_newlink+0xaa7/0xd80 [ 35.650622][ C2] rtnl_newlink+0x63/0xa0 [ 35.650789][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.650956][ C2] netlink_rcv_skb+0x130/0x360 [ 35.651124][ C2] netlink_unicast+0x449/0x710 [ 35.651294][ C2] netlink_sendmsg+0x723/0xbe0 [ 35.651466][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 35.651634][ C2] ___sys_sendmsg+0xee/0x170 [ 35.651804][ C2] __sys_sendmsg+0xcd/0x170 [ 35.651975][ C2] do_syscall_64+0xc6/0x1e0 [ 35.652143][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.652344][ C2] INITIAL READ USE at: [ 35.652445][ C2] __lock_acquire+0x797/0x1570 [ 35.652615][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.652784][ C2] _raw_read_lock_bh+0x44/0x80 [ 35.653041][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.653242][ C2] inet6_fill_link_af+0x5e/0xe0 [ 35.653409][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 35.653581][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.653863][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.654065][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 35.654236][ C2] register_netdevice+0x1177/0x1690 [ 35.654532][ C2] register_netdev+0x20/0x40 [ 35.654698][ C2] vti6_init_net+0x25d/0x380 [ 35.654869][ C2] ops_init+0x9b/0x560 [ 35.655196][ C2] register_pernet_operations+0x2db/0x710 [ 35.655394][ C2] register_pernet_device+0x2a/0x60 [ 35.655594][ C2] vti6_tunnel_init+0x18/0x110 [ 35.655841][ C2] do_one_initcall+0x8d/0x1e0 [ 35.656009][ C2] do_initcalls+0x1b2/0x3e0 [ 35.656180][ C2] kernel_init_freeable+0x232/0x310 [ 35.656464][ C2] kernel_init+0x20/0x200 [ 35.656698][ C2] ret_from_fork+0x31/0x70 [ 35.656933][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.657245][ C2] } [ 35.657350][ C2] ... key at: [] __key.37+0x0/0x40 [ 35.657610][ C2] ... acquired at: [ 35.657761][ C2] mark_lock+0x28d/0x3e0 [ 35.657966][ C2] mark_usage+0xd9/0x2a0 [ 35.658296][ C2] __lock_acquire+0x797/0x1570 [ 35.658457][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.658666][ C2] _raw_write_lock+0x30/0x40 [ 35.658859][ C2] addrconf_rs_timer+0xa9/0x730 [ 35.659187][ C2] call_timer_fn+0x13b/0x230 [ 35.659394][ C2] __run_timers+0x545/0x810 [ 35.659608][ C2] timer_expire_remote+0x9b/0xe0 [ 35.659817][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.660142][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.660352][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.660559][ C2] __do_softirq+0x1f8/0x5df [ 35.660772][ C2] irq_exit_rcu+0x97/0xc0 [ 35.660986][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.661382][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.661646][ C2] default_idle+0xf/0x20 [ 35.661856][ C2] default_idle_call+0x6d/0xb0 [ 35.662209][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.662420][ C2] do_idle+0xf9/0x160 [ 35.662575][ C2] cpu_startup_entry+0x54/0x60 [ 35.662782][ C2] start_secondary+0x21c/0x2b0 [ 35.663006][ C2] common_startup_64+0x12c/0x138 [ 35.663357][ C2] [ 35.663461][ C2] [ 35.663461][ C2] stack backtrace: [ 35.663727][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 35.664040][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 35.664646][ C2] Call Trace: [ 35.664818][ C2] [ 35.664928][ C2] dump_stack_lvl+0x82/0xd0 [ 35.665146][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 35.665548][ C2] ? kernel_text_address+0x17/0xe0 [ 35.665758][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 35.666018][ C2] ? __pfx_usage_skip+0x10/0x10 [ 35.666363][ C2] ? __pfx_usage_match+0x10/0x10 [ 35.666568][ C2] ? arch_stack_walk+0x8c/0xf0 [ 35.666775][ C2] mark_lock_irq+0x4cd/0xa10 [ 35.666989][ C2] ? common_startup_64+0x12c/0x138 [ 35.667200][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 35.667548][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 35.667763][ C2] ? save_trace+0x8f/0x5b0 [ 35.667976][ C2] mark_lock+0x28d/0x3e0 [ 35.668136][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 35.668484][ C2] mark_usage+0xd9/0x2a0 [ 35.668644][ C2] __lock_acquire+0x797/0x1570 [ 35.668862][ C2] ? __pfx_validate_chain+0x10/0x10 [ 35.669072][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.669288][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.669637][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.669849][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.670064][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 35.670274][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.670751][ C2] ? lock_acquire+0x32/0xc0 [ 35.670964][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.671170][ C2] _raw_write_lock+0x30/0x40 [ 35.671382][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.671743][ C2] addrconf_rs_timer+0xa9/0x730 [ 35.671959][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.672172][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.672375][ C2] ? call_timer_fn+0xe8/0x230 [ 35.672703][ C2] ? lock_acquire+0x32/0xc0 [ 35.672916][ C2] ? call_timer_fn+0xe8/0x230 [ 35.673126][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.673329][ C2] call_timer_fn+0x13b/0x230 [ 35.673535][ C2] ? call_timer_fn+0xe8/0x230 [ 35.673868][ C2] ? call_timer_fn+0xe8/0x230 [ 35.674072][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 35.674275][ C2] ? mark_lock+0x38/0x3e0 [ 35.674436][ C2] __run_timers+0x545/0x810 [ 35.674773][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.674977][ C2] ? __pfx___run_timers+0x10/0x10 [ 35.675180][ C2] ? __lock_release+0x103/0x460 [ 35.675385][ C2] ? do_raw_spin_lock+0x131/0x270 [ 35.675733][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 35.675939][ C2] ? lock_acquire+0x32/0xc0 [ 35.676143][ C2] ? timer_expire_remote+0x93/0xe0 [ 35.676346][ C2] timer_expire_remote+0x9b/0xe0 [ 35.676551][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.676889][ C2] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 35.677150][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.677361][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.677568][ C2] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 35.677916][ C2] __do_softirq+0x1f8/0x5df [ 35.678135][ C2] irq_exit_rcu+0x97/0xc0 [ 35.678295][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.678505][ C2] [ 35.678612][ C2] [ 35.678857][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.679105][ C2] RIP: 0010:default_idle+0xf/0x20 [ 35.679320][ 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 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 [ 35.680170][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000242 [ 35.680434][ C2] RAX: 00000000000fa401 RBX: 1ffff9200002bfc1 RCX: ffffffff9b132ea5 [ 35.680911][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff988ac1d4 [ 35.681235][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 35.681541][ C2] R10: ffff8880361384e3 R11: ffff88803612d9b0 R12: 0000000000000000 [ 35.682003][ C2] R13: ffff888001b8c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 35.682324][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 35.682528][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 35.682738][ C2] default_idle_call+0x6d/0xb0 [ 35.683083][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.683287][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 35.683490][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 35.683698][ C2] do_idle+0xf9/0x160 [ 35.683986][ C2] cpu_startup_entry+0x54/0x60 [ 35.684188][ C2] start_secondary+0x21c/0x2b0 [ 35.684390][ C2] ? __pfx_start_secondary+0x10/0x10 [ 35.684600][ C2] common_startup_64+0x12c/0x138 [ 35.684942][ C2]