[ 23.720473][ T244] ip (244) used greatest stack depth: 24032 bytes left [ 26.959769][ T264] eth0: renamed from r1h0 [ 27.863792][ T271] eth1: renamed from r1h1 [ 28.712698][ T278] eth2: renamed from r1h2 [ 29.578283][ T286] eth3: renamed from r1h3 [ 32.552328][ C0] [ 32.552559][ C0] ======================================================== [ 32.552794][ C0] WARNING: possible irq lock inversion dependency detected [ 32.553026][ C0] 6.9.0-rc1-virtme #1 Not tainted [ 32.553177][ C0] -------------------------------------------------------- [ 32.553400][ C0] swapper/0/0 just changed the state of lock: [ 32.553591][ C0] ffff888006f50d80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 32.553863][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 32.554083][ C0] (&p->alloc_lock){+.+.}-{2:2} [ 32.554087][ C0] [ 32.554087][ C0] [ 32.554087][ C0] and interrupts could create inverse lock ordering between them. [ 32.554087][ C0] [ 32.554629][ C0] [ 32.554629][ C0] other info that might help us debug this: [ 32.554856][ C0] Possible interrupt unsafe locking scenario: [ 32.554856][ C0] [ 32.555081][ C0] CPU0 CPU1 [ 32.555227][ C0] ---- ---- [ 32.555375][ C0] lock(&p->alloc_lock); [ 32.555494][ C0] local_irq_disable(); [ 32.555676][ C0] lock(&ndev->lock); [ 32.555862][ C0] lock(&p->alloc_lock); [ 32.556047][ C0] [ 32.556161][ C0] lock(&ndev->lock); [ 32.556274][ C0] [ 32.556274][ C0] *** DEADLOCK *** [ 32.556274][ C0] [ 32.556489][ C0] 1 lock held by swapper/0/0: [ 32.556639][ C0] #0: ffffc90000007b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 32.556909][ C0] [ 32.556909][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 32.557165][ C0] -> (&p->alloc_lock){+.+.}-{2:2} { [ 32.557320][ C0] HARDIRQ-ON-W at: [ 32.557434][ C0] __lock_acquire+0x797/0x1570 [ 32.557626][ C0] lock_acquire.part.0+0xeb/0x330 [ 32.557816][ C0] _raw_spin_lock+0x30/0x40 [ 32.558004][ C0] set_mems_allowed+0x1d/0x210 [ 32.558191][ C0] kernel_init_freeable+0x72/0x310 [ 32.558381][ C0] kernel_init+0x20/0x200 [ 32.558571][ C0] ret_from_fork+0x31/0x70 [ 32.558760][ C0] ret_from_fork_asm+0x1a/0x30 [ 32.558948][ C0] SOFTIRQ-ON-W at: [ 32.559061][ C0] __lock_acquire+0x797/0x1570 [ 32.559251][ C0] lock_acquire.part.0+0xeb/0x330 [ 32.559438][ C0] _raw_spin_lock+0x30/0x40 [ 32.559627][ C0] set_mems_allowed+0x1d/0x210 [ 32.559815][ C0] kernel_init_freeable+0x72/0x310 [ 32.560003][ C0] kernel_init+0x20/0x200 [ 32.560192][ C0] ret_from_fork+0x31/0x70 [ 32.560381][ C0] ret_from_fork_asm+0x1a/0x30 [ 32.560568][ C0] INITIAL USE at: [ 32.560683][ C0] __lock_acquire+0x797/0x1570 [ 32.560872][ C0] lock_acquire.part.0+0xeb/0x330 [ 32.561060][ C0] _raw_spin_lock+0x30/0x40 [ 32.561250][ C0] set_mems_allowed+0x1d/0x210 [ 32.561437][ C0] kernel_init_freeable+0x72/0x310 [ 32.561623][ C0] kernel_init+0x20/0x200 [ 32.561814][ C0] ret_from_fork+0x31/0x70 [ 32.562001][ C0] ret_from_fork_asm+0x1a/0x30 [ 32.562187][ C0] } [ 32.562264][ C0] ... key at: [] __key.388+0x0/0x40 [ 32.562489][ C0] ... acquired at: [ 32.562599][ C0] __lock_acquire+0xaf0/0x1570 [ 32.562750][ C0] lock_acquire.part.0+0xeb/0x330 [ 32.562899][ C0] _raw_spin_lock+0x30/0x40 [ 32.563063][ C0] __get_task_comm+0x27/0x70 [ 32.563215][ C0] ref_tracker_alloc+0x2ee/0x490 [ 32.563365][ C0] netdev_get_by_index+0x5e/0x80 [ 32.563514][ C0] fib6_nh_init+0x3d8/0x1580 [ 32.563667][ C0] ip6_route_info_create+0xf18/0x17d0 [ 32.563815][ C0] addrconf_f6i_alloc+0x265/0x560 [ 32.563963][ C0] __ipv6_dev_ac_inc+0x25f/0xb10 [ 32.564117][ C0] addrconf_join_anycast+0x1c0/0x220 [ 32.564268][ C0] __ipv6_ifa_notify+0x6b3/0xaf0 [ 32.564418][ C0] addrconf_dad_completed+0x12b/0xe20 [ 32.564566][ C0] addrconf_dad_work+0x38c/0xab0 [ 32.564714][ C0] process_one_work+0xe2c/0x1730 [ 32.564865][ C0] worker_thread+0x587/0xd30 [ 32.565013][ C0] kthread+0x28a/0x350 [ 32.565127][ C0] ret_from_fork+0x31/0x70 [ 32.565280][ C0] ret_from_fork_asm+0x1a/0x30 [ 32.565433][ C0] [ 32.565510][ C0] -> (&ndev->lock){++-.}-{2:2} { [ 32.565664][ C0] HARDIRQ-ON-W at: [ 32.565776][ C0] __lock_acquire+0x797/0x1570 [ 32.565964][ C0] lock_acquire.part.0+0xeb/0x330 [ 32.566155][ C0] _raw_write_lock_bh+0x38/0x50 [ 32.566343][ C0] addrconf_permanent_addr+0x6e/0x670 [ 32.566543][ C0] addrconf_notify+0x749/0xd60 [ 32.566732][ C0] notifier_call_chain+0xcd/0x150 [ 32.566920][ C0] __dev_notify_flags+0xe6/0x250 [ 32.567110][ C0] dev_change_flags+0xec/0x160 [ 32.567298][ C0] do_setlink+0x7d6/0x21e0 [ 32.567487][ C0] __rtnl_newlink+0xaa7/0xd80 [ 32.567679][ C0] rtnl_newlink+0x63/0xa0 [ 32.567867][ C0] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 32.568053][ C0] netlink_rcv_skb+0x130/0x360 [ 32.568245][ C0] netlink_unicast+0x449/0x710 [ 32.568432][ C0] netlink_sendmsg+0x723/0xbe0 [ 32.568621][ C0] ____sys_sendmsg+0x7b2/0xa10 [ 32.568812][ C0] ___sys_sendmsg+0xee/0x170 [ 32.569003][ C0] __sys_sendmsg+0xcd/0x170 [ 32.569191][ C0] do_syscall_64+0xc6/0x1e0 [ 32.569379][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 32.569602][ C0] HARDIRQ-ON-R at: [ 32.569715][ C0] __lock_acquire+0x797/0x1570 [ 32.569903][ C0] lock_acquire.part.0+0xeb/0x330 [ 32.570092][ C0] _raw_read_lock_bh+0x44/0x80 [ 32.570283][ C0] inet6_fill_ifla6_attrs+0x516/0x740 [ 32.570469][ C0] inet6_fill_link_af+0x5e/0xe0 [ 32.570657][ C0] rtnl_fill_ifinfo+0x1615/0x2a90 [ 32.570843][ C0] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 32.571031][ C0] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 32.571256][ C0] rtmsg_ifinfo+0x5b/0xa0 [ 32.571443][ C0] register_netdevice+0x1177/0x1690 [ 32.571632][ C0] register_netdev+0x20/0x40 [ 32.571817][ C0] vti6_init_net+0x25d/0x380 [ 32.572005][ C0] ops_init+0x9b/0x560 [ 32.572155][ C0] register_pernet_operations+0x2db/0x710 [ 32.572377][ C0] register_pernet_device+0x2a/0x60 [ 32.572568][ C0] vti6_tunnel_init+0x18/0x110 [ 32.572756][ C0] do_one_initcall+0x8d/0x1e0 [ 32.572943][ C0] do_initcalls+0x1b2/0x3e0 [ 32.573134][ C0] kernel_init_freeable+0x232/0x310 [ 32.573323][ C0] kernel_init+0x20/0x200 [ 32.573510][ C0] ret_from_fork+0x31/0x70 [ 32.573701][ C0] ret_from_fork_asm+0x1a/0x30 [ 32.573891][ C0] IN-SOFTIRQ-W at: [ 32.574003][ C0] __lock_acquire+0x797/0x1570 [ 32.574189][ C0] lock_acquire.part.0+0xeb/0x330 [ 32.574375][ C0] _raw_write_lock+0x30/0x40 [ 32.574563][ C0] addrconf_rs_timer+0xa9/0x730 [ 32.574748][ C0] call_timer_fn+0x13b/0x230 [ 32.574938][ C0] __run_timers+0x545/0x810 [ 32.575126][ C0] timer_expire_remote+0x9b/0xe0 [ 32.575313][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 32.575501][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 32.575688][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 32.575875][ C0] __do_softirq+0x1f8/0x5df [ 32.576066][ C0] irq_exit_rcu+0x97/0xc0 [ 32.576254][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 32.576482][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 32.576706][ C0] default_idle+0xf/0x20 [ 32.576894][ C0] default_idle_call+0x6d/0xb0 [ 32.577081][ C0] cpuidle_idle_call+0x1f4/0x280 [ 32.577275][ C0] do_idle+0xf9/0x160 [ 32.577427][ C0] cpu_startup_entry+0x54/0x60 [ 32.577615][ C0] rest_init+0x14f/0x260 [ 32.577804][ C0] start_kernel+0x318/0x3d0 [ 32.577991][ C0] x86_64_start_reservations+0x18/0x30 [ 32.578179][ C0] x86_64_start_kernel+0xba/0x110 [ 32.578365][ C0] common_startup_64+0x12c/0x138 [ 32.578557][ C0] INITIAL USE at: [ 32.578669][ C0] __lock_acquire+0x797/0x1570 [ 32.578858][ C0] lock_acquire.part.0+0xeb/0x330 [ 32.579046][ C0] _raw_write_lock_bh+0x38/0x50 [ 32.579233][ C0] addrconf_permanent_addr+0x6e/0x670 [ 32.579421][ C0] addrconf_notify+0x749/0xd60 [ 32.579611][ C0] notifier_call_chain+0xcd/0x150 [ 32.579799][ C0] __dev_notify_flags+0xe6/0x250 [ 32.579988][ C0] dev_change_flags+0xec/0x160 [ 32.580175][ C0] do_setlink+0x7d6/0x21e0 [ 32.580364][ C0] __rtnl_newlink+0xaa7/0xd80 [ 32.580550][ C0] rtnl_newlink+0x63/0xa0 [ 32.580737][ C0] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 32.580927][ C0] netlink_rcv_skb+0x130/0x360 [ 32.581115][ C0] netlink_unicast+0x449/0x710 [ 32.581302][ C0] netlink_sendmsg+0x723/0xbe0 [ 32.581489][ C0] ____sys_sendmsg+0x7b2/0xa10 [ 32.581678][ C0] ___sys_sendmsg+0xee/0x170 [ 32.581865][ C0] __sys_sendmsg+0xcd/0x170 [ 32.582055][ C0] do_syscall_64+0xc6/0x1e0 [ 32.582248][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 32.582470][ C0] INITIAL READ USE at: [ 32.582582][ C0] __lock_acquire+0x797/0x1570 [ 32.582766][ C0] lock_acquire.part.0+0xeb/0x330 [ 32.582962][ C0] _raw_read_lock_bh+0x44/0x80 [ 32.583159][ C0] inet6_fill_ifla6_attrs+0x516/0x740 [ 32.583386][ C0] inet6_fill_link_af+0x5e/0xe0 [ 32.583668][ C0] rtnl_fill_ifinfo+0x1615/0x2a90 [ 32.583854][ C0] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 32.584076][ C0] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 32.584399][ C0] rtmsg_ifinfo+0x5b/0xa0 [ 32.584584][ C0] register_netdevice+0x1177/0x1690 [ 32.584810][ C0] register_netdev+0x20/0x40 [ 32.584997][ C0] vti6_init_net+0x25d/0x380 [ 32.585188][ C0] ops_init+0x9b/0x560 [ 32.585374][ C0] register_pernet_operations+0x2db/0x710 [ 32.585690][ C0] register_pernet_device+0x2a/0x60 [ 32.585913][ C0] vti6_tunnel_init+0x18/0x110 [ 32.586099][ C0] do_one_initcall+0x8d/0x1e0 [ 32.586287][ C0] do_initcalls+0x1b2/0x3e0 [ 32.586565][ C0] kernel_init_freeable+0x232/0x310 [ 32.586789][ C0] kernel_init+0x20/0x200 [ 32.586975][ C0] ret_from_fork+0x31/0x70 [ 32.587356][ C0] ret_from_fork_asm+0x1a/0x30 [ 32.587550][ C0] } [ 32.587626][ C0] ... key at: [] __key.37+0x0/0x40 [ 32.587851][ C0] ... acquired at: [ 32.587960][ C0] mark_lock+0x28d/0x3e0 [ 32.588109][ C0] mark_usage+0xd9/0x2a0 [ 32.588257][ C0] __lock_acquire+0x797/0x1570 [ 32.588406][ C0] lock_acquire.part.0+0xeb/0x330 [ 32.588649][ C0] _raw_write_lock+0x30/0x40 [ 32.588798][ C0] addrconf_rs_timer+0xa9/0x730 [ 32.588952][ C0] call_timer_fn+0x13b/0x230 [ 32.589102][ C0] __run_timers+0x545/0x810 [ 32.589342][ C0] timer_expire_remote+0x9b/0xe0 [ 32.589491][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 32.589639][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 32.589788][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 32.589939][ C0] __do_softirq+0x1f8/0x5df [ 32.590180][ C0] irq_exit_rcu+0x97/0xc0 [ 32.590329][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 32.590515][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 32.590792][ C0] default_idle+0xf/0x20 [ 32.590941][ C0] default_idle_call+0x6d/0xb0 [ 32.591089][ C0] cpuidle_idle_call+0x1f4/0x280 [ 32.591239][ C0] do_idle+0xf9/0x160 [ 32.591351][ C0] cpu_startup_entry+0x54/0x60 [ 32.591596][ C0] rest_init+0x14f/0x260 [ 32.591743][ C0] start_kernel+0x318/0x3d0 [ 32.591892][ C0] x86_64_start_reservations+0x18/0x30 [ 32.592041][ C0] x86_64_start_kernel+0xba/0x110 [ 32.592285][ C0] common_startup_64+0x12c/0x138 [ 32.592434][ C0] [ 32.592509][ C0] [ 32.592509][ C0] stack backtrace: [ 32.592690][ C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.9.0-rc1-virtme #1 [ 32.592916][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 32.593255][ C0] Call Trace: [ 32.593376][ C0] [ 32.593452][ C0] dump_stack_lvl+0x82/0xd0 [ 32.593697][ C0] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 32.593882][ C0] ? kernel_text_address+0x17/0xe0 [ 32.594032][ C0] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 32.594221][ C0] ? __pfx_usage_skip+0x10/0x10 [ 32.594461][ C0] ? __pfx_usage_match+0x10/0x10 [ 32.594607][ C0] ? arch_stack_walk+0x8c/0xf0 [ 32.594755][ C0] mark_lock_irq+0x4cd/0xa10 [ 32.594903][ C0] ? common_startup_64+0x12c/0x138 [ 32.595143][ C0] ? __pfx_mark_lock_irq+0x10/0x10 [ 32.595291][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 32.595444][ C0] ? save_trace+0x8f/0x5b0 [ 32.595593][ C0] mark_lock+0x28d/0x3e0 [ 32.595796][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 32.595945][ C0] mark_usage+0xd9/0x2a0 [ 32.596058][ C0] __lock_acquire+0x797/0x1570 [ 32.596207][ C0] ? __pfx_validate_chain+0x10/0x10 [ 32.596356][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 32.596593][ C0] lock_acquire.part.0+0xeb/0x330 [ 32.596744][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 32.596897][ C0] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 32.597047][ C0] ? trace_lock_acquire+0x135/0x1c0 [ 32.597291][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 32.597439][ C0] ? lock_acquire+0x32/0xc0 [ 32.597587][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 32.597735][ C0] _raw_write_lock+0x30/0x40 [ 32.597881][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 32.598027][ C0] addrconf_rs_timer+0xa9/0x730 [ 32.598177][ C0] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 32.598325][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 32.598475][ C0] ? call_timer_fn+0xe8/0x230 [ 32.598806][ C0] ? lock_acquire+0x32/0xc0 [ 32.598954][ C0] ? call_timer_fn+0xe8/0x230 [ 32.599103][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 32.599251][ C0] call_timer_fn+0x13b/0x230 [ 32.599490][ C0] ? call_timer_fn+0xe8/0x230 [ 32.599638][ C0] ? call_timer_fn+0xe8/0x230 [ 32.599791][ C0] ? __pfx_call_timer_fn+0x10/0x10 [ 32.599939][ C0] ? mark_lock+0x38/0x3e0 [ 32.600147][ C0] __run_timers+0x545/0x810 [ 32.600296][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 32.600452][ C0] ? __pfx___run_timers+0x10/0x10 [ 32.600599][ C0] ? __lock_release+0x103/0x460 [ 32.600749][ C0] ? do_raw_spin_lock+0x131/0x270 [ 32.600987][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 32.601137][ C0] ? lock_acquire+0x32/0xc0 [ 32.601293][ C0] ? timer_expire_remote+0x93/0xe0 [ 32.601441][ C0] timer_expire_remote+0x9b/0xe0 [ 32.601683][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 32.601830][ C0] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 32.602015][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 32.602163][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 32.602403][ C0] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 32.602555][ C0] __do_softirq+0x1f8/0x5df [ 32.602703][ C0] irq_exit_rcu+0x97/0xc0 [ 32.602814][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 32.603058][ C0] [ 32.603135][ C0] [ 32.603210][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 32.603394][ C0] RIP: 0010:default_idle+0xf/0x20 [ 32.603545][ C0] 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 [ 32.604162][ C0] RSP: 0018:ffffffffb1407e00 EFLAGS: 00000246 [ 32.604350][ C0] RAX: 000000000009dceb RBX: 1ffffffff6280fc2 RCX: ffffffffb0532ea5 [ 32.604666][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffadcac1d4 [ 32.604886][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0709c [ 32.605110][ C0] R10: ffff8880360384e3 R11: ffff88803602d9b0 R12: 0000000000000000 [ 32.605434][ C0] R13: ffffffffb1431000 R14: dffffc0000000000 R15: 0000000000014770 [ 32.605657][ C0] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 32.605804][ C0] ? cpuidle_idle_call+0x1f4/0x280 [ 32.605952][ C0] default_idle_call+0x6d/0xb0 [ 32.606098][ C0] cpuidle_idle_call+0x1f4/0x280 [ 32.606248][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 32.606396][ C0] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 32.606639][ C0] do_idle+0xf9/0x160 [ 32.606751][ C0] cpu_startup_entry+0x54/0x60 [ 32.606898][ C0] rest_init+0x14f/0x260 [ 32.607010][ C0] start_kernel+0x318/0x3d0 [ 32.607157][ C0] x86_64_start_reservations+0x18/0x30 [ 32.607395][ C0] x86_64_start_kernel+0xba/0x110 [ 32.607546][ C0] common_startup_64+0x12c/0x138 [ 32.607696][ C0]