[ 24.316911][ T263] veth0: renamed from veth-rt-1 [ 25.788746][ T272] veth0: renamed from veth-rt-2 [ 32.244600][ T312] ip (312) used greatest stack depth: 22976 bytes left [ 34.528187][ C2] [ 34.528328][ C2] ======================================================== [ 34.528651][ C2] WARNING: possible irq lock inversion dependency detected [ 34.528969][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 34.529194][ C2] -------------------------------------------------------- [ 34.529509][ C2] swapper/2/0 just changed the state of lock: [ 34.529771][ C2] ffff888008c1ed80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 34.530163][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 34.530438][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 34.530443][ C2] [ 34.530443][ C2] [ 34.530443][ C2] and interrupts could create inverse lock ordering between them. [ 34.530443][ C2] [ 34.530948][ C2] [ 34.530948][ C2] other info that might help us debug this: [ 34.531150][ C2] Possible interrupt unsafe locking scenario: [ 34.531150][ C2] [ 34.531471][ C2] CPU0 CPU1 [ 34.531690][ C2] ---- ---- [ 34.531909][ C2] lock(&p->alloc_lock); [ 34.532089][ C2] local_irq_disable(); [ 34.532328][ C2] lock(&ndev->lock); [ 34.532503][ C2] lock(&p->alloc_lock); [ 34.532702][ C2] [ 34.532809][ C2] lock(&ndev->lock); [ 34.532919][ C2] [ 34.532919][ C2] *** DEADLOCK *** [ 34.532919][ C2] [ 34.533126][ C2] 1 lock held by swapper/2/0: [ 34.533271][ C2] #0: ffffc90000230d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 34.533529][ C2] [ 34.533529][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 34.533778][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 34.533926][ C2] HARDIRQ-ON-W at: [ 34.534033][ C2] __lock_acquire+0x797/0x1570 [ 34.534225][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.534405][ C2] _raw_spin_lock+0x30/0x40 [ 34.534585][ C2] set_mems_allowed+0x1d/0x210 [ 34.534765][ C2] kernel_init_freeable+0x72/0x310 [ 34.534944][ C2] kernel_init+0x20/0x200 [ 34.535123][ C2] ret_from_fork+0x31/0x70 [ 34.535318][ C2] ret_from_fork_asm+0x1a/0x30 [ 34.535494][ C2] SOFTIRQ-ON-W at: [ 34.535600][ C2] __lock_acquire+0x797/0x1570 [ 34.535778][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.535959][ C2] _raw_spin_lock+0x30/0x40 [ 34.536138][ C2] set_mems_allowed+0x1d/0x210 [ 34.536324][ C2] kernel_init_freeable+0x72/0x310 [ 34.536498][ C2] kernel_init+0x20/0x200 [ 34.536673][ C2] ret_from_fork+0x31/0x70 [ 34.536851][ C2] ret_from_fork_asm+0x1a/0x30 [ 34.537031][ C2] INITIAL USE at: [ 34.537137][ C2] __lock_acquire+0x797/0x1570 [ 34.537323][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.537501][ C2] _raw_spin_lock+0x30/0x40 [ 34.537677][ C2] set_mems_allowed+0x1d/0x210 [ 34.537852][ C2] kernel_init_freeable+0x72/0x310 [ 34.538031][ C2] kernel_init+0x20/0x200 [ 34.538217][ C2] ret_from_fork+0x31/0x70 [ 34.538395][ C2] ret_from_fork_asm+0x1a/0x30 [ 34.538575][ C2] } [ 34.538648][ C2] ... key at: [] __key.388+0x0/0x40 [ 34.538859][ C2] ... acquired at: [ 34.538965][ C2] __lock_acquire+0xaf0/0x1570 [ 34.539112][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.539305][ C2] _raw_spin_lock+0x30/0x40 [ 34.539450][ C2] __get_task_comm+0x27/0x70 [ 34.539595][ C2] ref_tracker_alloc+0x2ee/0x490 [ 34.539741][ C2] netdev_get_by_index+0x5e/0x80 [ 34.539885][ C2] fib6_nh_init+0x3d8/0x1580 [ 34.540030][ C2] ip6_route_info_create+0xf18/0x17d0 [ 34.540183][ C2] ip6_route_add+0x1c/0x140 [ 34.540333][ C2] addrconf_prefix_route+0x2a6/0x430 [ 34.540476][ C2] addrconf_permanent_addr+0x32f/0x670 [ 34.540617][ C2] addrconf_notify+0x749/0xd60 [ 34.540756][ C2] notifier_call_chain+0xcd/0x150 [ 34.540896][ C2] __dev_notify_flags+0xe6/0x250 [ 34.541036][ C2] dev_change_flags+0xec/0x160 [ 34.541180][ C2] do_setlink+0x7d6/0x21e0 [ 34.541328][ C2] __rtnl_newlink+0xaa7/0xd80 [ 34.541472][ C2] rtnl_newlink+0x63/0xa0 [ 34.541616][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.541758][ C2] netlink_rcv_skb+0x130/0x360 [ 34.541900][ C2] netlink_unicast+0x449/0x710 [ 34.542042][ C2] netlink_sendmsg+0x723/0xbe0 [ 34.542187][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 34.542343][ C2] ___sys_sendmsg+0xee/0x170 [ 34.542485][ C2] __sys_sendmsg+0xcd/0x170 [ 34.542636][ C2] do_syscall_64+0xc6/0x1e0 [ 34.542792][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.542974][ C2] [ 34.543048][ C2] -> (&ndev->lock){++-.}-{2:2} { [ 34.543201][ C2] HARDIRQ-ON-W at: [ 34.543310][ C2] __lock_acquire+0x797/0x1570 [ 34.543491][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.543671][ C2] _raw_write_lock_bh+0x38/0x50 [ 34.543857][ C2] addrconf_permanent_addr+0x6e/0x670 [ 34.544039][ C2] addrconf_notify+0x749/0xd60 [ 34.544224][ C2] notifier_call_chain+0xcd/0x150 [ 34.544402][ C2] __dev_notify_flags+0xe6/0x250 [ 34.544580][ C2] dev_change_flags+0xec/0x160 [ 34.544757][ C2] do_setlink+0x7d6/0x21e0 [ 34.544934][ C2] __rtnl_newlink+0xaa7/0xd80 [ 34.545131][ C2] rtnl_newlink+0x63/0xa0 [ 34.545318][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.545497][ C2] netlink_rcv_skb+0x130/0x360 [ 34.545677][ C2] netlink_unicast+0x449/0x710 [ 34.545857][ C2] netlink_sendmsg+0x723/0xbe0 [ 34.546038][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 34.546229][ C2] ___sys_sendmsg+0xee/0x170 [ 34.546411][ C2] __sys_sendmsg+0xcd/0x170 [ 34.546589][ C2] do_syscall_64+0xc6/0x1e0 [ 34.546768][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.546983][ C2] HARDIRQ-ON-R at: [ 34.547092][ C2] __lock_acquire+0x797/0x1570 [ 34.547285][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.547465][ C2] _raw_read_lock_bh+0x44/0x80 [ 34.547650][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 34.547831][ C2] inet6_fill_link_af+0x5e/0xe0 [ 34.548011][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 34.548192][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 34.548376][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 34.548592][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 34.548769][ C2] register_netdevice+0x1177/0x1690 [ 34.548946][ C2] register_netdev+0x20/0x40 [ 34.549136][ C2] vti6_init_net+0x25d/0x380 [ 34.549313][ C2] ops_init+0x9b/0x560 [ 34.549456][ C2] register_pernet_operations+0x2db/0x710 [ 34.549671][ C2] register_pernet_device+0x2a/0x60 [ 34.550007][ C2] vti6_tunnel_init+0x18/0x110 [ 34.550189][ C2] do_one_initcall+0x8d/0x1e0 [ 34.550380][ C2] do_initcalls+0x1b2/0x3e0 [ 34.550632][ C2] kernel_init_freeable+0x232/0x310 [ 34.550813][ C2] kernel_init+0x20/0x200 [ 34.550990][ C2] ret_from_fork+0x31/0x70 [ 34.551185][ C2] ret_from_fork_asm+0x1a/0x30 [ 34.551440][ C2] IN-SOFTIRQ-W at: [ 34.551548][ C2] __lock_acquire+0x797/0x1570 [ 34.551730][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.551911][ C2] _raw_write_lock+0x30/0x40 [ 34.552166][ C2] addrconf_rs_timer+0xa9/0x730 [ 34.552345][ C2] call_timer_fn+0x13b/0x230 [ 34.552528][ C2] __run_timers+0x545/0x810 [ 34.552787][ C2] run_timer_softirq+0xe8/0x1b0 [ 34.552970][ C2] __do_softirq+0x1f8/0x5df [ 34.553150][ C2] irq_exit_rcu+0x97/0xc0 [ 34.553405][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.553619][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.553834][ C2] default_idle+0xf/0x20 [ 34.554086][ C2] default_idle_call+0x6d/0xb0 [ 34.554266][ C2] cpuidle_idle_call+0x1f4/0x280 [ 34.554447][ C2] do_idle+0xf9/0x160 [ 34.554590][ C2] cpu_startup_entry+0x54/0x60 [ 34.554769][ C2] start_secondary+0x21c/0x2b0 [ 34.554944][ C2] common_startup_64+0x12c/0x138 [ 34.555124][ C2] INITIAL USE at: [ 34.555243][ C2] __lock_acquire+0x797/0x1570 [ 34.555498][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.555675][ C2] _raw_write_lock_bh+0x38/0x50 [ 34.555852][ C2] addrconf_permanent_addr+0x6e/0x670 [ 34.556103][ C2] addrconf_notify+0x749/0xd60 [ 34.556281][ C2] notifier_call_chain+0xcd/0x150 [ 34.556458][ C2] __dev_notify_flags+0xe6/0x250 [ 34.556637][ C2] dev_change_flags+0xec/0x160 [ 34.556889][ C2] do_setlink+0x7d6/0x21e0 [ 34.557068][ C2] __rtnl_newlink+0xaa7/0xd80 [ 34.557246][ C2] rtnl_newlink+0x63/0xa0 [ 34.557498][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.557677][ C2] netlink_rcv_skb+0x130/0x360 [ 34.557856][ C2] netlink_unicast+0x449/0x710 [ 34.558112][ C2] netlink_sendmsg+0x723/0xbe0 [ 34.558290][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 34.558467][ C2] ___sys_sendmsg+0xee/0x170 [ 34.558645][ C2] __sys_sendmsg+0xcd/0x170 [ 34.558836][ C2] do_syscall_64+0xc6/0x1e0 [ 34.559020][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.559250][ C2] INITIAL READ USE at: [ 34.559431][ C2] __lock_acquire+0x797/0x1570 [ 34.559611][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.559799][ C2] _raw_read_lock_bh+0x44/0x80 [ 34.559980][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 34.560274][ C2] inet6_fill_link_af+0x5e/0xe0 [ 34.560454][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 34.560633][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 34.560922][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 34.561135][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 34.561315][ C2] register_netdevice+0x1177/0x1690 [ 34.561608][ C2] register_netdev+0x20/0x40 [ 34.561787][ C2] vti6_init_net+0x25d/0x380 [ 34.561967][ C2] ops_init+0x9b/0x560 [ 34.562223][ C2] register_pernet_operations+0x2db/0x710 [ 34.562435][ C2] register_pernet_device+0x2a/0x60 [ 34.562653][ C2] vti6_tunnel_init+0x18/0x110 [ 34.562836][ C2] do_one_initcall+0x8d/0x1e0 [ 34.563013][ C2] do_initcalls+0x1b2/0x3e0 [ 34.563191][ C2] kernel_init_freeable+0x232/0x310 [ 34.563493][ C2] kernel_init+0x20/0x200 [ 34.563672][ C2] ret_from_fork+0x31/0x70 [ 34.563850][ C2] ret_from_fork_asm+0x1a/0x30 [ 34.564030][ C2] } [ 34.564180][ C2] ... key at: [] __key.37+0x0/0x40 [ 34.564393][ C2] ... acquired at: [ 34.564498][ C2] mark_lock+0x28d/0x3e0 [ 34.564640][ C2] mark_usage+0xd9/0x2a0 [ 34.564780][ C2] __lock_acquire+0x797/0x1570 [ 34.564923][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.565064][ C2] _raw_write_lock+0x30/0x40 [ 34.565208][ C2] addrconf_rs_timer+0xa9/0x730 [ 34.565350][ C2] call_timer_fn+0x13b/0x230 [ 34.565566][ C2] __run_timers+0x545/0x810 [ 34.565708][ C2] run_timer_softirq+0xe8/0x1b0 [ 34.565850][ C2] __do_softirq+0x1f8/0x5df [ 34.565993][ C2] irq_exit_rcu+0x97/0xc0 [ 34.566219][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.566395][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.566573][ C2] default_idle+0xf/0x20 [ 34.566718][ C2] default_idle_call+0x6d/0xb0 [ 34.566862][ C2] cpuidle_idle_call+0x1f4/0x280 [ 34.567005][ C2] do_idle+0xf9/0x160 [ 34.567115][ C2] cpu_startup_entry+0x54/0x60 [ 34.567269][ C2] start_secondary+0x21c/0x2b0 [ 34.567490][ C2] common_startup_64+0x12c/0x138 [ 34.567632][ C2] [ 34.567703][ C2] [ 34.567703][ C2] stack backtrace: [ 34.567878][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 34.568165][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 34.568480][ C2] Call Trace: [ 34.568593][ C2] [ 34.568669][ C2] dump_stack_lvl+0x82/0xd0 [ 34.568818][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 34.568994][ C2] ? kernel_text_address+0x17/0xe0 [ 34.569140][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 34.569315][ C2] ? __pfx_usage_skip+0x10/0x10 [ 34.569531][ C2] ? __pfx_usage_match+0x10/0x10 [ 34.569673][ C2] ? arch_stack_walk+0x8c/0xf0 [ 34.569819][ C2] mark_lock_irq+0x4cd/0xa10 [ 34.569962][ C2] ? common_startup_64+0x12c/0x138 [ 34.570182][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 34.570325][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 34.570473][ C2] ? save_trace+0x8f/0x5b0 [ 34.570616][ C2] mark_lock+0x28d/0x3e0 [ 34.570726][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 34.570867][ C2] mark_usage+0xd9/0x2a0 [ 34.570977][ C2] __lock_acquire+0x797/0x1570 [ 34.571123][ C2] ? __pfx_validate_chain+0x10/0x10 [ 34.571276][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.571565][ C2] lock_acquire.part.0+0xeb/0x330 [ 34.571711][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 34.571852][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 34.571994][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 34.572211][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 34.572351][ C2] ? lock_acquire+0x32/0xc0 [ 34.572491][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 34.572640][ C2] _raw_write_lock+0x30/0x40 [ 34.572786][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 34.572932][ C2] addrconf_rs_timer+0xa9/0x730 [ 34.573074][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 34.573219][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.573362][ C2] ? call_timer_fn+0xe8/0x230 [ 34.573579][ C2] ? lock_acquire+0x32/0xc0 [ 34.573722][ C2] ? call_timer_fn+0xe8/0x230 [ 34.573866][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.574008][ C2] call_timer_fn+0x13b/0x230 [ 34.574226][ C2] ? call_timer_fn+0xe8/0x230 [ 34.574371][ C2] ? call_timer_fn+0xe8/0x230 [ 34.574512][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 34.574655][ C2] ? mark_lock+0x38/0x3e0 [ 34.574767][ C2] __run_timers+0x545/0x810 [ 34.574911][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.575052][ C2] ? __pfx___run_timers+0x10/0x10 [ 34.575200][ C2] ? do_raw_spin_lock+0x131/0x270 [ 34.575354][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 34.575572][ C2] ? lock_acquire+0x32/0xc0 [ 34.575712][ C2] ? run_timer_softirq+0xe0/0x1b0 [ 34.575853][ C2] run_timer_softirq+0xe8/0x1b0 [ 34.575994][ C2] __do_softirq+0x1f8/0x5df [ 34.576213][ C2] irq_exit_rcu+0x97/0xc0 [ 34.576321][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.576464][ C2] [ 34.576537][ C2] [ 34.576608][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.576785][ C2] RIP: 0010:default_idle+0xf/0x20 [ 34.576932][ 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 [ 34.577511][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000242 [ 34.577696][ C2] RAX: 00000000000fe497 RBX: 1ffff9200002bfc1 RCX: ffffffffa8b32ea5 [ 34.577910][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa62ac1d4 [ 34.578202][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 34.578413][ C2] R10: ffff8880361384e3 R11: ffff88803613de40 R12: 0000000000000000 [ 34.578627][ C2] R13: ffff888001b8c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 34.578843][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 34.578984][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 34.579131][ C2] default_idle_call+0x6d/0xb0 [ 34.579286][ C2] cpuidle_idle_call+0x1f4/0x280 [ 34.579508][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 34.579650][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 34.579794][ C2] do_idle+0xf9/0x160 [ 34.579903][ C2] cpu_startup_entry+0x54/0x60 [ 34.580123][ C2] start_secondary+0x21c/0x2b0 [ 34.580266][ C2] ? __pfx_start_secondary+0x10/0x10 [ 34.580412][ C2] common_startup_64+0x12c/0x138 [ 34.580557][ C2]