[ 63.541439][ T496] eth0: renamed from r1h0 [ 64.446799][ T503] eth1: renamed from r1h1 [ 65.354699][ T510] eth2: renamed from r1h2 [ 66.261582][ T517] eth3: renamed from r1h3 [ 69.418000][ C1] [ 69.418196][ C1] ======================================================== [ 69.418513][ C1] WARNING: possible irq lock inversion dependency detected [ 69.418825][ C1] 6.9.0-rc1-virtme #1 Not tainted [ 69.419029][ C1] -------------------------------------------------------- [ 69.419343][ C1] swapper/1/0 just changed the state of lock: [ 69.419596][ C1] ffff88800497d580 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 69.419972][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 69.420277][ C1] (&p->alloc_lock){+.+.}-{2:2} [ 69.420288][ C1] [ 69.420288][ C1] [ 69.420288][ C1] and interrupts could create inverse lock ordering between them. [ 69.420288][ C1] [ 69.421066][ C1] [ 69.421066][ C1] other info that might help us debug this: [ 69.421385][ C1] Possible interrupt unsafe locking scenario: [ 69.421385][ C1] [ 69.421678][ C1] CPU0 CPU1 [ 69.421875][ C1] ---- ---- [ 69.422072][ C1] lock(&p->alloc_lock); [ 69.422228][ C1] local_irq_disable(); [ 69.422469][ C1] lock(&ndev->lock); [ 69.422722][ C1] lock(&p->alloc_lock); [ 69.422970][ C1] [ 69.423120][ C1] lock(&ndev->lock); [ 69.423275][ C1] [ 69.423275][ C1] *** DEADLOCK *** [ 69.423275][ C1] [ 69.423562][ C1] 1 lock held by swapper/1/0: [ 69.423764][ C1] #0: ffffc900001d8d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 69.424116][ C1] [ 69.424116][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 69.424461][ C1] -> (&p->alloc_lock){+.+.}-{2:2} { [ 69.424668][ C1] HARDIRQ-ON-W at: [ 69.424819][ C1] __lock_acquire+0x797/0x1570 [ 69.425075][ C1] lock_acquire.part.0+0xeb/0x330 [ 69.425331][ C1] _raw_spin_lock+0x30/0x40 [ 69.425589][ C1] set_mems_allowed+0x1d/0x210 [ 69.425846][ C1] kernel_init_freeable+0x72/0x310 [ 69.426099][ C1] kernel_init+0x20/0x200 [ 69.426356][ C1] ret_from_fork+0x31/0x70 [ 69.426611][ C1] ret_from_fork_asm+0x1a/0x30 [ 69.426861][ C1] SOFTIRQ-ON-W at: [ 69.427014][ C1] __lock_acquire+0x797/0x1570 [ 69.427274][ C1] lock_acquire.part.0+0xeb/0x330 [ 69.427526][ C1] _raw_spin_lock+0x30/0x40 [ 69.427777][ C1] set_mems_allowed+0x1d/0x210 [ 69.428030][ C1] kernel_init_freeable+0x72/0x310 [ 69.428292][ C1] kernel_init+0x20/0x200 [ 69.428567][ C1] ret_from_fork+0x31/0x70 [ 69.428841][ C1] ret_from_fork_asm+0x1a/0x30 [ 69.429106][ C1] INITIAL USE at: [ 69.429262][ C1] __lock_acquire+0x797/0x1570 [ 69.429523][ C1] lock_acquire.part.0+0xeb/0x330 [ 69.429791][ C1] _raw_spin_lock+0x30/0x40 [ 69.430053][ C1] set_mems_allowed+0x1d/0x210 [ 69.430318][ C1] kernel_init_freeable+0x72/0x310 [ 69.430583][ C1] kernel_init+0x20/0x200 [ 69.430849][ C1] ret_from_fork+0x31/0x70 [ 69.431121][ C1] ret_from_fork_asm+0x1a/0x30 [ 69.431388][ C1] } [ 69.431494][ C1] ... key at: [] __key.388+0x0/0x40 [ 69.431811][ C1] ... acquired at: [ 69.431972][ C1] __lock_acquire+0xaf0/0x1570 [ 69.432181][ C1] lock_acquire.part.0+0xeb/0x330 [ 69.432389][ C1] _raw_spin_lock+0x30/0x40 [ 69.432598][ C1] __get_task_comm+0x27/0x70 [ 69.432813][ C1] ref_tracker_alloc+0x2ee/0x490 [ 69.433024][ C1] netdev_get_by_index+0x5e/0x80 [ 69.433235][ C1] fib6_nh_init+0x3d8/0x1580 [ 69.433456][ C1] ip6_route_info_create+0xf18/0x17d0 [ 69.433663][ C1] addrconf_f6i_alloc+0x265/0x560 [ 69.433871][ C1] __ipv6_dev_ac_inc+0x25f/0xb10 [ 69.434078][ C1] addrconf_join_anycast+0x1c0/0x220 [ 69.434286][ C1] __ipv6_ifa_notify+0x6b3/0xaf0 [ 69.434498][ C1] addrconf_dad_completed+0x12b/0xe20 [ 69.434711][ C1] addrconf_dad_work+0x38c/0xab0 [ 69.434915][ C1] process_one_work+0xe2c/0x1730 [ 69.435126][ C1] worker_thread+0x587/0xd30 [ 69.435344][ C1] kthread+0x28a/0x350 [ 69.435501][ C1] ret_from_fork+0x31/0x70 [ 69.435714][ C1] ret_from_fork_asm+0x1a/0x30 [ 69.435916][ C1] [ 69.436026][ C1] -> (&ndev->lock){++-.}-{2:2} { [ 69.436241][ C1] HARDIRQ-ON-W at: [ 69.436397][ C1] __lock_acquire+0x797/0x1570 [ 69.436663][ C1] lock_acquire.part.0+0xeb/0x330 [ 69.436930][ C1] _raw_write_lock_bh+0x38/0x50 [ 69.437194][ C1] addrconf_permanent_addr+0x6e/0x670 [ 69.437454][ C1] addrconf_notify+0x749/0xd60 [ 69.437718][ C1] notifier_call_chain+0xcd/0x150 [ 69.437981][ C1] __dev_notify_flags+0xe6/0x250 [ 69.438244][ C1] dev_change_flags+0xec/0x160 [ 69.438507][ C1] do_setlink+0x7d6/0x21e0 [ 69.438769][ C1] __rtnl_newlink+0xaa7/0xd80 [ 69.439036][ C1] rtnl_newlink+0x63/0xa0 [ 69.439292][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 69.439551][ C1] netlink_rcv_skb+0x130/0x360 [ 69.439821][ C1] netlink_unicast+0x449/0x710 [ 69.440087][ C1] netlink_sendmsg+0x723/0xbe0 [ 69.440349][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 69.440612][ C1] ___sys_sendmsg+0xee/0x170 [ 69.440877][ C1] __sys_sendmsg+0xcd/0x170 [ 69.441138][ C1] do_syscall_64+0xc6/0x1e0 [ 69.441402][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 69.441718][ C1] HARDIRQ-ON-R at: [ 69.441870][ C1] __lock_acquire+0x797/0x1570 [ 69.442121][ C1] lock_acquire.part.0+0xeb/0x330 [ 69.442371][ C1] _raw_read_lock_bh+0x44/0x80 [ 69.442616][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 69.442865][ C1] inet6_fill_link_af+0x5e/0xe0 [ 69.443102][ C1] rtnl_fill_ifinfo+0x1615/0x2a90 [ 69.443373][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 69.443649][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 69.443961][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 69.444225][ C1] register_netdevice+0x1177/0x1690 [ 69.444470][ C1] register_netdev+0x20/0x40 [ 69.444712][ C1] vti6_init_net+0x25d/0x380 [ 69.444977][ C1] ops_init+0x9b/0x560 [ 69.445186][ C1] register_pernet_operations+0x2db/0x710 [ 69.445486][ C1] register_pernet_device+0x2a/0x60 [ 69.445737][ C1] vti6_tunnel_init+0x18/0x110 [ 69.445994][ C1] do_one_initcall+0x8d/0x1e0 [ 69.446261][ C1] do_initcalls+0x1b2/0x3e0 [ 69.446540][ C1] kernel_init_freeable+0x232/0x310 [ 69.446810][ C1] kernel_init+0x20/0x200 [ 69.447062][ C1] ret_from_fork+0x31/0x70 [ 69.447320][ C1] ret_from_fork_asm+0x1a/0x30 [ 69.447569][ C1] IN-SOFTIRQ-W at: [ 69.447723][ C1] __lock_acquire+0x797/0x1570 [ 69.447974][ C1] lock_acquire.part.0+0xeb/0x330 [ 69.448233][ C1] _raw_write_lock+0x30/0x40 [ 69.448498][ C1] addrconf_rs_timer+0xa9/0x730 [ 69.448751][ C1] call_timer_fn+0x13b/0x230 [ 69.449001][ C1] __run_timers+0x545/0x810 [ 69.449257][ C1] run_timer_softirq+0xe8/0x1b0 [ 69.449511][ C1] __do_softirq+0x1f8/0x5df [ 69.449760][ C1] irq_exit_rcu+0x97/0xc0 [ 69.450011][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 69.450325][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 69.450641][ C1] default_idle+0xf/0x20 [ 69.450859][ C1] default_idle_call+0x6d/0xb0 [ 69.451037][ C1] cpuidle_idle_call+0x1f4/0x280 [ 69.451221][ C1] do_idle+0xf9/0x160 [ 69.451380][ C1] cpu_startup_entry+0x54/0x60 [ 69.451561][ C1] start_secondary+0x21c/0x2b0 [ 69.451730][ C1] common_startup_64+0x12c/0x138 [ 69.451906][ C1] INITIAL USE at: [ 69.452007][ C1] __lock_acquire+0x797/0x1570 [ 69.452193][ C1] lock_acquire.part.0+0xeb/0x330 [ 69.452381][ C1] _raw_write_lock_bh+0x38/0x50 [ 69.452548][ C1] addrconf_permanent_addr+0x6e/0x670 [ 69.452731][ C1] addrconf_notify+0x749/0xd60 [ 69.452900][ C1] notifier_call_chain+0xcd/0x150 [ 69.453078][ C1] __dev_notify_flags+0xe6/0x250 [ 69.453332][ C1] dev_change_flags+0xec/0x160 [ 69.453581][ C1] do_setlink+0x7d6/0x21e0 [ 69.453766][ C1] __rtnl_newlink+0xaa7/0xd80 [ 69.453935][ C1] rtnl_newlink+0x63/0xa0 [ 69.454120][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 69.454315][ C1] netlink_rcv_skb+0x130/0x360 [ 69.454490][ C1] netlink_unicast+0x449/0x710 [ 69.454664][ C1] netlink_sendmsg+0x723/0xbe0 [ 69.454829][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 69.455006][ C1] ___sys_sendmsg+0xee/0x170 [ 69.455186][ C1] __sys_sendmsg+0xcd/0x170 [ 69.455366][ C1] do_syscall_64+0xc6/0x1e0 [ 69.455540][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 69.455735][ C1] INITIAL READ USE at: [ 69.455846][ C1] __lock_acquire+0x797/0x1570 [ 69.456014][ C1] lock_acquire.part.0+0xeb/0x330 [ 69.456200][ C1] _raw_read_lock_bh+0x44/0x80 [ 69.456381][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 69.456587][ C1] inet6_fill_link_af+0x5e/0xe0 [ 69.456749][ C1] rtnl_fill_ifinfo+0x1615/0x2a90 [ 69.456923][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 69.457126][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 69.457341][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 69.457531][ C1] register_netdevice+0x1177/0x1690 [ 69.457750][ C1] register_netdev+0x20/0x40 [ 69.458007][ C1] vti6_init_net+0x25d/0x380 [ 69.458185][ C1] ops_init+0x9b/0x560 [ 69.458364][ C1] register_pernet_operations+0x2db/0x710 [ 69.458572][ C1] register_pernet_device+0x2a/0x60 [ 69.458781][ C1] vti6_tunnel_init+0x18/0x110 [ 69.458955][ C1] do_one_initcall+0x8d/0x1e0 [ 69.459219][ C1] do_initcalls+0x1b2/0x3e0 [ 69.459394][ C1] kernel_init_freeable+0x232/0x310 [ 69.459594][ C1] kernel_init+0x20/0x200 [ 69.459933][ C1] ret_from_fork+0x31/0x70 [ 69.460108][ C1] ret_from_fork_asm+0x1a/0x30 [ 69.460296][ C1] } [ 69.460362][ C1] ... key at: [] __key.37+0x0/0x40 [ 69.460581][ C1] ... acquired at: [ 69.460676][ C1] mark_lock+0x28d/0x3e0 [ 69.460822][ C1] mark_usage+0xd9/0x2a0 [ 69.460954][ C1] __lock_acquire+0x797/0x1570 [ 69.461093][ C1] lock_acquire.part.0+0xeb/0x330 [ 69.461307][ C1] _raw_write_lock+0x30/0x40 [ 69.461467][ C1] addrconf_rs_timer+0xa9/0x730 [ 69.461611][ C1] call_timer_fn+0x13b/0x230 [ 69.461745][ C1] __run_timers+0x545/0x810 [ 69.461965][ C1] run_timer_softirq+0xe8/0x1b0 [ 69.462094][ C1] __do_softirq+0x1f8/0x5df [ 69.462237][ C1] irq_exit_rcu+0x97/0xc0 [ 69.462383][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 69.462545][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 69.462723][ C1] default_idle+0xf/0x20 [ 69.462859][ C1] default_idle_call+0x6d/0xb0 [ 69.463001][ C1] cpuidle_idle_call+0x1f4/0x280 [ 69.463246][ C1] do_idle+0xf9/0x160 [ 69.463344][ C1] cpu_startup_entry+0x54/0x60 [ 69.463473][ C1] start_secondary+0x21c/0x2b0 [ 69.463611][ C1] common_startup_64+0x12c/0x138 [ 69.463814][ C1] [ 69.463879][ C1] [ 69.463879][ C1] stack backtrace: [ 69.464037][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.9.0-rc1-virtme #1 [ 69.464238][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 69.464597][ C1] Call Trace: [ 69.464699][ C1] [ 69.464767][ C1] dump_stack_lvl+0x82/0xd0 [ 69.464902][ C1] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 69.465145][ C1] ? kernel_text_address+0x17/0xe0 [ 69.465277][ C1] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 69.465440][ C1] ? __pfx_usage_skip+0x10/0x10 [ 69.465568][ C1] ? __pfx_usage_match+0x10/0x10 [ 69.465770][ C1] ? arch_stack_walk+0x8c/0xf0 [ 69.465900][ C1] mark_lock_irq+0x4cd/0xa10 [ 69.466029][ C1] ? common_startup_64+0x12c/0x138 [ 69.466168][ C1] ? __pfx_mark_lock_irq+0x10/0x10 [ 69.466371][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 69.466504][ C1] ? save_trace+0x8f/0x5b0 [ 69.466635][ C1] mark_lock+0x28d/0x3e0 [ 69.466732][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 69.466862][ C1] mark_usage+0xd9/0x2a0 [ 69.467058][ C1] __lock_acquire+0x797/0x1570 [ 69.467197][ C1] ? __pfx_validate_chain+0x10/0x10 [ 69.467331][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 69.467460][ C1] lock_acquire.part.0+0xeb/0x330 [ 69.467588][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 69.467718][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 69.467846][ C1] ? trace_lock_acquire+0x135/0x1c0 [ 69.467975][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 69.468183][ C1] ? lock_acquire+0x32/0xc0 [ 69.468314][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 69.468445][ C1] _raw_write_lock+0x30/0x40 [ 69.468577][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 69.468704][ C1] addrconf_rs_timer+0xa9/0x730 [ 69.468905][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 69.469035][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 69.469183][ C1] ? call_timer_fn+0xe8/0x230 [ 69.469311][ C1] ? lock_acquire+0x32/0xc0 [ 69.469524][ C1] ? call_timer_fn+0xe8/0x230 [ 69.469655][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 69.469796][ C1] call_timer_fn+0x13b/0x230 [ 69.469925][ C1] ? call_timer_fn+0xe8/0x230 [ 69.470228][ C1] ? call_timer_fn+0xe8/0x230 [ 69.470369][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 69.470499][ C1] ? mark_lock+0x38/0x3e0 [ 69.470609][ C1] __run_timers+0x545/0x810 [ 69.470738][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 69.470954][ C1] ? __pfx___run_timers+0x10/0x10 [ 69.471086][ C1] ? do_raw_spin_lock+0x131/0x270 [ 69.471231][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 69.471369][ C1] ? lock_acquire+0x32/0xc0 [ 69.471590][ C1] ? run_timer_softirq+0xe0/0x1b0 [ 69.471730][ C1] run_timer_softirq+0xe8/0x1b0 [ 69.471860][ C1] __do_softirq+0x1f8/0x5df [ 69.472004][ C1] irq_exit_rcu+0x97/0xc0 [ 69.472216][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 69.472350][ C1] [ 69.472426][ C1] [ 69.472491][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 69.472651][ C1] RIP: 0010:default_idle+0xf/0x20 [ 69.472878][ C1] 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 [ 69.473412][ C1] RSP: 0018:ffffc9000014fdf8 EFLAGS: 00000242 [ 69.473586][ C1] RAX: 000000000011ec13 RBX: 1ffff92000029fc1 RCX: ffffffff9b932ea5 [ 69.473790][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff990ac1d4 [ 69.473993][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ed709c [ 69.474292][ C1] R10: ffff88802f6b84e3 R11: ffff88802f6ad9b0 R12: 0000000000000000 [ 69.474493][ C1] R13: ffff888001b8a300 R14: dffffc0000000000 R15: 0000000000000000 [ 69.474692][ C1] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 69.474909][ C1] ? cpuidle_idle_call+0x1f4/0x280 [ 69.475057][ C1] default_idle_call+0x6d/0xb0 [ 69.475201][ C1] cpuidle_idle_call+0x1f4/0x280 [ 69.475330][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 69.475544][ C1] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 69.475686][ C1] do_idle+0xf9/0x160 [ 69.475787][ C1] cpu_startup_entry+0x54/0x60 [ 69.475921][ C1] start_secondary+0x21c/0x2b0 [ 69.476061][ C1] ? __pfx_start_secondary+0x10/0x10 [ 69.476280][ C1] common_startup_64+0x12c/0x138 [ 69.476430][ C1]