[ 25.397013][ T262] veth0: renamed from veth-rt-1 [ 26.892674][ T271] veth0: renamed from veth-rt-2 [ 35.638252][ C2] [ 35.638363][ C2] ======================================================== [ 35.638571][ C2] WARNING: possible irq lock inversion dependency detected [ 35.638773][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 35.638909][ C2] -------------------------------------------------------- [ 35.639116][ C2] swapper/2/0 just changed the state of lock: [ 35.639287][ C2] ffff888008e05580 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 35.639538][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 35.639742][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 35.639746][ C2] [ 35.639746][ C2] [ 35.639746][ C2] and interrupts could create inverse lock ordering between them. [ 35.639746][ C2] [ 35.640240][ C2] [ 35.640240][ C2] other info that might help us debug this: [ 35.640435][ C2] Possible interrupt unsafe locking scenario: [ 35.640435][ C2] [ 35.640633][ C2] CPU0 CPU1 [ 35.640767][ C2] ---- ---- [ 35.640901][ C2] lock(&p->alloc_lock); [ 35.641008][ C2] local_irq_disable(); [ 35.641174][ C2] lock(&ndev->lock); [ 35.641339][ C2] lock(&p->alloc_lock); [ 35.641509][ C2] [ 35.641611][ C2] lock(&ndev->lock); [ 35.641715][ C2] [ 35.641715][ C2] *** DEADLOCK *** [ 35.641715][ C2] [ 35.641911][ C2] 1 lock held by swapper/2/0: [ 35.642047][ C2] #0: ffffc90000230b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 35.642291][ C2] [ 35.642291][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 35.642523][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 35.642673][ C2] HARDIRQ-ON-W at: [ 35.642777][ C2] __lock_acquire+0x797/0x1570 [ 35.642953][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.643140][ C2] _raw_spin_lock+0x30/0x40 [ 35.643313][ C2] set_mems_allowed+0x1d/0x210 [ 35.643484][ C2] kernel_init_freeable+0x72/0x310 [ 35.643655][ C2] kernel_init+0x20/0x200 [ 35.643826][ C2] ret_from_fork+0x31/0x70 [ 35.644001][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.644170][ C2] SOFTIRQ-ON-W at: [ 35.644272][ C2] __lock_acquire+0x797/0x1570 [ 35.644444][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.644612][ C2] _raw_spin_lock+0x30/0x40 [ 35.644780][ C2] set_mems_allowed+0x1d/0x210 [ 35.644951][ C2] kernel_init_freeable+0x72/0x310 [ 35.645124][ C2] kernel_init+0x20/0x200 [ 35.645292][ C2] ret_from_fork+0x31/0x70 [ 35.645463][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.645633][ C2] INITIAL USE at: [ 35.645734][ C2] __lock_acquire+0x797/0x1570 [ 35.645903][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.646078][ C2] _raw_spin_lock+0x30/0x40 [ 35.646248][ C2] set_mems_allowed+0x1d/0x210 [ 35.646415][ C2] kernel_init_freeable+0x72/0x310 [ 35.646584][ C2] kernel_init+0x20/0x200 [ 35.646755][ C2] ret_from_fork+0x31/0x70 [ 35.646924][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.647095][ C2] } [ 35.647164][ C2] ... key at: [] __key.388+0x0/0x40 [ 35.647369][ C2] ... acquired at: [ 35.647480][ C2] __lock_acquire+0xaf0/0x1570 [ 35.647615][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.647751][ C2] _raw_spin_lock+0x30/0x40 [ 35.647886][ C2] __get_task_comm+0x27/0x70 [ 35.648023][ C2] ref_tracker_alloc+0x2ee/0x490 [ 35.648162][ C2] netdev_get_by_index+0x5e/0x80 [ 35.648298][ C2] fib6_nh_init+0x3d8/0x1580 [ 35.648436][ C2] ip6_route_info_create+0xf18/0x17d0 [ 35.648570][ C2] ip6_route_add+0x1c/0x140 [ 35.648705][ C2] addrconf_prefix_route+0x2a6/0x430 [ 35.648839][ C2] addrconf_permanent_addr+0x32f/0x670 [ 35.648974][ C2] addrconf_notify+0x749/0xd60 [ 35.649108][ C2] notifier_call_chain+0xcd/0x150 [ 35.649247][ C2] __dev_notify_flags+0xe6/0x250 [ 35.649383][ C2] dev_change_flags+0xec/0x160 [ 35.649517][ C2] do_setlink+0x7d6/0x21e0 [ 35.649651][ C2] __rtnl_newlink+0xaa7/0xd80 [ 35.649786][ C2] rtnl_newlink+0x63/0xa0 [ 35.649919][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.650052][ C2] netlink_rcv_skb+0x130/0x360 [ 35.650190][ C2] netlink_unicast+0x449/0x710 [ 35.650324][ C2] netlink_sendmsg+0x723/0xbe0 [ 35.650461][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 35.650596][ C2] ___sys_sendmsg+0xee/0x170 [ 35.650731][ C2] __sys_sendmsg+0xcd/0x170 [ 35.650866][ C2] do_syscall_64+0xc6/0x1e0 [ 35.651000][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.651169][ C2] [ 35.651240][ C2] -> (&ndev->lock){++-.}-{2:2} { [ 35.651377][ C2] HARDIRQ-ON-W at: [ 35.651480][ C2] __lock_acquire+0x797/0x1570 [ 35.651654][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.651825][ C2] _raw_write_lock_bh+0x38/0x50 [ 35.651994][ C2] addrconf_permanent_addr+0x6e/0x670 [ 35.652165][ C2] addrconf_notify+0x749/0xd60 [ 35.652334][ C2] notifier_call_chain+0xcd/0x150 [ 35.652503][ C2] __dev_notify_flags+0xe6/0x250 [ 35.652679][ C2] dev_change_flags+0xec/0x160 [ 35.652849][ C2] do_setlink+0x7d6/0x21e0 [ 35.653024][ C2] __rtnl_newlink+0xaa7/0xd80 [ 35.653193][ C2] rtnl_newlink+0x63/0xa0 [ 35.653362][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.653533][ C2] netlink_rcv_skb+0x130/0x360 [ 35.653709][ C2] netlink_unicast+0x449/0x710 [ 35.653881][ C2] netlink_sendmsg+0x723/0xbe0 [ 35.654051][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 35.654224][ C2] ___sys_sendmsg+0xee/0x170 [ 35.654393][ C2] __sys_sendmsg+0xcd/0x170 [ 35.654563][ C2] do_syscall_64+0xc6/0x1e0 [ 35.654736][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.654941][ C2] HARDIRQ-ON-R at: [ 35.655044][ C2] __lock_acquire+0x797/0x1570 [ 35.655213][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.655385][ C2] _raw_read_lock_bh+0x44/0x80 [ 35.655557][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.655727][ C2] inet6_fill_link_af+0x5e/0xe0 [ 35.655898][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 35.656151][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.656319][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.656523][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 35.656777][ C2] register_netdevice+0x1177/0x1690 [ 35.656946][ C2] register_netdev+0x20/0x40 [ 35.657113][ C2] vti6_init_net+0x25d/0x380 [ 35.657369][ C2] ops_init+0x9b/0x560 [ 35.657506][ C2] register_pernet_operations+0x2db/0x710 [ 35.657709][ C2] register_pernet_device+0x2a/0x60 [ 35.657878][ C2] vti6_tunnel_init+0x18/0x110 [ 35.658131][ C2] do_one_initcall+0x8d/0x1e0 [ 35.658300][ C2] do_initcalls+0x1b2/0x3e0 [ 35.658479][ C2] kernel_init_freeable+0x232/0x310 [ 35.658727][ C2] kernel_init+0x20/0x200 [ 35.658896][ C2] ret_from_fork+0x31/0x70 [ 35.659065][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.659316][ C2] IN-SOFTIRQ-W at: [ 35.659417][ C2] __lock_acquire+0x797/0x1570 [ 35.659586][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.659757][ C2] _raw_write_lock+0x30/0x40 [ 35.660006][ C2] addrconf_rs_timer+0xa9/0x730 [ 35.660175][ C2] call_timer_fn+0x13b/0x230 [ 35.660347][ C2] __run_timers+0x545/0x810 [ 35.660516][ C2] timer_expire_remote+0x9b/0xe0 [ 35.660767][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.660939][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.661106][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.661355][ C2] __do_softirq+0x1f8/0x5df [ 35.661527][ C2] irq_exit_rcu+0x97/0xc0 [ 35.661695][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.661977][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.662179][ C2] default_idle+0xf/0x20 [ 35.662347][ C2] default_idle_call+0x6d/0xb0 [ 35.662594][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.662764][ C2] do_idle+0xf9/0x160 [ 35.662898][ C2] cpu_startup_entry+0x54/0x60 [ 35.663073][ C2] start_secondary+0x21c/0x2b0 [ 35.663338][ C2] common_startup_64+0x12c/0x138 [ 35.663511][ C2] INITIAL USE at: [ 35.663612][ C2] __lock_acquire+0x797/0x1570 [ 35.663783][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.663953][ C2] _raw_write_lock_bh+0x38/0x50 [ 35.664123][ C2] addrconf_permanent_addr+0x6e/0x670 [ 35.664292][ C2] addrconf_notify+0x749/0xd60 [ 35.664627][ C2] notifier_call_chain+0xcd/0x150 [ 35.664797][ C2] __dev_notify_flags+0xe6/0x250 [ 35.664965][ C2] dev_change_flags+0xec/0x160 [ 35.665133][ C2] do_setlink+0x7d6/0x21e0 [ 35.665397][ C2] __rtnl_newlink+0xaa7/0xd80 [ 35.665566][ C2] rtnl_newlink+0x63/0xa0 [ 35.665738][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.665909][ C2] netlink_rcv_skb+0x130/0x360 [ 35.666079][ C2] netlink_unicast+0x449/0x710 [ 35.666247][ C2] netlink_sendmsg+0x723/0xbe0 [ 35.666499][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 35.666667][ C2] ___sys_sendmsg+0xee/0x170 [ 35.666837][ C2] __sys_sendmsg+0xcd/0x170 [ 35.667006][ C2] do_syscall_64+0xc6/0x1e0 [ 35.667257][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.667461][ C2] INITIAL READ USE at: [ 35.667562][ C2] __lock_acquire+0x797/0x1570 [ 35.667813][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.667982][ C2] _raw_read_lock_bh+0x44/0x80 [ 35.668151][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.668355][ C2] inet6_fill_link_af+0x5e/0xe0 [ 35.668609][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 35.668778][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.668978][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.669260][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 35.669429][ C2] register_netdevice+0x1177/0x1690 [ 35.669632][ C2] register_netdev+0x20/0x40 [ 35.669881][ C2] vti6_init_net+0x25d/0x380 [ 35.670051][ C2] ops_init+0x9b/0x560 [ 35.670221][ C2] register_pernet_operations+0x2db/0x710 [ 35.670518][ C2] register_pernet_device+0x2a/0x60 [ 35.670726][ C2] vti6_tunnel_init+0x18/0x110 [ 35.670898][ C2] do_one_initcall+0x8d/0x1e0 [ 35.671167][ C2] do_initcalls+0x1b2/0x3e0 [ 35.671337][ C2] kernel_init_freeable+0x232/0x310 [ 35.671550][ C2] kernel_init+0x20/0x200 [ 35.671807][ C2] ret_from_fork+0x31/0x70 [ 35.671988][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.672157][ C2] } [ 35.672226][ C2] ... key at: [] __key.37+0x0/0x40 [ 35.672509][ C2] ... acquired at: [ 35.672609][ C2] mark_lock+0x28d/0x3e0 [ 35.672746][ C2] mark_usage+0xd9/0x2a0 [ 35.672881][ C2] __lock_acquire+0x797/0x1570 [ 35.673023][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.673243][ C2] _raw_write_lock+0x30/0x40 [ 35.673381][ C2] addrconf_rs_timer+0xa9/0x730 [ 35.673516][ C2] call_timer_fn+0x13b/0x230 [ 35.673652][ C2] __run_timers+0x545/0x810 [ 35.673869][ C2] timer_expire_remote+0x9b/0xe0 [ 35.674006][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.674139][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.674274][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.674488][ C2] __do_softirq+0x1f8/0x5df [ 35.674625][ C2] irq_exit_rcu+0x97/0xc0 [ 35.674763][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.674931][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.675261][ C2] default_idle+0xf/0x20 [ 35.675394][ C2] default_idle_call+0x6d/0xb0 [ 35.675528][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.675662][ C2] do_idle+0xf9/0x160 [ 35.675767][ C2] cpu_startup_entry+0x54/0x60 [ 35.675902][ C2] start_secondary+0x21c/0x2b0 [ 35.676037][ C2] common_startup_64+0x12c/0x138 [ 35.676171][ C2] [ 35.676238][ C2] [ 35.676238][ C2] stack backtrace: [ 35.676480][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 35.676681][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 35.677060][ C2] Call Trace: [ 35.677167][ C2] [ 35.677239][ C2] dump_stack_lvl+0x82/0xd0 [ 35.677380][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 35.677547][ C2] ? kernel_text_address+0x17/0xe0 [ 35.677761][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 35.677928][ C2] ? __pfx_usage_skip+0x10/0x10 [ 35.678064][ C2] ? __pfx_usage_match+0x10/0x10 [ 35.678197][ C2] ? arch_stack_walk+0x8c/0xf0 [ 35.678415][ C2] mark_lock_irq+0x4cd/0xa10 [ 35.678550][ C2] ? common_startup_64+0x12c/0x138 [ 35.678683][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 35.678818][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 35.679034][ C2] ? save_trace+0x8f/0x5b0 [ 35.679169][ C2] mark_lock+0x28d/0x3e0 [ 35.679273][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 35.679407][ C2] mark_usage+0xd9/0x2a0 [ 35.679511][ C2] __lock_acquire+0x797/0x1570 [ 35.679725][ C2] ? __pfx_validate_chain+0x10/0x10 [ 35.679860][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.679992][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.680127][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.680336][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.680470][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 35.680602][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.680736][ C2] ? lock_acquire+0x32/0xc0 [ 35.680869][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.681079][ C2] _raw_write_lock+0x30/0x40 [ 35.681212][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.681343][ C2] addrconf_rs_timer+0xa9/0x730 [ 35.681476][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.681689][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.681820][ C2] ? call_timer_fn+0xe8/0x230 [ 35.681956][ C2] ? lock_acquire+0x32/0xc0 [ 35.682089][ C2] ? call_timer_fn+0xe8/0x230 [ 35.682312][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.682444][ C2] call_timer_fn+0x13b/0x230 [ 35.682577][ C2] ? call_timer_fn+0xe8/0x230 [ 35.682708][ C2] ? call_timer_fn+0xe8/0x230 [ 35.682842][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 35.682976][ C2] ? mark_lock+0x38/0x3e0 [ 35.683084][ C2] __run_timers+0x545/0x810 [ 35.683222][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.683356][ C2] ? __pfx___run_timers+0x10/0x10 [ 35.683568][ C2] ? __lock_release+0x103/0x460 [ 35.683702][ C2] ? do_raw_spin_lock+0x131/0x270 [ 35.683835][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 35.683967][ C2] ? lock_acquire+0x32/0xc0 [ 35.684178][ C2] ? timer_expire_remote+0x93/0xe0 [ 35.684316][ C2] timer_expire_remote+0x9b/0xe0 [ 35.684451][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.684586][ C2] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 35.684830][ C2] ? timerqueue_del+0x68/0x120 [ 35.684965][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.685099][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.685232][ C2] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 35.685525][ C2] __do_softirq+0x1f8/0x5df [ 35.685660][ C2] irq_exit_rcu+0x97/0xc0 [ 35.685764][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.685898][ C2] [ 35.685968][ C2] [ 35.686037][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.686284][ C2] RIP: 0010:default_idle+0xf/0x20 [ 35.686424][ 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.686900][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000242 [ 35.687074][ C2] RAX: 00000000000f1519 RBX: 1ffff9200002bfc1 RCX: ffffffffb1732ea5 [ 35.687277][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffaeeac1d4 [ 35.687559][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 35.687758][ C2] R10: ffff8880361384e3 R11: ffff88803613de40 R12: 0000000000000000 [ 35.687963][ C2] R13: ffff888001b8c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 35.688247][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 35.688380][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 35.688520][ C2] default_idle_call+0x6d/0xb0 [ 35.688731][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.688865][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 35.688999][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 35.689136][ C2] do_idle+0xf9/0x160 [ 35.689239][ C2] cpu_startup_entry+0x54/0x60 [ 35.689452][ C2] start_secondary+0x21c/0x2b0 [ 35.689586][ C2] ? __pfx_start_secondary+0x10/0x10 [ 35.689724][ C2] common_startup_64+0x12c/0x138 [ 35.689859][ C2]