[ 27.790127][ T264] eth0: renamed from r1h0 [ 28.686057][ T271] eth1: renamed from r1h1 [ 29.599836][ T278] eth2: renamed from r1h2 [ 30.511883][ T285] eth3: renamed from r1h3 [ 33.516055][ C1] [ 33.516275][ C1] ======================================================== [ 33.516500][ C1] WARNING: possible irq lock inversion dependency detected [ 33.516714][ C1] 6.9.0-rc1-virtme #1 Not tainted [ 33.516856][ C1] -------------------------------------------------------- [ 33.517068][ C1] swapper/1/0 just changed the state of lock: [ 33.517245][ C1] ffff888008733d80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 33.517504][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 33.517716][ C1] (&p->alloc_lock){+.+.}-{2:2} [ 33.517720][ C1] [ 33.517720][ C1] [ 33.517720][ C1] and interrupts could create inverse lock ordering between them. [ 33.517720][ C1] [ 33.518245][ C1] [ 33.518245][ C1] other info that might help us debug this: [ 33.518454][ C1] Possible interrupt unsafe locking scenario: [ 33.518454][ C1] [ 33.518671][ C1] CPU0 CPU1 [ 33.518815][ C1] ---- ---- [ 33.518960][ C1] lock(&p->alloc_lock); [ 33.519070][ C1] local_irq_disable(); [ 33.519277][ C1] lock(&ndev->lock); [ 33.519462][ C1] lock(&p->alloc_lock); [ 33.519640][ C1] [ 33.519750][ C1] lock(&ndev->lock); [ 33.519861][ C1] [ 33.519861][ C1] *** DEADLOCK *** [ 33.519861][ C1] [ 33.520070][ C1] 1 lock held by swapper/1/0: [ 33.520213][ C1] #0: ffffc900001d8d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 33.520476][ C1] [ 33.520476][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 33.520723][ C1] -> (&p->alloc_lock){+.+.}-{2:2} { [ 33.520871][ C1] HARDIRQ-ON-W at: [ 33.520982][ C1] __lock_acquire+0x797/0x1570 [ 33.521165][ C1] lock_acquire.part.0+0xeb/0x330 [ 33.521349][ C1] _raw_spin_lock+0x30/0x40 [ 33.521534][ C1] set_mems_allowed+0x1d/0x210 [ 33.521717][ C1] kernel_init_freeable+0x72/0x310 [ 33.521901][ C1] kernel_init+0x20/0x200 [ 33.522083][ C1] ret_from_fork+0x31/0x70 [ 33.522265][ C1] ret_from_fork_asm+0x1a/0x30 [ 33.522445][ C1] SOFTIRQ-ON-W at: [ 33.522560][ C1] __lock_acquire+0x797/0x1570 [ 33.522739][ C1] lock_acquire.part.0+0xeb/0x330 [ 33.522921][ C1] _raw_spin_lock+0x30/0x40 [ 33.523101][ C1] set_mems_allowed+0x1d/0x210 [ 33.523281][ C1] kernel_init_freeable+0x72/0x310 [ 33.523460][ C1] kernel_init+0x20/0x200 [ 33.523642][ C1] ret_from_fork+0x31/0x70 [ 33.523824][ C1] ret_from_fork_asm+0x1a/0x30 [ 33.524003][ C1] INITIAL USE at: [ 33.524112][ C1] __lock_acquire+0x797/0x1570 [ 33.524292][ C1] lock_acquire.part.0+0xeb/0x330 [ 33.524475][ C1] _raw_spin_lock+0x30/0x40 [ 33.524654][ C1] set_mems_allowed+0x1d/0x210 [ 33.524835][ C1] kernel_init_freeable+0x72/0x310 [ 33.525015][ C1] kernel_init+0x20/0x200 [ 33.525194][ C1] ret_from_fork+0x31/0x70 [ 33.525375][ C1] ret_from_fork_asm+0x1a/0x30 [ 33.525553][ C1] } [ 33.525628][ C1] ... key at: [] __key.388+0x0/0x40 [ 33.525851][ C1] ... acquired at: [ 33.525958][ C1] __lock_acquire+0xaf0/0x1570 [ 33.526104][ C1] lock_acquire.part.0+0xeb/0x330 [ 33.526248][ C1] _raw_spin_lock+0x30/0x40 [ 33.526390][ C1] __get_task_comm+0x27/0x70 [ 33.526536][ C1] ref_tracker_alloc+0x2ee/0x490 [ 33.526677][ C1] netdev_get_by_index+0x5e/0x80 [ 33.526818][ C1] fib6_nh_init+0x3d8/0x1580 [ 33.526966][ C1] ip6_route_info_create+0xf18/0x17d0 [ 33.527108][ C1] addrconf_f6i_alloc+0x265/0x560 [ 33.527250][ C1] __ipv6_dev_ac_inc+0x25f/0xb10 [ 33.527392][ C1] addrconf_join_anycast+0x1c0/0x220 [ 33.527536][ C1] __ipv6_ifa_notify+0x6b3/0xaf0 [ 33.527676][ C1] addrconf_dad_completed+0x12b/0xe20 [ 33.527816][ C1] addrconf_dad_work+0x38c/0xab0 [ 33.527959][ C1] process_one_work+0xe2c/0x1730 [ 33.528105][ C1] worker_thread+0x587/0xd30 [ 33.528248][ C1] kthread+0x28a/0x350 [ 33.528357][ C1] ret_from_fork+0x31/0x70 [ 33.528500][ C1] ret_from_fork_asm+0x1a/0x30 [ 33.528642][ C1] [ 33.528716][ C1] -> (&ndev->lock){++-.}-{2:2} { [ 33.528861][ C1] HARDIRQ-ON-W at: [ 33.528969][ C1] __lock_acquire+0x797/0x1570 [ 33.529151][ C1] lock_acquire.part.0+0xeb/0x330 [ 33.529339][ C1] _raw_write_lock_bh+0x38/0x50 [ 33.529519][ C1] addrconf_permanent_addr+0x6e/0x670 [ 33.529699][ C1] addrconf_notify+0x749/0xd60 [ 33.529880][ C1] notifier_call_chain+0xcd/0x150 [ 33.530062][ C1] __dev_notify_flags+0xe6/0x250 [ 33.530247][ C1] dev_change_flags+0xec/0x160 [ 33.530426][ C1] do_setlink+0x7d6/0x21e0 [ 33.530605][ C1] __rtnl_newlink+0xaa7/0xd80 [ 33.530781][ C1] rtnl_newlink+0x63/0xa0 [ 33.530959][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 33.531136][ C1] netlink_rcv_skb+0x130/0x360 [ 33.531314][ C1] netlink_unicast+0x449/0x710 [ 33.531497][ C1] netlink_sendmsg+0x723/0xbe0 [ 33.531674][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 33.531855][ C1] ___sys_sendmsg+0xee/0x170 [ 33.532036][ C1] __sys_sendmsg+0xcd/0x170 [ 33.532216][ C1] do_syscall_64+0xc6/0x1e0 [ 33.532398][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 33.532613][ C1] HARDIRQ-ON-R at: [ 33.532726][ C1] __lock_acquire+0x797/0x1570 [ 33.532906][ C1] lock_acquire.part.0+0xeb/0x330 [ 33.533086][ C1] _raw_read_lock_bh+0x44/0x80 [ 33.533268][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 33.533448][ C1] inet6_fill_link_af+0x5e/0xe0 [ 33.533629][ C1] rtnl_fill_ifinfo+0x1615/0x2a90 [ 33.533808][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 33.533986][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 33.534202][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 33.534380][ C1] register_netdevice+0x1177/0x1690 [ 33.534561][ C1] register_netdev+0x20/0x40 [ 33.534740][ C1] vti6_init_net+0x25d/0x380 [ 33.534925][ C1] ops_init+0x9b/0x560 [ 33.535069][ C1] register_pernet_operations+0x2db/0x710 [ 33.535285][ C1] register_pernet_device+0x2a/0x60 [ 33.535467][ C1] vti6_tunnel_init+0x18/0x110 [ 33.535655][ C1] do_one_initcall+0x8d/0x1e0 [ 33.535833][ C1] do_initcalls+0x1b2/0x3e0 [ 33.536012][ C1] kernel_init_freeable+0x232/0x310 [ 33.536194][ C1] kernel_init+0x20/0x200 [ 33.536373][ C1] ret_from_fork+0x31/0x70 [ 33.536557][ C1] ret_from_fork_asm+0x1a/0x30 [ 33.536734][ C1] IN-SOFTIRQ-W at: [ 33.536840][ C1] __lock_acquire+0x797/0x1570 [ 33.537017][ C1] lock_acquire.part.0+0xeb/0x330 [ 33.537207][ C1] _raw_write_lock+0x30/0x40 [ 33.537465][ C1] addrconf_rs_timer+0xa9/0x730 [ 33.537640][ C1] call_timer_fn+0x13b/0x230 [ 33.537817][ C1] __run_timers+0x545/0x810 [ 33.538070][ C1] run_timer_softirq+0xe8/0x1b0 [ 33.538248][ C1] __do_softirq+0x1f8/0x5df [ 33.538428][ C1] irq_exit_rcu+0x97/0xc0 [ 33.538611][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 33.538900][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 33.539114][ C1] default_idle+0xf/0x20 [ 33.539299][ C1] default_idle_call+0x6d/0xb0 [ 33.539555][ C1] cpuidle_idle_call+0x1f4/0x280 [ 33.539735][ C1] do_idle+0xf9/0x160 [ 33.539883][ C1] cpu_startup_entry+0x54/0x60 [ 33.540134][ C1] start_secondary+0x21c/0x2b0 [ 33.540312][ C1] common_startup_64+0x12c/0x138 [ 33.540491][ C1] INITIAL USE at: [ 33.540596][ C1] __lock_acquire+0x797/0x1570 [ 33.540847][ C1] lock_acquire.part.0+0xeb/0x330 [ 33.541021][ C1] _raw_write_lock_bh+0x38/0x50 [ 33.541202][ C1] addrconf_permanent_addr+0x6e/0x670 [ 33.541379][ C1] addrconf_notify+0x749/0xd60 [ 33.541708][ C1] notifier_call_chain+0xcd/0x150 [ 33.541886][ C1] __dev_notify_flags+0xe6/0x250 [ 33.542064][ C1] dev_change_flags+0xec/0x160 [ 33.542314][ C1] do_setlink+0x7d6/0x21e0 [ 33.542492][ C1] __rtnl_newlink+0xaa7/0xd80 [ 33.542672][ C1] rtnl_newlink+0x63/0xa0 [ 33.542922][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 33.543102][ C1] netlink_rcv_skb+0x130/0x360 [ 33.543280][ C1] netlink_unicast+0x449/0x710 [ 33.543460][ C1] netlink_sendmsg+0x723/0xbe0 [ 33.543714][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 33.543894][ C1] ___sys_sendmsg+0xee/0x170 [ 33.544072][ C1] __sys_sendmsg+0xcd/0x170 [ 33.544325][ C1] do_syscall_64+0xc6/0x1e0 [ 33.544503][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 33.544722][ C1] INITIAL READ USE at: [ 33.544828][ C1] __lock_acquire+0x797/0x1570 [ 33.545082][ C1] lock_acquire.part.0+0xeb/0x330 [ 33.545264][ C1] _raw_read_lock_bh+0x44/0x80 [ 33.545441][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 33.545731][ C1] inet6_fill_link_af+0x5e/0xe0 [ 33.545909][ C1] rtnl_fill_ifinfo+0x1615/0x2a90 [ 33.546085][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 33.546379][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 33.546596][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 33.546772][ C1] register_netdevice+0x1177/0x1690 [ 33.547060][ C1] register_netdev+0x20/0x40 [ 33.547238][ C1] vti6_init_net+0x25d/0x380 [ 33.547413][ C1] ops_init+0x9b/0x560 [ 33.547596][ C1] register_pernet_operations+0x2db/0x710 [ 33.547883][ C1] register_pernet_device+0x2a/0x60 [ 33.548095][ C1] vti6_tunnel_init+0x18/0x110 [ 33.548273][ C1] do_one_initcall+0x8d/0x1e0 [ 33.548527][ C1] do_initcalls+0x1b2/0x3e0 [ 33.548708][ C1] kernel_init_freeable+0x232/0x310 [ 33.548923][ C1] kernel_init+0x20/0x200 [ 33.549176][ C1] ret_from_fork+0x31/0x70 [ 33.549361][ C1] ret_from_fork_asm+0x1a/0x30 [ 33.549540][ C1] } [ 33.549612][ C1] ... key at: [] __key.37+0x0/0x40 [ 33.549895][ C1] ... acquired at: [ 33.549999][ C1] mark_lock+0x28d/0x3e0 [ 33.550146][ C1] mark_usage+0xd9/0x2a0 [ 33.550288][ C1] __lock_acquire+0x797/0x1570 [ 33.550503][ C1] lock_acquire.part.0+0xeb/0x330 [ 33.550648][ C1] _raw_write_lock+0x30/0x40 [ 33.550791][ C1] addrconf_rs_timer+0xa9/0x730 [ 33.550932][ C1] call_timer_fn+0x13b/0x230 [ 33.551149][ C1] __run_timers+0x545/0x810 [ 33.551290][ C1] run_timer_softirq+0xe8/0x1b0 [ 33.551431][ C1] __do_softirq+0x1f8/0x5df [ 33.551579][ C1] irq_exit_rcu+0x97/0xc0 [ 33.551791][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 33.551968][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 33.552144][ C1] default_idle+0xf/0x20 [ 33.552288][ C1] default_idle_call+0x6d/0xb0 [ 33.552573][ C1] cpuidle_idle_call+0x1f4/0x280 [ 33.552717][ C1] do_idle+0xf9/0x160 [ 33.552824][ C1] cpu_startup_entry+0x54/0x60 [ 33.552968][ C1] start_secondary+0x21c/0x2b0 [ 33.553113][ C1] common_startup_64+0x12c/0x138 [ 33.553328][ C1] [ 33.553398][ C1] [ 33.553398][ C1] stack backtrace: [ 33.553571][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.9.0-rc1-virtme #1 [ 33.553785][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 33.554176][ C1] Call Trace: [ 33.554296][ C1] [ 33.554371][ C1] dump_stack_lvl+0x82/0xd0 [ 33.554589][ C1] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 33.554767][ C1] ? kernel_text_address+0x17/0xe0 [ 33.554910][ C1] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 33.555085][ C1] ? __pfx_usage_skip+0x10/0x10 [ 33.555301][ C1] ? __pfx_usage_match+0x10/0x10 [ 33.555442][ C1] ? arch_stack_walk+0x8c/0xf0 [ 33.555589][ C1] mark_lock_irq+0x4cd/0xa10 [ 33.555734][ C1] ? common_startup_64+0x12c/0x138 [ 33.555953][ C1] ? __pfx_mark_lock_irq+0x10/0x10 [ 33.556095][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 33.556240][ C1] ? save_trace+0x8f/0x5b0 [ 33.556382][ C1] mark_lock+0x28d/0x3e0 [ 33.556489][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 33.556633][ C1] mark_usage+0xd9/0x2a0 [ 33.556744][ C1] __lock_acquire+0x797/0x1570 [ 33.556887][ C1] ? __pfx_validate_chain+0x10/0x10 [ 33.557027][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 33.557238][ C1] lock_acquire.part.0+0xeb/0x330 [ 33.557379][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 33.557518][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 33.557661][ C1] ? trace_lock_acquire+0x135/0x1c0 [ 33.557802][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 33.558017][ C1] ? lock_acquire+0x32/0xc0 [ 33.558157][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 33.558298][ C1] _raw_write_lock+0x30/0x40 [ 33.558440][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 33.558657][ C1] addrconf_rs_timer+0xa9/0x730 [ 33.558798][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 33.558940][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 33.559080][ C1] ? call_timer_fn+0xe8/0x230 [ 33.559300][ C1] ? lock_acquire+0x32/0xc0 [ 33.559446][ C1] ? call_timer_fn+0xe8/0x230 [ 33.559589][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 33.559729][ C1] call_timer_fn+0x13b/0x230 [ 33.559943][ C1] ? call_timer_fn+0xe8/0x230 [ 33.560084][ C1] ? call_timer_fn+0xe8/0x230 [ 33.560226][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 33.560367][ C1] ? mark_lock+0x38/0x3e0 [ 33.560478][ C1] __run_timers+0x545/0x810 [ 33.560697][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 33.560842][ C1] ? __pfx___run_timers+0x10/0x10 [ 33.560985][ C1] ? do_raw_spin_lock+0x131/0x270 [ 33.561131][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 33.561345][ C1] ? lock_acquire+0x32/0xc0 [ 33.561487][ C1] ? run_timer_softirq+0xe0/0x1b0 [ 33.561632][ C1] run_timer_softirq+0xe8/0x1b0 [ 33.561774][ C1] __do_softirq+0x1f8/0x5df [ 33.561989][ C1] irq_exit_rcu+0x97/0xc0 [ 33.562098][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 33.562238][ C1] [ 33.562312][ C1] [ 33.562384][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 33.562562][ C1] RIP: 0010:default_idle+0xf/0x20 [ 33.562785][ 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 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.563443][ C1] RSP: 0018:ffffc9000014fdf8 EFLAGS: 00000242 [ 33.563628][ C1] RAX: 00000000000888cb RBX: 1ffff92000029fc1 RCX: ffffffff91331ea5 [ 33.563843][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8eaac1d4 [ 33.564127][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c1709c [ 33.564340][ C1] R10: ffff8880360b84e3 R11: ffff8880360ad9b0 R12: 0000000000000000 [ 33.564555][ C1] R13: ffff888001b8a300 R14: dffffc0000000000 R15: 0000000000000000 [ 33.564845][ C1] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 33.564987][ C1] ? cpuidle_idle_call+0x1f4/0x280 [ 33.565128][ C1] default_idle_call+0x6d/0xb0 [ 33.565267][ C1] cpuidle_idle_call+0x1f4/0x280 [ 33.565480][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 33.565623][ C1] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 33.565773][ C1] do_idle+0xf9/0x160 [ 33.565880][ C1] cpu_startup_entry+0x54/0x60 [ 33.566021][ C1] start_secondary+0x21c/0x2b0 [ 33.566237][ C1] ? __pfx_start_secondary+0x10/0x10 [ 33.566380][ C1] common_startup_64+0x12c/0x138 [ 33.566525][ C1]