[ 29.417931][ T287] ip (287) used greatest stack depth: 24288 bytes left [ 51.664594][ T479] ip (479) used greatest stack depth: 23792 bytes left [ 53.215051][ T492] ip (492) used greatest stack depth: 23192 bytes left [ 88.164479][ T806] IPv6: Can't replace route, no match found [ 92.584061][ T876] IPv6: Can't replace route, no match found [ 173.464540][ T1726] Mirror/redirect action on [ 177.386379][ C1] [ 177.386485][ C1] ======================================================== [ 177.386707][ C1] WARNING: possible irq lock inversion dependency detected [ 177.386926][ C1] 6.9.0-rc1-virtme #1 Not tainted [ 177.387081][ C1] -------------------------------------------------------- [ 177.387306][ C1] swapper/1/0 just changed the state of lock: [ 177.387499][ C1] ffff88800672bd80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 177.387768][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 177.387990][ C1] (&p->alloc_lock){+.+.}-{2:2} [ 177.387995][ C1] [ 177.387995][ C1] [ 177.387995][ C1] and interrupts could create inverse lock ordering between them. [ 177.387995][ C1] [ 177.388524][ C1] [ 177.388524][ C1] other info that might help us debug this: [ 177.388741][ C1] Possible interrupt unsafe locking scenario: [ 177.388741][ C1] [ 177.388957][ C1] CPU0 CPU1 [ 177.389101][ C1] ---- ---- [ 177.389246][ C1] lock(&p->alloc_lock); [ 177.389360][ C1] local_irq_disable(); [ 177.389539][ C1] lock(&ndev->lock); [ 177.389722][ C1] lock(&p->alloc_lock); [ 177.389906][ C1] [ 177.390020][ C1] lock(&ndev->lock); [ 177.390134][ C1] [ 177.390134][ C1] *** DEADLOCK *** [ 177.390134][ C1] [ 177.390349][ C1] 1 lock held by swapper/1/0: [ 177.390496][ C1] #0: ffffc900001d8b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 177.390760][ C1] [ 177.390760][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 177.391014][ C1] -> (&p->alloc_lock){+.+.}-{2:2} { [ 177.391172][ C1] HARDIRQ-ON-W at: [ 177.391288][ C1] __lock_acquire+0x797/0x1570 [ 177.391481][ C1] lock_acquire.part.0+0xeb/0x330 [ 177.391670][ C1] _raw_spin_lock+0x30/0x40 [ 177.391859][ C1] set_mems_allowed+0x1d/0x210 [ 177.392055][ C1] kernel_init_freeable+0x72/0x310 [ 177.392247][ C1] kernel_init+0x20/0x200 [ 177.392435][ C1] ret_from_fork+0x31/0x70 [ 177.392624][ C1] ret_from_fork_asm+0x1a/0x30 [ 177.392809][ C1] SOFTIRQ-ON-W at: [ 177.392920][ C1] __lock_acquire+0x797/0x1570 [ 177.393105][ C1] lock_acquire.part.0+0xeb/0x330 [ 177.393293][ C1] _raw_spin_lock+0x30/0x40 [ 177.393483][ C1] set_mems_allowed+0x1d/0x210 [ 177.393671][ C1] kernel_init_freeable+0x72/0x310 [ 177.393859][ C1] kernel_init+0x20/0x200 [ 177.394046][ C1] ret_from_fork+0x31/0x70 [ 177.394234][ C1] ret_from_fork_asm+0x1a/0x30 [ 177.394419][ C1] INITIAL USE at: [ 177.394536][ C1] __lock_acquire+0x797/0x1570 [ 177.394723][ C1] lock_acquire.part.0+0xeb/0x330 [ 177.394909][ C1] _raw_spin_lock+0x30/0x40 [ 177.395097][ C1] set_mems_allowed+0x1d/0x210 [ 177.395282][ C1] kernel_init_freeable+0x72/0x310 [ 177.395467][ C1] kernel_init+0x20/0x200 [ 177.395659][ C1] ret_from_fork+0x31/0x70 [ 177.395847][ C1] ret_from_fork_asm+0x1a/0x30 [ 177.396033][ C1] } [ 177.396109][ C1] ... key at: [] __key.388+0x0/0x40 [ 177.396336][ C1] ... acquired at: [ 177.396453][ C1] __lock_acquire+0xaf0/0x1570 [ 177.396602][ C1] lock_acquire.part.0+0xeb/0x330 [ 177.396749][ C1] _raw_spin_lock+0x30/0x40 [ 177.396904][ C1] __get_task_comm+0x27/0x70 [ 177.397054][ C1] ref_tracker_alloc+0x2ee/0x490 [ 177.397203][ C1] netdev_get_by_index+0x5e/0x80 [ 177.397349][ C1] fib6_nh_init+0x3d8/0x1580 [ 177.397512][ C1] ip6_route_info_create+0xf18/0x17d0 [ 177.397661][ C1] addrconf_f6i_alloc+0x265/0x560 [ 177.397811][ C1] __ipv6_dev_ac_inc+0x25f/0xb10 [ 177.397963][ C1] addrconf_join_anycast+0x1c0/0x220 [ 177.398111][ C1] __ipv6_ifa_notify+0x6b3/0xaf0 [ 177.398257][ C1] addrconf_dad_completed+0x12b/0xe20 [ 177.398406][ C1] addrconf_dad_begin+0x310/0x670 [ 177.398553][ C1] addrconf_dad_work+0x10b/0xab0 [ 177.398700][ C1] process_one_work+0xe2c/0x1730 [ 177.398847][ C1] worker_thread+0x587/0xd30 [ 177.398998][ C1] kthread+0x28a/0x350 [ 177.399112][ C1] ret_from_fork+0x31/0x70 [ 177.399260][ C1] ret_from_fork_asm+0x1a/0x30 [ 177.399408][ C1] [ 177.399486][ C1] -> (&ndev->lock){++-.}-{2:2} { [ 177.399638][ C1] HARDIRQ-ON-W at: [ 177.399751][ C1] __lock_acquire+0x797/0x1570 [ 177.399938][ C1] lock_acquire.part.0+0xeb/0x330 [ 177.400123][ C1] _raw_write_lock_bh+0x38/0x50 [ 177.400316][ C1] addrconf_permanent_addr+0x6e/0x670 [ 177.400503][ C1] addrconf_notify+0x749/0xd60 [ 177.400692][ C1] notifier_call_chain+0xcd/0x150 [ 177.400880][ C1] __dev_notify_flags+0xe6/0x250 [ 177.401066][ C1] dev_change_flags+0xec/0x160 [ 177.401251][ C1] do_setlink+0x7d6/0x21e0 [ 177.401439][ C1] __rtnl_newlink+0xaa7/0xd80 [ 177.401625][ C1] rtnl_newlink+0x63/0xa0 [ 177.401811][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 177.401995][ C1] netlink_rcv_skb+0x130/0x360 [ 177.402184][ C1] netlink_unicast+0x449/0x710 [ 177.402370][ C1] netlink_sendmsg+0x723/0xbe0 [ 177.402555][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 177.402744][ C1] ___sys_sendmsg+0xee/0x170 [ 177.402931][ C1] __sys_sendmsg+0xcd/0x170 [ 177.403116][ C1] do_syscall_64+0xc6/0x1e0 [ 177.403302][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 177.403528][ C1] HARDIRQ-ON-R at: [ 177.403639][ C1] __lock_acquire+0x797/0x1570 [ 177.403825][ C1] lock_acquire.part.0+0xeb/0x330 [ 177.404018][ C1] _raw_read_lock_bh+0x44/0x80 [ 177.404203][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 177.404389][ C1] inet6_fill_link_af+0x5e/0xe0 [ 177.404573][ C1] rtnl_fill_ifinfo+0x1615/0x2a90 [ 177.404759][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 177.404943][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 177.405167][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 177.405353][ C1] register_netdevice+0x1177/0x1690 [ 177.405538][ C1] register_netdev+0x20/0x40 [ 177.405723][ C1] vti6_init_net+0x25d/0x380 [ 177.405911][ C1] ops_init+0x9b/0x560 [ 177.406060][ C1] register_pernet_operations+0x2db/0x710 [ 177.406284][ C1] register_pernet_device+0x2a/0x60 [ 177.406469][ C1] vti6_tunnel_init+0x18/0x110 [ 177.406654][ C1] do_one_initcall+0x8d/0x1e0 [ 177.406840][ C1] do_initcalls+0x1b2/0x3e0 [ 177.407025][ C1] kernel_init_freeable+0x232/0x310 [ 177.407209][ C1] kernel_init+0x20/0x200 [ 177.407395][ C1] ret_from_fork+0x31/0x70 [ 177.407588][ C1] ret_from_fork_asm+0x1a/0x30 [ 177.407774][ C1] IN-SOFTIRQ-W at: [ 177.407886][ C1] __lock_acquire+0x797/0x1570 [ 177.408070][ C1] lock_acquire.part.0+0xeb/0x330 [ 177.408254][ C1] _raw_write_lock+0x30/0x40 [ 177.408439][ C1] addrconf_rs_timer+0xa9/0x730 [ 177.408627][ C1] call_timer_fn+0x13b/0x230 [ 177.408817][ C1] __run_timers+0x545/0x810 [ 177.409003][ C1] timer_expire_remote+0x9b/0xe0 [ 177.409188][ C1] tmigr_handle_remote_cpu+0x270/0x430 [ 177.409375][ C1] tmigr_handle_remote_up+0x19f/0x2e0 [ 177.409559][ C1] tmigr_handle_remote+0x21d/0x3a0 [ 177.409749][ C1] __do_softirq+0x1f8/0x5df [ 177.409935][ C1] irq_exit_rcu+0x97/0xc0 [ 177.410121][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 177.410345][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 177.410565][ C1] default_idle+0xf/0x20 [ 177.410749][ C1] default_idle_call+0x6d/0xb0 [ 177.410933][ C1] cpuidle_idle_call+0x1f4/0x280 [ 177.411124][ C1] do_idle+0xf9/0x160 [ 177.411273][ C1] cpu_startup_entry+0x54/0x60 [ 177.411457][ C1] start_secondary+0x21c/0x2b0 [ 177.411646][ C1] common_startup_64+0x12c/0x138 [ 177.411831][ C1] INITIAL USE at: [ 177.411941][ C1] __lock_acquire+0x797/0x1570 [ 177.412127][ C1] lock_acquire.part.0+0xeb/0x330 [ 177.412418][ C1] _raw_write_lock_bh+0x38/0x50 [ 177.412606][ C1] addrconf_permanent_addr+0x6e/0x670 [ 177.412792][ C1] addrconf_notify+0x749/0xd60 [ 177.412977][ C1] notifier_call_chain+0xcd/0x150 [ 177.413162][ C1] __dev_notify_flags+0xe6/0x250 [ 177.413351][ C1] dev_change_flags+0xec/0x160 [ 177.413536][ C1] do_setlink+0x7d6/0x21e0 [ 177.413724][ C1] __rtnl_newlink+0xaa7/0xd80 [ 177.413908][ C1] rtnl_newlink+0x63/0xa0 [ 177.414095][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 177.414380][ C1] netlink_rcv_skb+0x130/0x360 [ 177.414564][ C1] netlink_unicast+0x449/0x710 [ 177.414752][ C1] netlink_sendmsg+0x723/0xbe0 [ 177.414939][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 177.415127][ C1] ___sys_sendmsg+0xee/0x170 [ 177.415311][ C1] __sys_sendmsg+0xcd/0x170 [ 177.415496][ C1] do_syscall_64+0xc6/0x1e0 [ 177.415684][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 177.415905][ C1] INITIAL READ USE at: [ 177.416021][ C1] __lock_acquire+0x797/0x1570 [ 177.416207][ C1] lock_acquire.part.0+0xeb/0x330 [ 177.416490][ C1] _raw_read_lock_bh+0x44/0x80 [ 177.416673][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 177.416895][ C1] inet6_fill_link_af+0x5e/0xe0 [ 177.417079][ C1] rtnl_fill_ifinfo+0x1615/0x2a90 [ 177.417266][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 177.417495][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 177.417807][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 177.417995][ C1] register_netdevice+0x1177/0x1690 [ 177.418218][ C1] register_netdev+0x20/0x40 [ 177.418403][ C1] vti6_init_net+0x25d/0x380 [ 177.418590][ C1] ops_init+0x9b/0x560 [ 177.418779][ C1] register_pernet_operations+0x2db/0x710 [ 177.419086][ C1] register_pernet_device+0x2a/0x60 [ 177.419309][ C1] vti6_tunnel_init+0x18/0x110 [ 177.419496][ C1] do_one_initcall+0x8d/0x1e0 [ 177.419683][ C1] do_initcalls+0x1b2/0x3e0 [ 177.419868][ C1] kernel_init_freeable+0x232/0x310 [ 177.420086][ C1] kernel_init+0x20/0x200 [ 177.420272][ C1] ret_from_fork+0x31/0x70 [ 177.420545][ C1] ret_from_fork_asm+0x1a/0x30 [ 177.420729][ C1] } [ 177.420802][ C1] ... key at: [] __key.37+0x0/0x40 [ 177.421025][ C1] ... acquired at: [ 177.421134][ C1] mark_lock+0x28d/0x3e0 [ 177.421284][ C1] mark_usage+0xd9/0x2a0 [ 177.421432][ C1] __lock_acquire+0x797/0x1570 [ 177.421580][ C1] lock_acquire.part.0+0xeb/0x330 [ 177.421812][ C1] _raw_write_lock+0x30/0x40 [ 177.421960][ C1] addrconf_rs_timer+0xa9/0x730 [ 177.422107][ C1] call_timer_fn+0x13b/0x230 [ 177.422254][ C1] __run_timers+0x545/0x810 [ 177.422404][ C1] timer_expire_remote+0x9b/0xe0 [ 177.422552][ C1] tmigr_handle_remote_cpu+0x270/0x430 [ 177.422699][ C1] tmigr_handle_remote_up+0x19f/0x2e0 [ 177.422846][ C1] tmigr_handle_remote+0x21d/0x3a0 [ 177.422994][ C1] __do_softirq+0x1f8/0x5df [ 177.423227][ C1] irq_exit_rcu+0x97/0xc0 [ 177.423377][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 177.423561][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 177.423745][ C1] default_idle+0xf/0x20 [ 177.423892][ C1] default_idle_call+0x6d/0xb0 [ 177.424038][ C1] cpuidle_idle_call+0x1f4/0x280 [ 177.424187][ C1] do_idle+0xf9/0x160 [ 177.424301][ C1] cpu_startup_entry+0x54/0x60 [ 177.424534][ C1] start_secondary+0x21c/0x2b0 [ 177.424680][ C1] common_startup_64+0x12c/0x138 [ 177.424826][ C1] [ 177.424903][ C1] [ 177.424903][ C1] stack backtrace: [ 177.425087][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.9.0-rc1-virtme #1 [ 177.425307][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 177.425632][ C1] Call Trace: [ 177.425835][ C1] [ 177.425913][ C1] dump_stack_lvl+0x82/0xd0 [ 177.426063][ C1] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 177.426252][ C1] ? kernel_text_address+0x17/0xe0 [ 177.426402][ C1] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 177.426584][ C1] ? __pfx_usage_skip+0x10/0x10 [ 177.426730][ C1] ? __pfx_usage_match+0x10/0x10 [ 177.426878][ C1] ? arch_stack_walk+0x8c/0xf0 [ 177.427029][ C1] mark_lock_irq+0x4cd/0xa10 [ 177.427257][ C1] ? common_startup_64+0x12c/0x138 [ 177.427402][ C1] ? __pfx_mark_lock_irq+0x10/0x10 [ 177.427565][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 177.427713][ C1] ? __pfx___lock_release+0x10/0x10 [ 177.427946][ C1] ? __lock_unpin_lock+0x137/0x2b0 [ 177.428092][ C1] ? save_trace+0x8f/0x5b0 [ 177.428238][ C1] mark_lock+0x28d/0x3e0 [ 177.428350][ C1] mark_usage+0xd9/0x2a0 [ 177.428460][ C1] __lock_acquire+0x797/0x1570 [ 177.428609][ C1] ? hlock_class+0x4e/0x130 [ 177.428760][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 177.428906][ C1] lock_acquire.part.0+0xeb/0x330 [ 177.429054][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 177.429284][ C1] ? ct_nmi_exit+0x85/0x100 [ 177.429431][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 177.429577][ C1] ? trace_lock_acquire+0x135/0x1c0 [ 177.429723][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 177.429869][ C1] ? lock_acquire+0x32/0xc0 [ 177.430019][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 177.430167][ C1] _raw_write_lock+0x30/0x40 [ 177.430315][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 177.430548][ C1] addrconf_rs_timer+0xa9/0x730 [ 177.430697][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 177.430843][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 177.430989][ C1] ? call_timer_fn+0xe8/0x230 [ 177.431137][ C1] ? lock_acquire+0x32/0xc0 [ 177.431285][ C1] ? call_timer_fn+0xe8/0x230 [ 177.431444][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 177.431589][ C1] call_timer_fn+0x13b/0x230 [ 177.431736][ C1] ? call_timer_fn+0xe8/0x230 [ 177.431968][ C1] ? call_timer_fn+0xe8/0x230 [ 177.432114][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 177.432259][ C1] ? mark_lock+0x38/0x3e0 [ 177.432373][ C1] __run_timers+0x545/0x810 [ 177.432522][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 177.432672][ C1] ? __pfx___run_timers+0x10/0x10 [ 177.432818][ C1] ? __lock_release+0x103/0x460 [ 177.432966][ C1] ? do_raw_spin_lock+0x131/0x270 [ 177.433115][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 177.433345][ C1] ? lock_acquire+0x32/0xc0 [ 177.433491][ C1] ? timer_expire_remote+0x93/0xe0 [ 177.433639][ C1] timer_expire_remote+0x9b/0xe0 [ 177.433790][ C1] tmigr_handle_remote_cpu+0x270/0x430 [ 177.433940][ C1] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 177.434123][ C1] tmigr_handle_remote_up+0x19f/0x2e0 [ 177.434274][ C1] tmigr_handle_remote+0x21d/0x3a0 [ 177.434423][ C1] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 177.434656][ C1] __do_softirq+0x1f8/0x5df [ 177.434805][ C1] irq_exit_rcu+0x97/0xc0 [ 177.434916][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 177.435065][ C1] [ 177.435149][ C1] [ 177.435224][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 177.435408][ C1] RIP: 0010:default_idle+0xf/0x20 [ 177.435562][ 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 [ 177.436174][ C1] RSP: 0018:ffffc9000014fdf8 EFLAGS: 00000242 [ 177.436365][ C1] RAX: 00000000003d990b RBX: 1ffff92000029fc1 RCX: ffffffffa6d32ea5 [ 177.436590][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa44ac1d4 [ 177.436816][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c1709c [ 177.437035][ C1] R10: ffff8880360b84e3 R11: ffff8880360bde40 R12: 0000000000000000 [ 177.437343][ C1] R13: ffff888001b8a300 R14: dffffc0000000000 R15: 0000000000000000 [ 177.437577][ C1] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 177.437723][ C1] ? cpuidle_idle_call+0x1f4/0x280 [ 177.437872][ C1] default_idle_call+0x6d/0xb0 [ 177.438020][ C1] cpuidle_idle_call+0x1f4/0x280 [ 177.438170][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 177.438321][ C1] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 177.438470][ C1] do_idle+0xf9/0x160 [ 177.438678][ C1] cpu_startup_entry+0x54/0x60 [ 177.438829][ C1] start_secondary+0x21c/0x2b0 [ 177.438975][ C1] ? __pfx_start_secondary+0x10/0x10 [ 177.439122][ C1] common_startup_64+0x12c/0x138 [ 177.439273][ C1] [ 284.314577][ T2305] veth2: entered promiscuous mode [ 284.370079][ T2305] veth2: left promiscuous mode