[ 27.612895][ T262] ip (262) used greatest stack depth: 23328 bytes left [ 27.870620][ T265] eth0: renamed from r1h0 [ 28.820328][ T272] eth1: renamed from r1h1 [ 29.748830][ T279] eth2: renamed from r1h2 [ 30.674054][ T286] eth3: renamed from r1h3 [ 33.207116][ C0] [ 33.207410][ C0] ======================================================== [ 33.207644][ C0] WARNING: possible irq lock inversion dependency detected [ 33.207865][ C0] 6.9.0-rc1-virtme #1 Not tainted [ 33.208017][ C0] -------------------------------------------------------- [ 33.208237][ C0] swapper/0/0 just changed the state of lock: [ 33.208424][ C0] ffff88800630bd80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 33.208694][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 33.208925][ C0] (&p->alloc_lock){+.+.}-{2:2} [ 33.208929][ C0] [ 33.208929][ C0] [ 33.208929][ C0] and interrupts could create inverse lock ordering between them. [ 33.208929][ C0] [ 33.209475][ C0] [ 33.209475][ C0] other info that might help us debug this: [ 33.209701][ C0] Possible interrupt unsafe locking scenario: [ 33.209701][ C0] [ 33.209927][ C0] CPU0 CPU1 [ 33.210077][ C0] ---- ---- [ 33.210233][ C0] lock(&p->alloc_lock); [ 33.210346][ C0] local_irq_disable(); [ 33.210529][ C0] lock(&ndev->lock); [ 33.210715][ C0] lock(&p->alloc_lock); [ 33.210899][ C0] [ 33.211010][ C0] lock(&ndev->lock); [ 33.211122][ C0] [ 33.211122][ C0] *** DEADLOCK *** [ 33.211122][ C0] [ 33.211364][ C0] 1 lock held by swapper/0/0: [ 33.211514][ C0] #0: ffffc90000007b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 33.211781][ C0] [ 33.211781][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 33.212037][ C0] -> (&p->alloc_lock){+.+.}-{2:2} { [ 33.212190][ C0] HARDIRQ-ON-W at: [ 33.212304][ C0] __lock_acquire+0x797/0x1570 [ 33.212502][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.212689][ C0] _raw_spin_lock+0x30/0x40 [ 33.212878][ C0] set_mems_allowed+0x1d/0x210 [ 33.213065][ C0] kernel_init_freeable+0x72/0x310 [ 33.213254][ C0] kernel_init+0x20/0x200 [ 33.213441][ C0] ret_from_fork+0x31/0x70 [ 33.213633][ C0] ret_from_fork_asm+0x1a/0x30 [ 33.213821][ C0] SOFTIRQ-ON-W at: [ 33.213934][ C0] __lock_acquire+0x797/0x1570 [ 33.214119][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.214306][ C0] _raw_spin_lock+0x30/0x40 [ 33.214496][ C0] set_mems_allowed+0x1d/0x210 [ 33.214685][ C0] kernel_init_freeable+0x72/0x310 [ 33.214871][ C0] kernel_init+0x20/0x200 [ 33.215058][ C0] ret_from_fork+0x31/0x70 [ 33.215246][ C0] ret_from_fork_asm+0x1a/0x30 [ 33.215432][ C0] INITIAL USE at: [ 33.215544][ C0] __lock_acquire+0x797/0x1570 [ 33.215733][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.215923][ C0] _raw_spin_lock+0x30/0x40 [ 33.216109][ C0] set_mems_allowed+0x1d/0x210 [ 33.216295][ C0] kernel_init_freeable+0x72/0x310 [ 33.216494][ C0] kernel_init+0x20/0x200 [ 33.216680][ C0] ret_from_fork+0x31/0x70 [ 33.216871][ C0] ret_from_fork_asm+0x1a/0x30 [ 33.217062][ C0] } [ 33.217146][ C0] ... key at: [] __key.388+0x0/0x40 [ 33.217373][ C0] ... acquired at: [ 33.217484][ C0] __lock_acquire+0xaf0/0x1570 [ 33.217639][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.217790][ C0] _raw_spin_lock+0x30/0x40 [ 33.217941][ C0] __get_task_comm+0x27/0x70 [ 33.218093][ C0] ref_tracker_alloc+0x2ee/0x490 [ 33.218246][ C0] netdev_get_by_index+0x5e/0x80 [ 33.218397][ C0] fib6_nh_init+0x3d8/0x1580 [ 33.218549][ C0] ip6_route_info_create+0xf18/0x17d0 [ 33.218699][ C0] addrconf_f6i_alloc+0x265/0x560 [ 33.218847][ C0] __ipv6_dev_ac_inc+0x25f/0xb10 [ 33.218997][ C0] addrconf_join_anycast+0x1c0/0x220 [ 33.219147][ C0] __ipv6_ifa_notify+0x6b3/0xaf0 [ 33.219302][ C0] addrconf_dad_completed+0x12b/0xe20 [ 33.219449][ C0] addrconf_dad_work+0x38c/0xab0 [ 33.219597][ C0] process_one_work+0xe2c/0x1730 [ 33.219746][ C0] worker_thread+0x587/0xd30 [ 33.219895][ C0] kthread+0x28a/0x350 [ 33.220008][ C0] ret_from_fork+0x31/0x70 [ 33.220158][ C0] ret_from_fork_asm+0x1a/0x30 [ 33.220309][ C0] [ 33.220385][ C0] -> (&ndev->lock){++-.}-{2:2} { [ 33.220544][ C0] HARDIRQ-ON-W at: [ 33.220656][ C0] __lock_acquire+0x797/0x1570 [ 33.220847][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.221032][ C0] _raw_write_lock_bh+0x38/0x50 [ 33.221220][ C0] addrconf_permanent_addr+0x6e/0x670 [ 33.221407][ C0] addrconf_notify+0x749/0xd60 [ 33.221601][ C0] notifier_call_chain+0xcd/0x150 [ 33.221788][ C0] __dev_notify_flags+0xe6/0x250 [ 33.221976][ C0] dev_change_flags+0xec/0x160 [ 33.222162][ C0] do_setlink+0x7d6/0x21e0 [ 33.222350][ C0] __rtnl_newlink+0xaa7/0xd80 [ 33.222537][ C0] rtnl_newlink+0x63/0xa0 [ 33.222724][ C0] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 33.222916][ C0] netlink_rcv_skb+0x130/0x360 [ 33.223103][ C0] netlink_unicast+0x449/0x710 [ 33.223290][ C0] netlink_sendmsg+0x723/0xbe0 [ 33.223479][ C0] ____sys_sendmsg+0x7b2/0xa10 [ 33.223664][ C0] ___sys_sendmsg+0xee/0x170 [ 33.223850][ C0] __sys_sendmsg+0xcd/0x170 [ 33.224036][ C0] do_syscall_64+0xc6/0x1e0 [ 33.224227][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 33.224452][ C0] HARDIRQ-ON-R at: [ 33.224565][ C0] __lock_acquire+0x797/0x1570 [ 33.224753][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.224938][ C0] _raw_read_lock_bh+0x44/0x80 [ 33.225122][ C0] inet6_fill_ifla6_attrs+0x516/0x740 [ 33.225316][ C0] inet6_fill_link_af+0x5e/0xe0 [ 33.225502][ C0] rtnl_fill_ifinfo+0x1615/0x2a90 [ 33.225686][ C0] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 33.225872][ C0] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 33.226096][ C0] rtmsg_ifinfo+0x5b/0xa0 [ 33.226281][ C0] register_netdevice+0x1177/0x1690 [ 33.226473][ C0] register_netdev+0x20/0x40 [ 33.226658][ C0] vti6_init_net+0x25d/0x380 [ 33.226846][ C0] ops_init+0x9b/0x560 [ 33.226996][ C0] register_pernet_operations+0x2db/0x710 [ 33.227223][ C0] register_pernet_device+0x2a/0x60 [ 33.227409][ C0] vti6_tunnel_init+0x18/0x110 [ 33.227599][ C0] do_one_initcall+0x8d/0x1e0 [ 33.227785][ C0] do_initcalls+0x1b2/0x3e0 [ 33.227972][ C0] kernel_init_freeable+0x232/0x310 [ 33.228157][ C0] kernel_init+0x20/0x200 [ 33.228345][ C0] ret_from_fork+0x31/0x70 [ 33.228537][ C0] ret_from_fork_asm+0x1a/0x30 [ 33.228724][ C0] IN-SOFTIRQ-W at: [ 33.228841][ C0] __lock_acquire+0x797/0x1570 [ 33.229028][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.229218][ C0] _raw_write_lock+0x30/0x40 [ 33.229407][ C0] addrconf_rs_timer+0xa9/0x730 [ 33.229593][ C0] call_timer_fn+0x13b/0x230 [ 33.229782][ C0] __run_timers+0x545/0x810 [ 33.229969][ C0] timer_expire_remote+0x9b/0xe0 [ 33.230158][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 33.230344][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 33.230531][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 33.230716][ C0] __do_softirq+0x1f8/0x5df [ 33.230904][ C0] irq_exit_rcu+0x97/0xc0 [ 33.231091][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 33.231319][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 33.231544][ C0] default_idle+0xf/0x20 [ 33.231732][ C0] default_idle_call+0x6d/0xb0 [ 33.231917][ C0] cpuidle_idle_call+0x1f4/0x280 [ 33.232106][ C0] do_idle+0xf9/0x160 [ 33.232257][ C0] cpu_startup_entry+0x54/0x60 [ 33.232451][ C0] rest_init+0x14f/0x260 [ 33.232637][ C0] start_kernel+0x318/0x3d0 [ 33.232824][ C0] x86_64_start_reservations+0x18/0x30 [ 33.233014][ C0] x86_64_start_kernel+0xba/0x110 [ 33.233199][ C0] common_startup_64+0x12c/0x138 [ 33.233385][ C0] INITIAL USE at: [ 33.233496][ C0] __lock_acquire+0x797/0x1570 [ 33.233689][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.233875][ C0] _raw_write_lock_bh+0x38/0x50 [ 33.234063][ C0] addrconf_permanent_addr+0x6e/0x670 [ 33.234253][ C0] addrconf_notify+0x749/0xd60 [ 33.234438][ C0] notifier_call_chain+0xcd/0x150 [ 33.234625][ C0] __dev_notify_flags+0xe6/0x250 [ 33.234816][ C0] dev_change_flags+0xec/0x160 [ 33.235005][ C0] do_setlink+0x7d6/0x21e0 [ 33.235191][ C0] __rtnl_newlink+0xaa7/0xd80 [ 33.235378][ C0] rtnl_newlink+0x63/0xa0 [ 33.235573][ C0] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 33.235757][ C0] netlink_rcv_skb+0x130/0x360 [ 33.235946][ C0] netlink_unicast+0x449/0x710 [ 33.236134][ C0] netlink_sendmsg+0x723/0xbe0 [ 33.236321][ C0] ____sys_sendmsg+0x7b2/0xa10 [ 33.236508][ C0] ___sys_sendmsg+0xee/0x170 [ 33.236695][ C0] __sys_sendmsg+0xcd/0x170 [ 33.236884][ C0] do_syscall_64+0xc6/0x1e0 [ 33.237078][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 33.237315][ C0] INITIAL READ USE at: [ 33.237428][ C0] __lock_acquire+0x797/0x1570 [ 33.237616][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.237804][ C0] _raw_read_lock_bh+0x44/0x80 [ 33.237991][ C0] inet6_fill_ifla6_attrs+0x516/0x740 [ 33.238310][ C0] inet6_fill_link_af+0x5e/0xe0 [ 33.238501][ C0] rtnl_fill_ifinfo+0x1615/0x2a90 [ 33.238686][ C0] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 33.239001][ C0] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 33.239223][ C0] rtmsg_ifinfo+0x5b/0xa0 [ 33.239409][ C0] register_netdevice+0x1177/0x1690 [ 33.239725][ C0] register_netdev+0x20/0x40 [ 33.239916][ C0] vti6_init_net+0x25d/0x380 [ 33.240103][ C0] ops_init+0x9b/0x560 [ 33.240286][ C0] register_pernet_operations+0x2db/0x710 [ 33.240602][ C0] register_pernet_device+0x2a/0x60 [ 33.240824][ C0] vti6_tunnel_init+0x18/0x110 [ 33.241011][ C0] do_one_initcall+0x8d/0x1e0 [ 33.241298][ C0] do_initcalls+0x1b2/0x3e0 [ 33.241483][ C0] kernel_init_freeable+0x232/0x310 [ 33.241704][ C0] kernel_init+0x20/0x200 [ 33.241987][ C0] ret_from_fork+0x31/0x70 [ 33.242174][ C0] ret_from_fork_asm+0x1a/0x30 [ 33.242360][ C0] } [ 33.242440][ C0] ... key at: [] __key.37+0x0/0x40 [ 33.242757][ C0] ... acquired at: [ 33.242866][ C0] mark_lock+0x28d/0x3e0 [ 33.243016][ C0] mark_usage+0xd9/0x2a0 [ 33.243164][ C0] __lock_acquire+0x797/0x1570 [ 33.243407][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.243555][ C0] _raw_write_lock+0x30/0x40 [ 33.243703][ C0] addrconf_rs_timer+0xa9/0x730 [ 33.243850][ C0] call_timer_fn+0x13b/0x230 [ 33.244093][ C0] __run_timers+0x545/0x810 [ 33.244241][ C0] timer_expire_remote+0x9b/0xe0 [ 33.244389][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 33.244538][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 33.244777][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 33.244925][ C0] __do_softirq+0x1f8/0x5df [ 33.245075][ C0] irq_exit_rcu+0x97/0xc0 [ 33.245223][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 33.245503][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 33.245687][ C0] default_idle+0xf/0x20 [ 33.245833][ C0] default_idle_call+0x6d/0xb0 [ 33.245981][ C0] cpuidle_idle_call+0x1f4/0x280 [ 33.246225][ C0] do_idle+0xf9/0x160 [ 33.246337][ C0] cpu_startup_entry+0x54/0x60 [ 33.246485][ C0] rest_init+0x14f/0x260 [ 33.246636][ C0] start_kernel+0x318/0x3d0 [ 33.246790][ C0] x86_64_start_reservations+0x18/0x30 [ 33.247124][ C0] x86_64_start_kernel+0xba/0x110 [ 33.247282][ C0] common_startup_64+0x12c/0x138 [ 33.247430][ C0] [ 33.247504][ C0] [ 33.247504][ C0] stack backtrace: [ 33.247780][ C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.9.0-rc1-virtme #1 [ 33.248004][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 33.248345][ C0] Call Trace: [ 33.248461][ C0] [ 33.248537][ C0] dump_stack_lvl+0x82/0xd0 [ 33.248691][ C0] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 33.248876][ C0] ? kernel_text_address+0x17/0xe0 [ 33.249029][ C0] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 33.249306][ C0] ? __pfx_usage_skip+0x10/0x10 [ 33.249456][ C0] ? __pfx_usage_match+0x10/0x10 [ 33.249604][ C0] ? arch_stack_walk+0x8c/0xf0 [ 33.249754][ C0] mark_lock_irq+0x4cd/0xa10 [ 33.249995][ C0] ? common_startup_64+0x12c/0x138 [ 33.250145][ C0] ? __pfx_mark_lock_irq+0x10/0x10 [ 33.250294][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 33.250444][ C0] ? save_trace+0x8f/0x5b0 [ 33.250685][ C0] mark_lock+0x28d/0x3e0 [ 33.250798][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 33.250948][ C0] mark_usage+0xd9/0x2a0 [ 33.251060][ C0] __lock_acquire+0x797/0x1570 [ 33.251209][ C0] ? __pfx_validate_chain+0x10/0x10 [ 33.251448][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 33.251595][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.251743][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 33.251891][ C0] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 33.252134][ C0] ? trace_lock_acquire+0x135/0x1c0 [ 33.252286][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 33.252433][ C0] ? lock_acquire+0x32/0xc0 [ 33.252579][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 33.252819][ C0] _raw_write_lock+0x30/0x40 [ 33.252967][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 33.253114][ C0] addrconf_rs_timer+0xa9/0x730 [ 33.253260][ C0] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 33.253499][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 33.253652][ C0] ? call_timer_fn+0xe8/0x230 [ 33.253799][ C0] ? lock_acquire+0x32/0xc0 [ 33.253946][ C0] ? call_timer_fn+0xe8/0x230 [ 33.254095][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 33.254334][ C0] call_timer_fn+0x13b/0x230 [ 33.254480][ C0] ? call_timer_fn+0xe8/0x230 [ 33.254625][ C0] ? call_timer_fn+0xe8/0x230 [ 33.254772][ C0] ? __pfx_call_timer_fn+0x10/0x10 [ 33.255011][ C0] ? mark_lock+0x38/0x3e0 [ 33.255129][ C0] __run_timers+0x545/0x810 [ 33.255276][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 33.255424][ C0] ? __pfx___run_timers+0x10/0x10 [ 33.255667][ C0] ? __lock_release+0x103/0x460 [ 33.255817][ C0] ? do_raw_spin_lock+0x131/0x270 [ 33.255968][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 33.256117][ C0] ? lock_acquire+0x32/0xc0 [ 33.256266][ C0] ? timer_expire_remote+0x93/0xe0 [ 33.256512][ C0] timer_expire_remote+0x9b/0xe0 [ 33.256662][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 33.256810][ C0] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 33.256999][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 33.257246][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 33.257396][ C0] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 33.257546][ C0] __do_softirq+0x1f8/0x5df [ 33.257696][ C0] irq_exit_rcu+0x97/0xc0 [ 33.257905][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 33.258055][ C0] [ 33.258131][ C0] [ 33.258206][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 33.258390][ C0] RIP: 0010:default_idle+0xf/0x20 [ 33.258733][ 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 fb 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 [ 33.259263][ C0] RSP: 0018:ffffffff89607e00 EFLAGS: 00000242 [ 33.259550][ C0] RAX: 0000000000097a0b RBX: 1ffffffff12c0fc2 RCX: ffffffff88731ea5 [ 33.259773][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff85eac1d4 [ 33.259996][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0709c [ 33.260310][ C0] R10: ffff8880360384e3 R11: ffff88803602d9b0 R12: 0000000000000000 [ 33.260536][ C0] R13: ffffffff89631000 R14: dffffc0000000000 R15: 0000000000014770 [ 33.260759][ C0] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 33.261001][ C0] ? cpuidle_idle_call+0x1f4/0x280 [ 33.261150][ C0] default_idle_call+0x6d/0xb0 [ 33.261296][ C0] cpuidle_idle_call+0x1f4/0x280 [ 33.261444][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 33.261683][ C0] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 33.261838][ C0] do_idle+0xf9/0x160 [ 33.261950][ C0] cpu_startup_entry+0x54/0x60 [ 33.262098][ C0] rest_init+0x14f/0x260 [ 33.262210][ C0] start_kernel+0x318/0x3d0 [ 33.262448][ C0] x86_64_start_reservations+0x18/0x30 [ 33.262594][ C0] x86_64_start_kernel+0xba/0x110 [ 33.262742][ C0] common_startup_64+0x12c/0x138 [ 33.262892][ C0]