[ 26.872002][ T258] eth0: renamed from tmp [ 28.877285][ T274] ip (274) used greatest stack depth: 23232 bytes left [ 29.130691][ T276] Initializing XFRM netlink socket [ 36.135652][ C1] [ 36.135761][ C1] ======================================================== [ 36.135970][ C1] WARNING: possible irq lock inversion dependency detected [ 36.136172][ C1] 6.9.0-rc1-virtme #1 Not tainted [ 36.136307][ C1] -------------------------------------------------------- [ 36.136510][ C1] swapper/1/0 just changed the state of lock: [ 36.136686][ C1] ffff888006390d80 (&ndev->lock){++.-}-{2:2}, at: ipv6_get_lladdr+0xa9/0x3e0 [ 36.136941][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 36.137168][ C1] (&p->alloc_lock){+.+.}-{2:2} [ 36.137172][ C1] [ 36.137172][ C1] [ 36.137172][ C1] and interrupts could create inverse lock ordering between them. [ 36.137172][ C1] [ 36.137670][ C1] [ 36.137670][ C1] other info that might help us debug this: [ 36.137868][ C1] Possible interrupt unsafe locking scenario: [ 36.137868][ C1] [ 36.138069][ C1] CPU0 CPU1 [ 36.138207][ C1] ---- ---- [ 36.138343][ C1] lock(&p->alloc_lock); [ 36.138456][ C1] local_irq_disable(); [ 36.138625][ C1] lock(&ndev->lock); [ 36.138795][ C1] lock(&p->alloc_lock); [ 36.138965][ C1] [ 36.139068][ C1] lock(&ndev->lock); [ 36.139175][ C1] [ 36.139175][ C1] *** DEADLOCK *** [ 36.139175][ C1] [ 36.139370][ C1] 2 locks held by swapper/1/0: [ 36.139507][ C1] #0: ffffc900001d8d68 ((&n->timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 36.139755][ C1] #1: ffffffff9e166360 (rcu_read_lock){....}-{1:2}, at: ipv6_get_lladdr+0x39/0x3e0 [ 36.139994][ C1] [ 36.139994][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 36.140231][ C1] -> (&p->alloc_lock){+.+.}-{2:2} { [ 36.140372][ C1] HARDIRQ-ON-W at: [ 36.140476][ C1] __lock_acquire+0x797/0x1570 [ 36.140652][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.140824][ C1] _raw_spin_lock+0x30/0x40 [ 36.141000][ C1] set_mems_allowed+0x1d/0x210 [ 36.141177][ C1] kernel_init_freeable+0x72/0x310 [ 36.141351][ C1] kernel_init+0x20/0x200 [ 36.141528][ C1] ret_from_fork+0x31/0x70 [ 36.141701][ C1] ret_from_fork_asm+0x1a/0x30 [ 36.141871][ C1] SOFTIRQ-ON-W at: [ 36.141977][ C1] __lock_acquire+0x797/0x1570 [ 36.142147][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.142321][ C1] _raw_spin_lock+0x30/0x40 [ 36.142492][ C1] set_mems_allowed+0x1d/0x210 [ 36.142664][ C1] kernel_init_freeable+0x72/0x310 [ 36.142835][ C1] kernel_init+0x20/0x200 [ 36.143005][ C1] ret_from_fork+0x31/0x70 [ 36.143180][ C1] ret_from_fork_asm+0x1a/0x30 [ 36.143354][ C1] INITIAL USE at: [ 36.143457][ C1] __lock_acquire+0x797/0x1570 [ 36.143627][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.143800][ C1] _raw_spin_lock+0x30/0x40 [ 36.143970][ C1] set_mems_allowed+0x1d/0x210 [ 36.144139][ C1] kernel_init_freeable+0x72/0x310 [ 36.144313][ C1] kernel_init+0x20/0x200 [ 36.144481][ C1] ret_from_fork+0x31/0x70 [ 36.144649][ C1] ret_from_fork_asm+0x1a/0x30 [ 36.144822][ C1] } [ 36.144893][ C1] ... key at: [] __key.388+0x0/0x40 [ 36.145096][ C1] ... acquired at: [ 36.145198][ C1] __lock_acquire+0xaf0/0x1570 [ 36.145339][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.145479][ C1] _raw_spin_lock+0x30/0x40 [ 36.145613][ C1] __get_task_comm+0x27/0x70 [ 36.145751][ C1] ref_tracker_alloc+0x2ee/0x490 [ 36.145888][ C1] netdev_get_by_index+0x5e/0x80 [ 36.146028][ C1] fib6_nh_init+0x3d8/0x1580 [ 36.146165][ C1] ip6_route_info_create+0xf18/0x17d0 [ 36.146299][ C1] addrconf_f6i_alloc+0x265/0x560 [ 36.146439][ C1] __ipv6_dev_ac_inc+0x25f/0xb10 [ 36.146578][ C1] addrconf_join_anycast+0x1c0/0x220 [ 36.146713][ C1] __ipv6_ifa_notify+0x6b3/0xaf0 [ 36.146849][ C1] addrconf_dad_completed+0x12b/0xe20 [ 36.146984][ C1] addrconf_dad_begin+0x310/0x670 [ 36.147119][ C1] addrconf_dad_work+0x10b/0xab0 [ 36.147256][ C1] process_one_work+0xe2c/0x1730 [ 36.147410][ C1] worker_thread+0x587/0xd30 [ 36.147546][ C1] kthread+0x28a/0x350 [ 36.147651][ C1] ret_from_fork+0x31/0x70 [ 36.147790][ C1] ret_from_fork_asm+0x1a/0x30 [ 36.147925][ C1] [ 36.147993][ C1] -> (&ndev->lock){++.-}-{2:2} { [ 36.148133][ C1] HARDIRQ-ON-W at: [ 36.148235][ C1] __lock_acquire+0x797/0x1570 [ 36.148408][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.148589][ C1] _raw_write_lock_bh+0x38/0x50 [ 36.148760][ C1] addrconf_permanent_addr+0x6e/0x670 [ 36.148931][ C1] addrconf_notify+0x749/0xd60 [ 36.149101][ C1] notifier_call_chain+0xcd/0x150 [ 36.149281][ C1] __dev_notify_flags+0xe6/0x250 [ 36.149454][ C1] dev_change_flags+0xec/0x160 [ 36.149627][ C1] do_setlink+0x7d6/0x21e0 [ 36.149799][ C1] __rtnl_newlink+0xaa7/0xd80 [ 36.149969][ C1] rtnl_newlink+0x63/0xa0 [ 36.150140][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 36.150310][ C1] netlink_rcv_skb+0x130/0x360 [ 36.150486][ C1] netlink_unicast+0x449/0x710 [ 36.150654][ C1] netlink_sendmsg+0x723/0xbe0 [ 36.150832][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 36.151005][ C1] ___sys_sendmsg+0xee/0x170 [ 36.151178][ C1] __sys_sendmsg+0xcd/0x170 [ 36.151351][ C1] do_syscall_64+0xc6/0x1e0 [ 36.151531][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 36.151737][ C1] HARDIRQ-ON-R at: [ 36.151840][ C1] __lock_acquire+0x797/0x1570 [ 36.152017][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.152186][ C1] _raw_read_lock_bh+0x44/0x80 [ 36.152357][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 36.152528][ C1] inet6_fill_link_af+0x5e/0xe0 [ 36.152697][ C1] rtnl_fill_ifinfo+0x1615/0x2a90 [ 36.152868][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 36.153047][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 36.153250][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 36.153419][ C1] register_netdevice+0x1177/0x1690 [ 36.153589][ C1] register_netdev+0x20/0x40 [ 36.153767][ C1] vti6_init_net+0x25d/0x380 [ 36.153939][ C1] ops_init+0x9b/0x560 [ 36.154079][ C1] register_pernet_operations+0x2db/0x710 [ 36.154287][ C1] register_pernet_device+0x2a/0x60 [ 36.154459][ C1] vti6_tunnel_init+0x18/0x110 [ 36.154630][ C1] do_one_initcall+0x8d/0x1e0 [ 36.154804][ C1] do_initcalls+0x1b2/0x3e0 [ 36.154977][ C1] kernel_init_freeable+0x232/0x310 [ 36.155152][ C1] kernel_init+0x20/0x200 [ 36.155325][ C1] ret_from_fork+0x31/0x70 [ 36.155499][ C1] ret_from_fork_asm+0x1a/0x30 [ 36.155670][ C1] IN-SOFTIRQ-R at: [ 36.155772][ C1] __lock_acquire+0x797/0x1570 [ 36.155944][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.156115][ C1] _raw_read_lock_bh+0x44/0x80 [ 36.156289][ C1] ipv6_get_lladdr+0xa9/0x3e0 [ 36.156459][ C1] ndisc_send_ns+0xe7/0x100 [ 36.156636][ C1] ndisc_solicit+0x39f/0x4d0 [ 36.156805][ C1] neigh_probe+0xaa/0xf0 [ 36.156977][ C1] neigh_timer_handler+0x45b/0xdf0 [ 36.157151][ C1] call_timer_fn+0x13b/0x230 [ 36.157322][ C1] __run_timers+0x545/0x810 [ 36.157495][ C1] run_timer_softirq+0xe8/0x1b0 [ 36.157663][ C1] __do_softirq+0x1f8/0x5df [ 36.157841][ C1] irq_exit_rcu+0x97/0xc0 [ 36.158014][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 36.158220][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 36.158432][ C1] default_idle+0xf/0x20 [ 36.158610][ C1] default_idle_call+0x6d/0xb0 [ 36.158783][ C1] cpuidle_idle_call+0x1f4/0x280 [ 36.158960][ C1] do_idle+0xf9/0x160 [ 36.159100][ C1] cpu_startup_entry+0x54/0x60 [ 36.159271][ C1] start_secondary+0x21c/0x2b0 [ 36.159444][ C1] common_startup_64+0x12c/0x138 [ 36.159617][ C1] INITIAL USE at: [ 36.159724][ C1] __lock_acquire+0x797/0x1570 [ 36.159894][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.160063][ C1] _raw_write_lock_bh+0x38/0x50 [ 36.160236][ C1] addrconf_permanent_addr+0x6e/0x670 [ 36.160406][ C1] addrconf_notify+0x749/0xd60 [ 36.160575][ C1] notifier_call_chain+0xcd/0x150 [ 36.160749][ C1] __dev_notify_flags+0xe6/0x250 [ 36.160922][ C1] dev_change_flags+0xec/0x160 [ 36.161094][ C1] do_setlink+0x7d6/0x21e0 [ 36.161265][ C1] __rtnl_newlink+0xaa7/0xd80 [ 36.161436][ C1] rtnl_newlink+0x63/0xa0 [ 36.161605][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 36.161773][ C1] netlink_rcv_skb+0x130/0x360 [ 36.161951][ C1] netlink_unicast+0x449/0x710 [ 36.162123][ C1] netlink_sendmsg+0x723/0xbe0 [ 36.162292][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 36.162549][ C1] ___sys_sendmsg+0xee/0x170 [ 36.162722][ C1] __sys_sendmsg+0xcd/0x170 [ 36.162891][ C1] do_syscall_64+0xc6/0x1e0 [ 36.163061][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 36.163353][ C1] INITIAL READ USE at: [ 36.163454][ C1] __lock_acquire+0x797/0x1570 [ 36.163623][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.163874][ C1] _raw_read_lock_bh+0x44/0x80 [ 36.164043][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 36.164247][ C1] inet6_fill_link_af+0x5e/0xe0 [ 36.164422][ C1] rtnl_fill_ifinfo+0x1615/0x2a90 [ 36.164753][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 36.164955][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 36.165157][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 36.165405][ C1] register_netdevice+0x1177/0x1690 [ 36.165611][ C1] register_netdev+0x20/0x40 [ 36.165781][ C1] vti6_init_net+0x25d/0x380 [ 36.166034][ C1] ops_init+0x9b/0x560 [ 36.166203][ C1] register_pernet_operations+0x2db/0x710 [ 36.166405][ C1] register_pernet_device+0x2a/0x60 [ 36.166689][ C1] vti6_tunnel_init+0x18/0x110 [ 36.166866][ C1] do_one_initcall+0x8d/0x1e0 [ 36.167035][ C1] do_initcalls+0x1b2/0x3e0 [ 36.167288][ C1] kernel_init_freeable+0x232/0x310 [ 36.167491][ C1] kernel_init+0x20/0x200 [ 36.167660][ C1] ret_from_fork+0x31/0x70 [ 36.167917][ C1] ret_from_fork_asm+0x1a/0x30 [ 36.168093][ C1] } [ 36.168164][ C1] ... key at: [] __key.37+0x0/0x40 [ 36.168370][ C1] ... acquired at: [ 36.168475][ C1] mark_lock+0x28d/0x3e0 [ 36.168707][ C1] mark_usage+0xd9/0x2a0 [ 36.168843][ C1] __lock_acquire+0x797/0x1570 [ 36.168977][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.169114][ C1] _raw_read_lock_bh+0x44/0x80 [ 36.169328][ C1] ipv6_get_lladdr+0xa9/0x3e0 [ 36.169467][ C1] ndisc_send_ns+0xe7/0x100 [ 36.169605][ C1] ndisc_solicit+0x39f/0x4d0 [ 36.169741][ C1] neigh_probe+0xaa/0xf0 [ 36.169957][ C1] neigh_timer_handler+0x45b/0xdf0 [ 36.170094][ C1] call_timer_fn+0x13b/0x230 [ 36.170230][ C1] __run_timers+0x545/0x810 [ 36.170366][ C1] run_timer_softirq+0xe8/0x1b0 [ 36.170582][ C1] __do_softirq+0x1f8/0x5df [ 36.170720][ C1] irq_exit_rcu+0x97/0xc0 [ 36.170864][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 36.171035][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 36.171287][ C1] default_idle+0xf/0x20 [ 36.171424][ C1] default_idle_call+0x6d/0xb0 [ 36.171558][ C1] cpuidle_idle_call+0x1f4/0x280 [ 36.171692][ C1] do_idle+0xf9/0x160 [ 36.171795][ C1] cpu_startup_entry+0x54/0x60 [ 36.172010][ C1] start_secondary+0x21c/0x2b0 [ 36.172151][ C1] common_startup_64+0x12c/0x138 [ 36.172288][ C1] [ 36.172356][ C1] [ 36.172356][ C1] stack backtrace: [ 36.172601][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.9.0-rc1-virtme #1 [ 36.172803][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 36.173105][ C1] Call Trace: [ 36.173296][ C1] [ 36.173371][ C1] dump_stack_lvl+0x82/0xd0 [ 36.173515][ C1] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 36.173682][ C1] ? common_startup_64+0x12c/0x138 [ 36.173898][ C1] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 36.174067][ C1] ? __pfx_usage_skip+0x10/0x10 [ 36.174201][ C1] ? __pfx_usage_match+0x10/0x10 [ 36.174335][ C1] ? arch_stack_walk+0x8c/0xf0 [ 36.174555][ C1] mark_lock_irq+0x4cd/0xa10 [ 36.174696][ C1] ? __pfx_mark_lock_irq+0x10/0x10 [ 36.174830][ C1] ? stack_trace_save+0x94/0xd0 [ 36.174968][ C1] ? __lock_acquire+0xaf0/0x1570 [ 36.175104][ C1] ? save_trace+0x8f/0x5b0 [ 36.175399][ C1] mark_lock+0x28d/0x3e0 [ 36.175502][ C1] mark_usage+0xd9/0x2a0 [ 36.175604][ C1] __lock_acquire+0x797/0x1570 [ 36.175742][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.175962][ C1] ? ipv6_get_lladdr+0xa9/0x3e0 [ 36.176104][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 36.176238][ C1] ? trace_lock_acquire+0x135/0x1c0 [ 36.176374][ C1] ? ipv6_get_lladdr+0xa9/0x3e0 [ 36.176508][ C1] ? lock_acquire+0x32/0xc0 [ 36.176722][ C1] ? ipv6_get_lladdr+0xa9/0x3e0 [ 36.176858][ C1] _raw_read_lock_bh+0x44/0x80 [ 36.176994][ C1] ? ipv6_get_lladdr+0xa9/0x3e0 [ 36.177128][ C1] ipv6_get_lladdr+0xa9/0x3e0 [ 36.177262][ C1] ? hlock_class+0x4e/0x130 [ 36.177401][ C1] ndisc_send_ns+0xe7/0x100 [ 36.177535][ C1] ? __pfx_ndisc_send_ns+0x10/0x10 [ 36.177670][ C1] ? trace_rcu_dyntick+0x112/0x180 [ 36.177889][ C1] ? ct_nmi_exit+0x85/0x100 [ 36.178025][ C1] ndisc_solicit+0x39f/0x4d0 [ 36.178162][ C1] ? __pfx_ndisc_solicit+0x10/0x10 [ 36.178298][ C1] ? do_raw_write_unlock+0xce/0x310 [ 36.178519][ C1] neigh_probe+0xaa/0xf0 [ 36.178629][ C1] neigh_timer_handler+0x45b/0xdf0 [ 36.178765][ C1] ? call_timer_fn+0xe8/0x230 [ 36.178903][ C1] ? __pfx_neigh_timer_handler+0x10/0x10 [ 36.179036][ C1] call_timer_fn+0x13b/0x230 [ 36.179251][ C1] ? call_timer_fn+0xe8/0x230 [ 36.179384][ C1] ? call_timer_fn+0xe8/0x230 [ 36.179518][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 36.179650][ C1] ? mark_lock+0x38/0x3e0 [ 36.179841][ C1] __run_timers+0x545/0x810 [ 36.179976][ C1] ? __pfx_neigh_timer_handler+0x10/0x10 [ 36.180112][ C1] ? __pfx___run_timers+0x10/0x10 [ 36.180246][ C1] ? do_raw_spin_lock+0x131/0x270 [ 36.180380][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 36.180593][ C1] ? lock_acquire+0x32/0xc0 [ 36.180728][ C1] ? run_timer_softirq+0xe0/0x1b0 [ 36.180862][ C1] run_timer_softirq+0xe8/0x1b0 [ 36.180997][ C1] __do_softirq+0x1f8/0x5df [ 36.181226][ C1] irq_exit_rcu+0x97/0xc0 [ 36.181331][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 36.181468][ C1] [ 36.181539][ C1] [ 36.181608][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 36.181857][ C1] RIP: 0010:default_idle+0xf/0x20 [ 36.182000][ 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 [ 36.182569][ C1] RSP: 0018:ffffc9000014fdf8 EFLAGS: 00000242 [ 36.182746][ C1] RAX: 000000000007b531 RBX: 1ffff92000029fc1 RCX: ffffffff9cf31ea5 [ 36.182954][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9a6ac1d4 [ 36.183239][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c1709c [ 36.183445][ C1] R10: ffff8880360b84e3 R11: ffff8880360bde40 R12: 0000000000000000 [ 36.183649][ C1] R13: ffff888001b8a300 R14: dffffc0000000000 R15: 0000000000000000 [ 36.183935][ C1] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 36.184071][ C1] ? cpuidle_idle_call+0x1f4/0x280 [ 36.184207][ C1] default_idle_call+0x6d/0xb0 [ 36.184341][ C1] cpuidle_idle_call+0x1f4/0x280 [ 36.184556][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 36.184698][ C1] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 36.184837][ C1] do_idle+0xf9/0x160 [ 36.184940][ C1] cpu_startup_entry+0x54/0x60 [ 36.185154][ C1] start_secondary+0x21c/0x2b0 [ 36.185290][ C1] ? __pfx_start_secondary+0x10/0x10 [ 36.185426][ C1] common_startup_64+0x12c/0x138 [ 36.185572][ C1] [ 37.684857][ T353] IPsec XFRM device driver