[ 26.247754][ T257] ip (257) used greatest stack depth: 24704 bytes left [ 26.512424][ T260] eth0: renamed from tmp [ 27.306168][ T266] ip (266) used greatest stack depth: 24144 bytes left [ 28.866563][ T278] Initializing XFRM netlink socket [ 35.625920][ C2] [ 35.626053][ C2] ======================================================== [ 35.626263][ C2] WARNING: possible irq lock inversion dependency detected [ 35.626483][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 35.626634][ C2] -------------------------------------------------------- [ 35.626835][ C2] swapper/2/0 just changed the state of lock: [ 35.627012][ C2] ffff888005b9d580 (&ndev->lock){++.-}-{2:2}, at: ipv6_get_lladdr+0xa9/0x3e0 [ 35.627267][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 35.627468][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 35.627472][ C2] [ 35.627472][ C2] [ 35.627472][ C2] and interrupts could create inverse lock ordering between them. [ 35.627472][ C2] [ 35.627977][ C2] [ 35.627977][ C2] other info that might help us debug this: [ 35.628209][ C2] Possible interrupt unsafe locking scenario: [ 35.628209][ C2] [ 35.628423][ C2] CPU0 CPU1 [ 35.628561][ C2] ---- ---- [ 35.628701][ C2] lock(&p->alloc_lock); [ 35.628809][ C2] local_irq_disable(); [ 35.628993][ C2] lock(&ndev->lock); [ 35.629163][ C2] lock(&p->alloc_lock); [ 35.629339][ C2] [ 35.629443][ C2] lock(&ndev->lock); [ 35.629549][ C2] [ 35.629549][ C2] *** DEADLOCK *** [ 35.629549][ C2] [ 35.629749][ C2] 2 locks held by swapper/2/0: [ 35.629888][ C2] #0: ffffc90000230b68 ((&n->timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 35.630135][ C2] #1: ffffffffafb66360 (rcu_read_lock){....}-{1:2}, at: ipv6_get_lladdr+0x39/0x3e0 [ 35.630376][ C2] [ 35.630376][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 35.630614][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 35.630758][ C2] HARDIRQ-ON-W at: [ 35.630870][ C2] __lock_acquire+0x797/0x1570 [ 35.631052][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.631226][ C2] _raw_spin_lock+0x30/0x40 [ 35.631404][ C2] set_mems_allowed+0x1d/0x210 [ 35.631585][ C2] kernel_init_freeable+0x72/0x310 [ 35.631759][ C2] kernel_init+0x20/0x200 [ 35.631933][ C2] ret_from_fork+0x31/0x70 [ 35.632109][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.632284][ C2] SOFTIRQ-ON-W at: [ 35.632388][ C2] __lock_acquire+0x797/0x1570 [ 35.632583][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.632761][ C2] _raw_spin_lock+0x30/0x40 [ 35.632938][ C2] set_mems_allowed+0x1d/0x210 [ 35.633115][ C2] kernel_init_freeable+0x72/0x310 [ 35.633292][ C2] kernel_init+0x20/0x200 [ 35.633469][ C2] ret_from_fork+0x31/0x70 [ 35.633650][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.633828][ C2] INITIAL USE at: [ 35.633936][ C2] __lock_acquire+0x797/0x1570 [ 35.634113][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.634291][ C2] _raw_spin_lock+0x30/0x40 [ 35.634470][ C2] set_mems_allowed+0x1d/0x210 [ 35.634648][ C2] kernel_init_freeable+0x72/0x310 [ 35.634823][ C2] kernel_init+0x20/0x200 [ 35.635001][ C2] ret_from_fork+0x31/0x70 [ 35.635177][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.635353][ C2] } [ 35.635426][ C2] ... key at: [] __key.388+0x0/0x40 [ 35.635642][ C2] ... acquired at: [ 35.635753][ C2] __lock_acquire+0xaf0/0x1570 [ 35.635899][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.636041][ C2] _raw_spin_lock+0x30/0x40 [ 35.636181][ C2] __get_task_comm+0x27/0x70 [ 35.636322][ C2] ref_tracker_alloc+0x2ee/0x490 [ 35.636465][ C2] netdev_get_by_index+0x5e/0x80 [ 35.636606][ C2] fib6_nh_init+0x3d8/0x1580 [ 35.636753][ C2] ip6_route_info_create+0xf18/0x17d0 [ 35.636897][ C2] addrconf_f6i_alloc+0x265/0x560 [ 35.637039][ C2] __ipv6_dev_ac_inc+0x25f/0xb10 [ 35.637181][ C2] addrconf_join_anycast+0x1c0/0x220 [ 35.637323][ C2] __ipv6_ifa_notify+0x6b3/0xaf0 [ 35.637467][ C2] addrconf_dad_completed+0x12b/0xe20 [ 35.637609][ C2] addrconf_dad_begin+0x310/0x670 [ 35.637749][ C2] addrconf_dad_work+0x10b/0xab0 [ 35.637893][ C2] process_one_work+0xe2c/0x1730 [ 35.638053][ C2] worker_thread+0x587/0xd30 [ 35.638197][ C2] kthread+0x28a/0x350 [ 35.638305][ C2] ret_from_fork+0x31/0x70 [ 35.638446][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.638586][ C2] [ 35.638658][ C2] -> (&ndev->lock){++.-}-{2:2} { [ 35.638802][ C2] HARDIRQ-ON-W at: [ 35.638909][ C2] __lock_acquire+0x797/0x1570 [ 35.639091][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.639282][ C2] _raw_write_lock_bh+0x38/0x50 [ 35.639476][ C2] addrconf_permanent_addr+0x6e/0x670 [ 35.639655][ C2] addrconf_notify+0x749/0xd60 [ 35.639832][ C2] notifier_call_chain+0xcd/0x150 [ 35.640013][ C2] __dev_notify_flags+0xe6/0x250 [ 35.640198][ C2] dev_change_flags+0xec/0x160 [ 35.640374][ C2] do_setlink+0x7d6/0x21e0 [ 35.640554][ C2] __rtnl_newlink+0xaa7/0xd80 [ 35.640732][ C2] rtnl_newlink+0x63/0xa0 [ 35.640908][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.641083][ C2] netlink_rcv_skb+0x130/0x360 [ 35.641264][ C2] netlink_unicast+0x449/0x710 [ 35.641446][ C2] netlink_sendmsg+0x723/0xbe0 [ 35.641624][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 35.641806][ C2] ___sys_sendmsg+0xee/0x170 [ 35.641982][ C2] __sys_sendmsg+0xcd/0x170 [ 35.642157][ C2] do_syscall_64+0xc6/0x1e0 [ 35.642337][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.642640][ C2] HARDIRQ-ON-R at: [ 35.642750][ C2] __lock_acquire+0x797/0x1570 [ 35.642927][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.643107][ C2] _raw_read_lock_bh+0x44/0x80 [ 35.643285][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.643462][ C2] inet6_fill_link_af+0x5e/0xe0 [ 35.643639][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 35.643908][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.644084][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.644296][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 35.644564][ C2] register_netdevice+0x1177/0x1690 [ 35.644741][ C2] register_netdev+0x20/0x40 [ 35.644918][ C2] vti6_init_net+0x25d/0x380 [ 35.645112][ C2] ops_init+0x9b/0x560 [ 35.645251][ C2] register_pernet_operations+0x2db/0x710 [ 35.645456][ C2] register_pernet_device+0x2a/0x60 [ 35.645627][ C2] vti6_tunnel_init+0x18/0x110 [ 35.645968][ C2] do_one_initcall+0x8d/0x1e0 [ 35.646141][ C2] do_initcalls+0x1b2/0x3e0 [ 35.646317][ C2] kernel_init_freeable+0x232/0x310 [ 35.646590][ C2] kernel_init+0x20/0x200 [ 35.646764][ C2] ret_from_fork+0x31/0x70 [ 35.646937][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.647110][ C2] IN-SOFTIRQ-R at: [ 35.647215][ C2] __lock_acquire+0x797/0x1570 [ 35.647387][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.647564][ C2] _raw_read_lock_bh+0x44/0x80 [ 35.647819][ C2] ipv6_get_lladdr+0xa9/0x3e0 [ 35.647996][ C2] ndisc_send_ns+0xe7/0x100 [ 35.648192][ C2] ndisc_solicit+0x39f/0x4d0 [ 35.648369][ C2] neigh_probe+0xaa/0xf0 [ 35.648643][ C2] neigh_timer_handler+0x45b/0xdf0 [ 35.648823][ C2] call_timer_fn+0x13b/0x230 [ 35.649005][ C2] __run_timers+0x545/0x810 [ 35.649183][ C2] timer_expire_remote+0x9b/0xe0 [ 35.649367][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.649545][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.649809][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.649985][ C2] __do_softirq+0x1f8/0x5df [ 35.650164][ C2] irq_exit_rcu+0x97/0xc0 [ 35.650342][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.650655][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.650865][ C2] default_idle+0xf/0x20 [ 35.651040][ C2] default_idle_call+0x6d/0xb0 [ 35.651217][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.651398][ C2] do_idle+0xf9/0x160 [ 35.651539][ C2] cpu_startup_entry+0x54/0x60 [ 35.651801][ C2] start_secondary+0x21c/0x2b0 [ 35.651980][ C2] common_startup_64+0x12c/0x138 [ 35.652184][ C2] INITIAL USE at: [ 35.652290][ C2] __lock_acquire+0x797/0x1570 [ 35.652564][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.652744][ C2] _raw_write_lock_bh+0x38/0x50 [ 35.652922][ C2] addrconf_permanent_addr+0x6e/0x670 [ 35.653100][ C2] addrconf_notify+0x749/0xd60 [ 35.653277][ C2] notifier_call_chain+0xcd/0x150 [ 35.653454][ C2] __dev_notify_flags+0xe6/0x250 [ 35.653631][ C2] dev_change_flags+0xec/0x160 [ 35.653898][ C2] do_setlink+0x7d6/0x21e0 [ 35.654073][ C2] __rtnl_newlink+0xaa7/0xd80 [ 35.654249][ C2] rtnl_newlink+0x63/0xa0 [ 35.654524][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.654702][ C2] netlink_rcv_skb+0x130/0x360 [ 35.654879][ C2] netlink_unicast+0x449/0x710 [ 35.655059][ C2] netlink_sendmsg+0x723/0xbe0 [ 35.655240][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 35.655417][ C2] ___sys_sendmsg+0xee/0x170 [ 35.655595][ C2] __sys_sendmsg+0xcd/0x170 [ 35.655860][ C2] do_syscall_64+0xc6/0x1e0 [ 35.656036][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.656246][ C2] INITIAL READ USE at: [ 35.656352][ C2] __lock_acquire+0x797/0x1570 [ 35.656642][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.656820][ C2] _raw_read_lock_bh+0x44/0x80 [ 35.656996][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.657212][ C2] inet6_fill_link_af+0x5e/0xe0 [ 35.657388][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 35.657563][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.657865][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.658091][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 35.658267][ C2] register_netdevice+0x1177/0x1690 [ 35.658580][ C2] register_netdev+0x20/0x40 [ 35.658758][ C2] vti6_init_net+0x25d/0x380 [ 35.658940][ C2] ops_init+0x9b/0x560 [ 35.659116][ C2] register_pernet_operations+0x2db/0x710 [ 35.659327][ C2] register_pernet_device+0x2a/0x60 [ 35.659538][ C2] vti6_tunnel_init+0x18/0x110 [ 35.659715][ C2] do_one_initcall+0x8d/0x1e0 [ 35.659978][ C2] do_initcalls+0x1b2/0x3e0 [ 35.660170][ C2] kernel_init_freeable+0x232/0x310 [ 35.660397][ C2] kernel_init+0x20/0x200 [ 35.660672][ C2] ret_from_fork+0x31/0x70 [ 35.660852][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.661027][ C2] } [ 35.661100][ C2] ... key at: [] __key.37+0x0/0x40 [ 35.661312][ C2] ... acquired at: [ 35.661422][ C2] mark_lock+0x28d/0x3e0 [ 35.661565][ C2] mark_usage+0xd9/0x2a0 [ 35.661706][ C2] __lock_acquire+0x797/0x1570 [ 35.661932][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.662072][ C2] _raw_read_lock_bh+0x44/0x80 [ 35.662213][ C2] ipv6_get_lladdr+0xa9/0x3e0 [ 35.662351][ C2] ndisc_send_ns+0xe7/0x100 [ 35.662591][ C2] ndisc_solicit+0x39f/0x4d0 [ 35.662731][ C2] neigh_probe+0xaa/0xf0 [ 35.662876][ C2] neigh_timer_handler+0x45b/0xdf0 [ 35.663017][ C2] call_timer_fn+0x13b/0x230 [ 35.663159][ C2] __run_timers+0x545/0x810 [ 35.663304][ C2] timer_expire_remote+0x9b/0xe0 [ 35.663455][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.663591][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.663730][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.663867][ C2] __do_softirq+0x1f8/0x5df [ 35.664008][ C2] irq_exit_rcu+0x97/0xc0 [ 35.664145][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.664318][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.664570][ C2] default_idle+0xf/0x20 [ 35.664708][ C2] default_idle_call+0x6d/0xb0 [ 35.664845][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.664985][ C2] do_idle+0xf9/0x160 [ 35.665171][ C2] cpu_startup_entry+0x54/0x60 [ 35.665311][ C2] start_secondary+0x21c/0x2b0 [ 35.665451][ C2] common_startup_64+0x12c/0x138 [ 35.665588][ C2] [ 35.665658][ C2] [ 35.665658][ C2] stack backtrace: [ 35.665909][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 35.666119][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 35.666528][ C2] Call Trace: [ 35.666646][ C2] [ 35.666720][ C2] dump_stack_lvl+0x82/0xd0 [ 35.666867][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 35.667047][ C2] ? common_startup_64+0x12c/0x138 [ 35.667278][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 35.667459][ C2] ? __pfx_usage_skip+0x10/0x10 [ 35.667601][ C2] ? __pfx_usage_match+0x10/0x10 [ 35.667742][ C2] ? arch_stack_walk+0x8c/0xf0 [ 35.667974][ C2] mark_lock_irq+0x4cd/0xa10 [ 35.668124][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 35.668265][ C2] ? stack_trace_save+0x94/0xd0 [ 35.668411][ C2] ? save_trace+0x8f/0x5b0 [ 35.668638][ C2] mark_lock+0x28d/0x3e0 [ 35.668747][ C2] mark_usage+0xd9/0x2a0 [ 35.668855][ C2] __lock_acquire+0x797/0x1570 [ 35.669000][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.669142][ C2] ? ipv6_get_lladdr+0xa9/0x3e0 [ 35.669371][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.669513][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 35.669658][ C2] ? ipv6_get_lladdr+0xa9/0x3e0 [ 35.669800][ C2] ? lock_acquire+0x32/0xc0 [ 35.670023][ C2] ? ipv6_get_lladdr+0xa9/0x3e0 [ 35.670163][ C2] _raw_read_lock_bh+0x44/0x80 [ 35.670303][ C2] ? ipv6_get_lladdr+0xa9/0x3e0 [ 35.670442][ C2] ipv6_get_lladdr+0xa9/0x3e0 [ 35.670669][ C2] ? hlock_class+0x4e/0x130 [ 35.670813][ C2] ndisc_send_ns+0xe7/0x100 [ 35.670953][ C2] ? mark_held_locks+0x9e/0xe0 [ 35.671095][ C2] ? __pfx_ndisc_send_ns+0x10/0x10 [ 35.671319][ C2] ? find_held_lock+0x2c/0x110 [ 35.671460][ C2] ? __lock_release+0x103/0x460 [ 35.671602][ C2] ndisc_solicit+0x39f/0x4d0 [ 35.671743][ C2] ? __pfx_ndisc_solicit+0x10/0x10 [ 35.671884][ C2] ? do_raw_write_lock+0x122/0x3b0 [ 35.672110][ C2] ? neigh_probe+0x57/0xf0 [ 35.672251][ C2] neigh_probe+0xaa/0xf0 [ 35.672361][ C2] neigh_timer_handler+0x45b/0xdf0 [ 35.672503][ C2] ? call_timer_fn+0xe8/0x230 [ 35.672731][ C2] ? __pfx_neigh_timer_handler+0x10/0x10 [ 35.672872][ C2] call_timer_fn+0x13b/0x230 [ 35.673014][ C2] ? call_timer_fn+0xe8/0x230 [ 35.673155][ C2] ? call_timer_fn+0xe8/0x230 [ 35.673379][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 35.673526][ C2] ? mark_lock+0x38/0x3e0 [ 35.673636][ C2] __run_timers+0x545/0x810 [ 35.673778][ C2] ? __pfx_neigh_timer_handler+0x10/0x10 [ 35.673920][ C2] ? __pfx___run_timers+0x10/0x10 [ 35.674145][ C2] ? __lock_release+0x103/0x460 [ 35.674287][ C2] ? do_raw_spin_lock+0x131/0x270 [ 35.674427][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 35.674568][ C2] ? lock_acquire+0x32/0xc0 [ 35.674796][ C2] ? timer_expire_remote+0x93/0xe0 [ 35.674940][ C2] timer_expire_remote+0x9b/0xe0 [ 35.675083][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.675225][ C2] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 35.675488][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.675640][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.675778][ C2] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 35.675920][ C2] __do_softirq+0x1f8/0x5df [ 35.676080][ C2] irq_exit_rcu+0x97/0xc0 [ 35.676187][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.676329][ C2] [ 35.676402][ C2] [ 35.676474][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.676649][ C2] RIP: 0010:default_idle+0xf/0x20 [ 35.676884][ 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 [ 35.677471][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000242 [ 35.677653][ C2] RAX: 0000000000105b2f RBX: 1ffff9200002bfc1 RCX: ffffffffae932ea5 [ 35.677863][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffac0ac1d4 [ 35.678177][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 35.678396][ C2] R10: ffff8880361384e3 R11: ffff88803613de40 R12: 0000000000000000 [ 35.678606][ C2] R13: ffff888001b8c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 35.678905][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 35.679046][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 35.679188][ C2] default_idle_call+0x6d/0xb0 [ 35.679328][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.679562][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 35.679712][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 35.679867][ C2] do_idle+0xf9/0x160 [ 35.679972][ C2] cpu_startup_entry+0x54/0x60 [ 35.680108][ C2] start_secondary+0x21c/0x2b0 [ 35.680245][ C2] ? __pfx_start_secondary+0x10/0x10 [ 35.680382][ C2] common_startup_64+0x12c/0x138 [ 35.680523][ C2] [ 37.339828][ T354] IPsec XFRM device driver