[ 26.228757][ T257] eth0: renamed from tmp [ 28.481030][ T275] Initializing XFRM netlink socket [ 35.623753][ C3] [ 35.623902][ C3] ======================================================== [ 35.624228][ C3] WARNING: possible irq lock inversion dependency detected [ 35.624559][ C3] 6.9.0-rc1-virtme #1 Not tainted [ 35.624783][ C3] -------------------------------------------------------- [ 35.625102][ C3] swapper/3/0 just changed the state of lock: [ 35.625366][ C3] ffff8880088c5580 (&ndev->lock){++.-}-{2:2}, at: ipv6_get_lladdr+0xa9/0x3e0 [ 35.625768][ C3] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 35.626081][ C3] (&p->alloc_lock){+.+.}-{2:2} [ 35.626089][ C3] [ 35.626089][ C3] [ 35.626089][ C3] and interrupts could create inverse lock ordering between them. [ 35.626089][ C3] [ 35.626872][ C3] [ 35.626872][ C3] other info that might help us debug this: [ 35.627195][ C3] Possible interrupt unsafe locking scenario: [ 35.627195][ C3] [ 35.627539][ C3] CPU0 CPU1 [ 35.627767][ C3] ---- ---- [ 35.627988][ C3] lock(&p->alloc_lock); [ 35.628162][ C3] local_irq_disable(); [ 35.628382][ C3] lock(&ndev->lock); [ 35.628642][ C3] lock(&p->alloc_lock); [ 35.628903][ C3] [ 35.629071][ C3] lock(&ndev->lock); [ 35.629207][ C3] [ 35.629207][ C3] *** DEADLOCK *** [ 35.629207][ C3] [ 35.629514][ C3] 2 locks held by swapper/3/0: [ 35.629685][ C3] #0: ffffc90000288d68 ((&n->timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 35.630082][ C3] #1: ffffffffb6966360 (rcu_read_lock){....}-{1:2}, at: ipv6_get_lladdr+0x39/0x3e0 [ 35.630477][ C3] [ 35.630477][ C3] the shortest dependencies between 2nd lock and 1st lock: [ 35.630808][ C3] -> (&p->alloc_lock){+.+.}-{2:2} { [ 35.631033][ C3] HARDIRQ-ON-W at: [ 35.631207][ C3] __lock_acquire+0x797/0x1570 [ 35.631475][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.631764][ C3] _raw_spin_lock+0x30/0x40 [ 35.632056][ C3] set_mems_allowed+0x1d/0x210 [ 35.632346][ C3] kernel_init_freeable+0x72/0x310 [ 35.632635][ C3] kernel_init+0x20/0x200 [ 35.632921][ C3] ret_from_fork+0x31/0x70 [ 35.633214][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.633494][ C3] SOFTIRQ-ON-W at: [ 35.633663][ C3] __lock_acquire+0x797/0x1570 [ 35.633904][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.634155][ C3] _raw_spin_lock+0x30/0x40 [ 35.634420][ C3] set_mems_allowed+0x1d/0x210 [ 35.634809][ C3] kernel_init_freeable+0x72/0x310 [ 35.635059][ C3] kernel_init+0x20/0x200 [ 35.635310][ C3] ret_from_fork+0x31/0x70 [ 35.635744][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.636021][ C3] INITIAL USE at: [ 35.636185][ C3] __lock_acquire+0x797/0x1570 [ 35.636585][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.636875][ C3] _raw_spin_lock+0x30/0x40 [ 35.637319][ C3] set_mems_allowed+0x1d/0x210 [ 35.637615][ C3] kernel_init_freeable+0x72/0x310 [ 35.637893][ C3] kernel_init+0x20/0x200 [ 35.638239][ C3] ret_from_fork+0x31/0x70 [ 35.638519][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.638937][ C3] } [ 35.639022][ C3] ... key at: [] __key.388+0x0/0x40 [ 35.639475][ C3] ... acquired at: [ 35.639637][ C3] __lock_acquire+0xaf0/0x1570 [ 35.639851][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.640065][ C3] _raw_spin_lock+0x30/0x40 [ 35.640300][ C3] __get_task_comm+0x27/0x70 [ 35.640690][ C3] ref_tracker_alloc+0x2ee/0x490 [ 35.640921][ C3] netdev_get_by_index+0x5e/0x80 [ 35.641144][ C3] fib6_nh_init+0x3d8/0x1580 [ 35.641358][ C3] ip6_route_info_create+0xf18/0x17d0 [ 35.641730][ C3] addrconf_f6i_alloc+0x265/0x560 [ 35.641935][ C3] __ipv6_dev_ac_inc+0x25f/0xb10 [ 35.642156][ C3] addrconf_join_anycast+0x1c0/0x220 [ 35.642362][ C3] __ipv6_ifa_notify+0x6b3/0xaf0 [ 35.642714][ C3] addrconf_dad_completed+0x12b/0xe20 [ 35.642923][ C3] addrconf_dad_begin+0x310/0x670 [ 35.643275][ C3] addrconf_dad_work+0x10b/0xab0 [ 35.643485][ C3] process_one_work+0xe2c/0x1730 [ 35.643701][ C3] worker_thread+0x587/0xd30 [ 35.644064][ C3] kthread+0x28a/0x350 [ 35.644229][ C3] ret_from_fork+0x31/0x70 [ 35.644436][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.644641][ C3] [ 35.644754][ C3] -> (&ndev->lock){++.-}-{2:2} { [ 35.644967][ C3] HARDIRQ-ON-W at: [ 35.645126][ C3] __lock_acquire+0x797/0x1570 [ 35.645387][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.645650][ C3] _raw_write_lock_bh+0x38/0x50 [ 35.645915][ C3] addrconf_permanent_addr+0x6e/0x670 [ 35.646180][ C3] addrconf_notify+0x749/0xd60 [ 35.646444][ C3] notifier_call_chain+0xcd/0x150 [ 35.646705][ C3] __dev_notify_flags+0xe6/0x250 [ 35.646970][ C3] dev_change_flags+0xec/0x160 [ 35.647209][ C3] do_setlink+0x7d6/0x21e0 [ 35.647467][ C3] __rtnl_newlink+0xaa7/0xd80 [ 35.647641][ C3] rtnl_newlink+0x63/0xa0 [ 35.647828][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.648002][ C3] netlink_rcv_skb+0x130/0x360 [ 35.648409][ C3] netlink_unicast+0x449/0x710 [ 35.648704][ C3] netlink_sendmsg+0x723/0xbe0 [ 35.648969][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 35.649246][ C3] ___sys_sendmsg+0xee/0x170 [ 35.649431][ C3] __sys_sendmsg+0xcd/0x170 [ 35.649603][ C3] do_syscall_64+0xc6/0x1e0 [ 35.649781][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.650171][ C3] HARDIRQ-ON-R at: [ 35.650297][ C3] __lock_acquire+0x797/0x1570 [ 35.650475][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.650660][ C3] _raw_read_lock_bh+0x44/0x80 [ 35.650837][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.651123][ C3] inet6_fill_link_af+0x5e/0xe0 [ 35.651303][ C3] rtnl_fill_ifinfo+0x1615/0x2a90 [ 35.651478][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.651671][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.651979][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 35.652225][ C3] register_netdevice+0x1177/0x1690 [ 35.652512][ C3] register_netdev+0x20/0x40 [ 35.652894][ C3] vti6_init_net+0x25d/0x380 [ 35.653162][ C3] ops_init+0x9b/0x560 [ 35.653391][ C3] register_pernet_operations+0x2db/0x710 [ 35.653594][ C3] register_pernet_device+0x2a/0x60 [ 35.653772][ C3] vti6_tunnel_init+0x18/0x110 [ 35.654034][ C3] do_one_initcall+0x8d/0x1e0 [ 35.654218][ C3] do_initcalls+0x1b2/0x3e0 [ 35.654403][ C3] kernel_init_freeable+0x232/0x310 [ 35.654669][ C3] kernel_init+0x20/0x200 [ 35.654849][ C3] ret_from_fork+0x31/0x70 [ 35.655026][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.655300][ C3] IN-SOFTIRQ-R at: [ 35.655413][ C3] __lock_acquire+0x797/0x1570 [ 35.655585][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.655757][ C3] _raw_read_lock_bh+0x44/0x80 [ 35.656021][ C3] ipv6_get_lladdr+0xa9/0x3e0 [ 35.656211][ C3] ndisc_send_ns+0xe7/0x100 [ 35.656388][ C3] ndisc_solicit+0x39f/0x4d0 [ 35.656566][ C3] neigh_probe+0xaa/0xf0 [ 35.656827][ C3] neigh_timer_handler+0x45b/0xdf0 [ 35.657101][ C3] call_timer_fn+0x13b/0x230 [ 35.657285][ C3] __run_timers+0x545/0x810 [ 35.657539][ C3] run_timer_softirq+0xe8/0x1b0 [ 35.657813][ C3] __do_softirq+0x1f8/0x5df [ 35.657988][ C3] irq_exit_rcu+0x97/0xc0 [ 35.658183][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.658387][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.658679][ C3] default_idle+0xf/0x20 [ 35.658851][ C3] default_idle_call+0x6d/0xb0 [ 35.659028][ C3] cpuidle_idle_call+0x1f4/0x280 [ 35.659213][ C3] do_idle+0xf9/0x160 [ 35.659353][ C3] cpu_startup_entry+0x54/0x60 [ 35.659614][ C3] start_secondary+0x21c/0x2b0 [ 35.659787][ C3] common_startup_64+0x12c/0x138 [ 35.659961][ C3] INITIAL USE at: [ 35.660083][ C3] __lock_acquire+0x797/0x1570 [ 35.660338][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.660596][ C3] _raw_write_lock_bh+0x38/0x50 [ 35.660772][ C3] addrconf_permanent_addr+0x6e/0x670 [ 35.660943][ C3] addrconf_notify+0x749/0xd60 [ 35.661126][ C3] notifier_call_chain+0xcd/0x150 [ 35.661304][ C3] __dev_notify_flags+0xe6/0x250 [ 35.661563][ C3] dev_change_flags+0xec/0x160 [ 35.661747][ C3] do_setlink+0x7d6/0x21e0 [ 35.661920][ C3] __rtnl_newlink+0xaa7/0xd80 [ 35.662114][ C3] rtnl_newlink+0x63/0xa0 [ 35.662510][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.662684][ C3] netlink_rcv_skb+0x130/0x360 [ 35.662859][ C3] netlink_unicast+0x449/0x710 [ 35.663112][ C3] netlink_sendmsg+0x723/0xbe0 [ 35.663284][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 35.663454][ C3] ___sys_sendmsg+0xee/0x170 [ 35.663623][ C3] __sys_sendmsg+0xcd/0x170 [ 35.663895][ C3] do_syscall_64+0xc6/0x1e0 [ 35.664064][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.664271][ C3] INITIAL READ USE at: [ 35.664376][ C3] __lock_acquire+0x797/0x1570 [ 35.664549][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.664719][ C3] _raw_read_lock_bh+0x44/0x80 [ 35.664890][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.665102][ C3] inet6_fill_link_af+0x5e/0xe0 [ 35.665275][ C3] rtnl_fill_ifinfo+0x1615/0x2a90 [ 35.665444][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.665648][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.665852][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 35.666021][ C3] register_netdevice+0x1177/0x1690 [ 35.666395][ C3] register_netdev+0x20/0x40 [ 35.666565][ C3] vti6_init_net+0x25d/0x380 [ 35.666735][ C3] ops_init+0x9b/0x560 [ 35.666985][ C3] register_pernet_operations+0x2db/0x710 [ 35.667188][ C3] register_pernet_device+0x2a/0x60 [ 35.667395][ C3] vti6_tunnel_init+0x18/0x110 [ 35.667658][ C3] do_one_initcall+0x8d/0x1e0 [ 35.667830][ C3] do_initcalls+0x1b2/0x3e0 [ 35.668001][ C3] kernel_init_freeable+0x232/0x310 [ 35.668306][ C3] kernel_init+0x20/0x200 [ 35.668479][ C3] ret_from_fork+0x31/0x70 [ 35.668657][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.668831][ C3] } [ 35.668908][ C3] ... key at: [] __key.37+0x0/0x40 [ 35.669201][ C3] ... acquired at: [ 35.669305][ C3] mark_lock+0x28d/0x3e0 [ 35.669444][ C3] mark_usage+0xd9/0x2a0 [ 35.669587][ C3] __lock_acquire+0x797/0x1570 [ 35.669727][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.669877][ C3] _raw_read_lock_bh+0x44/0x80 [ 35.670098][ C3] ipv6_get_lladdr+0xa9/0x3e0 [ 35.670241][ C3] ndisc_send_ns+0xe7/0x100 [ 35.670379][ C3] ndisc_solicit+0x39f/0x4d0 [ 35.670607][ C3] neigh_probe+0xaa/0xf0 [ 35.670743][ C3] neigh_timer_handler+0x45b/0xdf0 [ 35.670883][ C3] call_timer_fn+0x13b/0x230 [ 35.671104][ C3] __run_timers+0x545/0x810 [ 35.671242][ C3] run_timer_softirq+0xe8/0x1b0 [ 35.671378][ C3] __do_softirq+0x1f8/0x5df [ 35.671517][ C3] irq_exit_rcu+0x97/0xc0 [ 35.671743][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.671915][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.672088][ C3] default_idle+0xf/0x20 [ 35.672227][ C3] default_idle_call+0x6d/0xb0 [ 35.672532][ C3] cpuidle_idle_call+0x1f4/0x280 [ 35.672672][ C3] do_idle+0xf9/0x160 [ 35.672776][ C3] cpu_startup_entry+0x54/0x60 [ 35.672913][ C3] start_secondary+0x21c/0x2b0 [ 35.673138][ C3] common_startup_64+0x12c/0x138 [ 35.673276][ C3] [ 35.673345][ C3] [ 35.673345][ C3] stack backtrace: [ 35.673602][ C3] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.9.0-rc1-virtme #1 [ 35.673811][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 35.674230][ C3] Call Trace: [ 35.674337][ C3] [ 35.674413][ C3] dump_stack_lvl+0x82/0xd0 [ 35.674554][ C3] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 35.674727][ C3] ? common_startup_64+0x12c/0x138 [ 35.674869][ C3] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 35.675128][ C3] ? __pfx_usage_skip+0x10/0x10 [ 35.675265][ C3] ? __pfx_usage_match+0x10/0x10 [ 35.675419][ C3] ? arch_stack_walk+0x8c/0xf0 [ 35.675556][ C3] mark_lock_irq+0x4cd/0xa10 [ 35.675706][ C3] ? __pfx_mark_lock_irq+0x10/0x10 [ 35.675928][ C3] ? stack_trace_save+0x94/0xd0 [ 35.676078][ C3] ? save_trace+0x8f/0x5b0 [ 35.676216][ C3] mark_lock+0x28d/0x3e0 [ 35.676341][ C3] mark_usage+0xd9/0x2a0 [ 35.676444][ C3] __lock_acquire+0x797/0x1570 [ 35.676682][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.676821][ C3] ? ipv6_get_lladdr+0xa9/0x3e0 [ 35.676967][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.677108][ C3] ? trace_lock_acquire+0x135/0x1c0 [ 35.677337][ C3] ? ipv6_get_lladdr+0xa9/0x3e0 [ 35.677477][ C3] ? lock_acquire+0x32/0xc0 [ 35.677617][ C3] ? ipv6_get_lladdr+0xa9/0x3e0 [ 35.677762][ C3] _raw_read_lock_bh+0x44/0x80 [ 35.677985][ C3] ? ipv6_get_lladdr+0xa9/0x3e0 [ 35.678135][ C3] ipv6_get_lladdr+0xa9/0x3e0 [ 35.678283][ C3] ? hlock_class+0x4e/0x130 [ 35.678419][ C3] ndisc_send_ns+0xe7/0x100 [ 35.678555][ C3] ? mark_held_locks+0x9e/0xe0 [ 35.678856][ C3] ? __pfx_ndisc_send_ns+0x10/0x10 [ 35.678995][ C3] ? find_held_lock+0x2c/0x110 [ 35.679218][ C3] ? __lock_release+0x103/0x460 [ 35.679355][ C3] ndisc_solicit+0x39f/0x4d0 [ 35.679504][ C3] ? __pfx_ndisc_solicit+0x10/0x10 [ 35.679640][ C3] ? do_raw_write_lock+0x122/0x3b0 [ 35.679780][ C3] ? neigh_probe+0x57/0xf0 [ 35.679997][ C3] neigh_probe+0xaa/0xf0 [ 35.680106][ C3] neigh_timer_handler+0x45b/0xdf0 [ 35.680246][ C3] ? call_timer_fn+0xe8/0x230 [ 35.680391][ C3] ? __pfx_neigh_timer_handler+0x10/0x10 [ 35.680611][ C3] call_timer_fn+0x13b/0x230 [ 35.680762][ C3] ? call_timer_fn+0xe8/0x230 [ 35.680982][ C3] ? call_timer_fn+0xe8/0x230 [ 35.681128][ C3] ? __pfx_call_timer_fn+0x10/0x10 [ 35.681276][ C3] ? mark_lock+0x38/0x3e0 [ 35.681386][ C3] __run_timers+0x545/0x810 [ 35.681524][ C3] ? __pfx_neigh_timer_handler+0x10/0x10 [ 35.681750][ C3] ? __pfx___run_timers+0x10/0x10 [ 35.681890][ C3] ? do_raw_spin_lock+0x131/0x270 [ 35.682031][ C3] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 35.682181][ C3] ? lock_acquire+0x32/0xc0 [ 35.682330][ C3] ? run_timer_softirq+0xe0/0x1b0 [ 35.682563][ C3] run_timer_softirq+0xe8/0x1b0 [ 35.682699][ C3] __do_softirq+0x1f8/0x5df [ 35.682843][ C3] irq_exit_rcu+0x97/0xc0 [ 35.683024][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.683162][ C3] [ 35.683238][ C3] [ 35.683408][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.683582][ C3] RIP: 0010:default_idle+0xf/0x20 [ 35.683738][ C3] 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.684330][ C3] RSP: 0018:ffffc9000016fdf8 EFLAGS: 00000246 [ 35.684673][ C3] RAX: 000000000008354d RBX: 1ffff9200002dfc1 RCX: ffffffffb5732ea5 [ 35.684879][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffb2eac1d4 [ 35.685084][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ef709c [ 35.685377][ C3] R10: ffff88802f7b84e3 R11: ffff88802f7bde40 R12: 0000000000000000 [ 35.685584][ C3] R13: ffff888001b98040 R14: dffffc0000000000 R15: 0000000000000000 [ 35.685873][ C3] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 35.686013][ C3] ? cpuidle_idle_call+0x1f4/0x280 [ 35.686171][ C3] default_idle_call+0x6d/0xb0 [ 35.686310][ C3] cpuidle_idle_call+0x1f4/0x280 [ 35.686444][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 35.686675][ C3] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 35.686811][ C3] do_idle+0xf9/0x160 [ 35.686919][ C3] cpu_startup_entry+0x54/0x60 [ 35.687064][ C3] start_secondary+0x21c/0x2b0 [ 35.687290][ C3] ? __pfx_start_secondary+0x10/0x10 [ 35.687431][ C3] common_startup_64+0x12c/0x138 [ 35.687574][ C3] [ 36.984357][ T353] IPsec XFRM device driver