[ 29.235805][ T285] ip (285) used greatest stack depth: 23808 bytes left [ 67.266247][ T598] ip (598) used greatest stack depth: 23776 bytes left [ 88.203038][ T807] IPv6: Can't replace route, no match found [ 92.684202][ T877] IPv6: Can't replace route, no match found [ 171.236403][ T1727] Mirror/redirect action on [ 175.704384][ C2] [ 175.704490][ C2] ======================================================== [ 175.704689][ C2] WARNING: possible irq lock inversion dependency detected [ 175.704887][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 175.705022][ C2] -------------------------------------------------------- [ 175.705226][ C2] swapper/2/0 just changed the state of lock: [ 175.705390][ C2] ffff8880088c8d80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 175.705636][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 175.705833][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 175.705837][ C2] [ 175.705837][ C2] [ 175.705837][ C2] and interrupts could create inverse lock ordering between them. [ 175.705837][ C2] [ 175.706315][ C2] [ 175.706315][ C2] other info that might help us debug this: [ 175.706520][ C2] Possible interrupt unsafe locking scenario: [ 175.706520][ C2] [ 175.706730][ C2] CPU0 CPU1 [ 175.706867][ C2] ---- ---- [ 175.707004][ C2] lock(&p->alloc_lock); [ 175.707109][ C2] local_irq_disable(); [ 175.707272][ C2] lock(&ndev->lock); [ 175.707437][ C2] lock(&p->alloc_lock); [ 175.707603][ C2] [ 175.707703][ C2] lock(&ndev->lock); [ 175.707802][ C2] [ 175.707802][ C2] *** DEADLOCK *** [ 175.707802][ C2] [ 175.707994][ C2] 1 lock held by swapper/2/0: [ 175.708128][ C2] #0: ffffc90000230d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 175.708370][ C2] [ 175.708370][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 175.708598][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 175.708742][ C2] HARDIRQ-ON-W at: [ 175.708843][ C2] __lock_acquire+0x797/0x1570 [ 175.709013][ C2] lock_acquire.part.0+0xeb/0x330 [ 175.709177][ C2] _raw_spin_lock+0x30/0x40 [ 175.709346][ C2] set_mems_allowed+0x1d/0x210 [ 175.709519][ C2] kernel_init_freeable+0x72/0x310 [ 175.709700][ C2] kernel_init+0x20/0x200 [ 175.709877][ C2] ret_from_fork+0x31/0x70 [ 175.710047][ C2] ret_from_fork_asm+0x1a/0x30 [ 175.710213][ C2] SOFTIRQ-ON-W at: [ 175.710313][ C2] __lock_acquire+0x797/0x1570 [ 175.710485][ C2] lock_acquire.part.0+0xeb/0x330 [ 175.710651][ C2] _raw_spin_lock+0x30/0x40 [ 175.710815][ C2] set_mems_allowed+0x1d/0x210 [ 175.710979][ C2] kernel_init_freeable+0x72/0x310 [ 175.711147][ C2] kernel_init+0x20/0x200 [ 175.711314][ C2] ret_from_fork+0x31/0x70 [ 175.711481][ C2] ret_from_fork_asm+0x1a/0x30 [ 175.711650][ C2] INITIAL USE at: [ 175.711748][ C2] __lock_acquire+0x797/0x1570 [ 175.711913][ C2] lock_acquire.part.0+0xeb/0x330 [ 175.712078][ C2] _raw_spin_lock+0x30/0x40 [ 175.712244][ C2] set_mems_allowed+0x1d/0x210 [ 175.712407][ C2] kernel_init_freeable+0x72/0x310 [ 175.712575][ C2] kernel_init+0x20/0x200 [ 175.712740][ C2] ret_from_fork+0x31/0x70 [ 175.712906][ C2] ret_from_fork_asm+0x1a/0x30 [ 175.713069][ C2] } [ 175.713138][ C2] ... key at: [] __key.388+0x0/0x40 [ 175.713340][ C2] ... acquired at: [ 175.713440][ C2] __lock_acquire+0xaf0/0x1570 [ 175.713588][ C2] lock_acquire.part.0+0xeb/0x330 [ 175.713721][ C2] _raw_spin_lock+0x30/0x40 [ 175.713854][ C2] __get_task_comm+0x27/0x70 [ 175.713990][ C2] ref_tracker_alloc+0x2ee/0x490 [ 175.714131][ C2] netdev_get_by_index+0x5e/0x80 [ 175.714267][ C2] fib6_nh_init+0x3d8/0x1580 [ 175.714402][ C2] ip6_route_info_create+0xf18/0x17d0 [ 175.714537][ C2] addrconf_f6i_alloc+0x265/0x560 [ 175.714673][ C2] __ipv6_dev_ac_inc+0x25f/0xb10 [ 175.714808][ C2] addrconf_join_anycast+0x1c0/0x220 [ 175.714941][ C2] __ipv6_ifa_notify+0x6b3/0xaf0 [ 175.715075][ C2] addrconf_dad_completed+0x12b/0xe20 [ 175.715208][ C2] addrconf_dad_begin+0x310/0x670 [ 175.715339][ C2] addrconf_dad_work+0x10b/0xab0 [ 175.715471][ C2] process_one_work+0xe2c/0x1730 [ 175.715611][ C2] worker_thread+0x587/0xd30 [ 175.715743][ C2] kthread+0x28a/0x350 [ 175.715844][ C2] ret_from_fork+0x31/0x70 [ 175.715975][ C2] ret_from_fork_asm+0x1a/0x30 [ 175.716106][ C2] [ 175.716174][ C2] -> (&ndev->lock){++-.}-{2:2} { [ 175.716309][ C2] HARDIRQ-ON-W at: [ 175.716410][ C2] __lock_acquire+0x797/0x1570 [ 175.716575][ C2] lock_acquire.part.0+0xeb/0x330 [ 175.716746][ C2] _raw_write_lock_bh+0x38/0x50 [ 175.716922][ C2] addrconf_permanent_addr+0x6e/0x670 [ 175.717088][ C2] addrconf_notify+0x749/0xd60 [ 175.717253][ C2] notifier_call_chain+0xcd/0x150 [ 175.717423][ C2] __dev_notify_flags+0xe6/0x250 [ 175.717598][ C2] dev_change_flags+0xec/0x160 [ 175.717766][ C2] do_setlink+0x7d6/0x21e0 [ 175.717937][ C2] __rtnl_newlink+0xaa7/0xd80 [ 175.718104][ C2] rtnl_newlink+0x63/0xa0 [ 175.718272][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 175.718436][ C2] netlink_rcv_skb+0x130/0x360 [ 175.718680][ C2] netlink_unicast+0x449/0x710 [ 175.718848][ C2] netlink_sendmsg+0x723/0xbe0 [ 175.719013][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 175.719258][ C2] ___sys_sendmsg+0xee/0x170 [ 175.719424][ C2] __sys_sendmsg+0xcd/0x170 [ 175.719587][ C2] do_syscall_64+0xc6/0x1e0 [ 175.719842][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 175.720045][ C2] HARDIRQ-ON-R at: [ 175.720147][ C2] __lock_acquire+0x797/0x1570 [ 175.720312][ C2] lock_acquire.part.0+0xeb/0x330 [ 175.720557][ C2] _raw_read_lock_bh+0x44/0x80 [ 175.720721][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 175.720889][ C2] inet6_fill_link_af+0x5e/0xe0 [ 175.721129][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 175.721301][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 175.721466][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 175.721665][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 175.721905][ C2] register_netdevice+0x1177/0x1690 [ 175.722069][ C2] register_netdev+0x20/0x40 [ 175.722234][ C2] vti6_init_net+0x25d/0x380 [ 175.722485][ C2] ops_init+0x9b/0x560 [ 175.722618][ C2] register_pernet_operations+0x2db/0x710 [ 175.722817][ C2] register_pernet_device+0x2a/0x60 [ 175.722983][ C2] vti6_tunnel_init+0x18/0x110 [ 175.723148][ C2] do_one_initcall+0x8d/0x1e0 [ 175.723317][ C2] do_initcalls+0x1b2/0x3e0 [ 175.723492][ C2] kernel_init_freeable+0x232/0x310 [ 175.723813][ C2] kernel_init+0x20/0x200 [ 175.723980][ C2] ret_from_fork+0x31/0x70 [ 175.724149][ C2] ret_from_fork_asm+0x1a/0x30 [ 175.724407][ C2] IN-SOFTIRQ-W at: [ 175.724507][ C2] __lock_acquire+0x797/0x1570 [ 175.724673][ C2] lock_acquire.part.0+0xeb/0x330 [ 175.724838][ C2] _raw_write_lock+0x30/0x40 [ 175.725008][ C2] addrconf_rs_timer+0xa9/0x730 [ 175.725175][ C2] call_timer_fn+0x13b/0x230 [ 175.725344][ C2] __run_timers+0x545/0x810 [ 175.725513][ C2] run_timer_softirq+0xe8/0x1b0 [ 175.725677][ C2] __do_softirq+0x1f8/0x5df [ 175.725841][ C2] irq_exit_rcu+0x97/0xc0 [ 175.726012][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 175.726289][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 175.726486][ C2] default_idle+0xf/0x20 [ 175.726648][ C2] default_idle_call+0x6d/0xb0 [ 175.726887][ C2] cpuidle_idle_call+0x1f4/0x280 [ 175.727053][ C2] do_idle+0xf9/0x160 [ 175.727191][ C2] cpu_startup_entry+0x54/0x60 [ 175.727435][ C2] start_secondary+0x21c/0x2b0 [ 175.727605][ C2] common_startup_64+0x12c/0x138 [ 175.727771][ C2] INITIAL USE at: [ 175.727871][ C2] __lock_acquire+0x797/0x1570 [ 175.728110][ C2] lock_acquire.part.0+0xeb/0x330 [ 175.728276][ C2] _raw_write_lock_bh+0x38/0x50 [ 175.728460][ C2] addrconf_permanent_addr+0x6e/0x670 [ 175.728628][ C2] addrconf_notify+0x749/0xd60 [ 175.728868][ C2] notifier_call_chain+0xcd/0x150 [ 175.729033][ C2] __dev_notify_flags+0xe6/0x250 [ 175.729198][ C2] dev_change_flags+0xec/0x160 [ 175.729479][ C2] do_setlink+0x7d6/0x21e0 [ 175.729646][ C2] __rtnl_newlink+0xaa7/0xd80 [ 175.729819][ C2] rtnl_newlink+0x63/0xa0 [ 175.729984][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 175.730149][ C2] netlink_rcv_skb+0x130/0x360 [ 175.730325][ C2] netlink_unicast+0x449/0x710 [ 175.730492][ C2] netlink_sendmsg+0x723/0xbe0 [ 175.730663][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 175.730831][ C2] ___sys_sendmsg+0xee/0x170 [ 175.730998][ C2] __sys_sendmsg+0xcd/0x170 [ 175.731165][ C2] do_syscall_64+0xc6/0x1e0 [ 175.731330][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 175.731526][ C2] INITIAL READ USE at: [ 175.731625][ C2] __lock_acquire+0x797/0x1570 [ 175.731866][ C2] lock_acquire.part.0+0xeb/0x330 [ 175.732037][ C2] _raw_read_lock_bh+0x44/0x80 [ 175.732210][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 175.732485][ C2] inet6_fill_link_af+0x5e/0xe0 [ 175.732651][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 175.732815][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 175.733088][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 175.733285][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 175.733450][ C2] register_netdevice+0x1177/0x1690 [ 175.733801][ C2] register_netdev+0x20/0x40 [ 175.733965][ C2] vti6_init_net+0x25d/0x380 [ 175.734129][ C2] ops_init+0x9b/0x560 [ 175.734307][ C2] register_pernet_operations+0x2db/0x710 [ 175.734591][ C2] register_pernet_device+0x2a/0x60 [ 175.734786][ C2] vti6_tunnel_init+0x18/0x110 [ 175.734951][ C2] do_one_initcall+0x8d/0x1e0 [ 175.735115][ C2] do_initcalls+0x1b2/0x3e0 [ 175.735282][ C2] kernel_init_freeable+0x232/0x310 [ 175.735481][ C2] kernel_init+0x20/0x200 [ 175.735721][ C2] ret_from_fork+0x31/0x70 [ 175.735886][ C2] ret_from_fork_asm+0x1a/0x30 [ 175.736051][ C2] } [ 175.736118][ C2] ... key at: [] __key.37+0x0/0x40 [ 175.736405][ C2] ... acquired at: [ 175.736504][ C2] mark_lock+0x28d/0x3e0 [ 175.736641][ C2] mark_usage+0xd9/0x2a0 [ 175.736773][ C2] __lock_acquire+0x797/0x1570 [ 175.736980][ C2] lock_acquire.part.0+0xeb/0x330 [ 175.737110][ C2] _raw_write_lock+0x30/0x40 [ 175.737244][ C2] addrconf_rs_timer+0xa9/0x730 [ 175.737375][ C2] call_timer_fn+0x13b/0x230 [ 175.737581][ C2] __run_timers+0x545/0x810 [ 175.737712][ C2] run_timer_softirq+0xe8/0x1b0 [ 175.737843][ C2] __do_softirq+0x1f8/0x5df [ 175.737979][ C2] irq_exit_rcu+0x97/0xc0 [ 175.738191][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 175.738360][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 175.738528][ C2] default_idle+0xf/0x20 [ 175.738658][ C2] default_idle_call+0x6d/0xb0 [ 175.738863][ C2] cpuidle_idle_call+0x1f4/0x280 [ 175.738994][ C2] do_idle+0xf9/0x160 [ 175.739092][ C2] cpu_startup_entry+0x54/0x60 [ 175.739230][ C2] start_secondary+0x21c/0x2b0 [ 175.739367][ C2] common_startup_64+0x12c/0x138 [ 175.739570][ C2] [ 175.739636][ C2] [ 175.739636][ C2] stack backtrace: [ 175.739809][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 175.740011][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 175.740377][ C2] Call Trace: [ 175.740489][ C2] [ 175.740561][ C2] dump_stack_lvl+0x82/0xd0 [ 175.740771][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 175.740936][ C2] ? kernel_text_address+0x17/0xe0 [ 175.741072][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 175.741236][ C2] ? __pfx_usage_skip+0x10/0x10 [ 175.741450][ C2] ? __pfx_usage_match+0x10/0x10 [ 175.741580][ C2] ? arch_stack_walk+0x8c/0xf0 [ 175.741713][ C2] mark_lock_irq+0x4cd/0xa10 [ 175.741849][ C2] ? common_startup_64+0x12c/0x138 [ 175.741980][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 175.742112][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 175.742247][ C2] ? save_trace+0x8f/0x5b0 [ 175.742379][ C2] mark_lock+0x28d/0x3e0 [ 175.742480][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 175.742685][ C2] mark_usage+0xd9/0x2a0 [ 175.742786][ C2] __lock_acquire+0x797/0x1570 [ 175.742923][ C2] ? __pfx_validate_chain+0x10/0x10 [ 175.743055][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 175.743265][ C2] lock_acquire.part.0+0xeb/0x330 [ 175.743396][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 175.743526][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 175.743657][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 175.743788][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 175.744062][ C2] ? lock_acquire+0x32/0xc0 [ 175.744197][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 175.744329][ C2] _raw_write_lock+0x30/0x40 [ 175.744459][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 175.744662][ C2] addrconf_rs_timer+0xa9/0x730 [ 175.744792][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 175.744922][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 175.745052][ C2] ? call_timer_fn+0xe8/0x230 [ 175.745254][ C2] ? lock_acquire+0x32/0xc0 [ 175.745386][ C2] ? call_timer_fn+0xe8/0x230 [ 175.745516][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 175.745643][ C2] call_timer_fn+0x13b/0x230 [ 175.745852][ C2] ? call_timer_fn+0xe8/0x230 [ 175.745983][ C2] ? call_timer_fn+0xe8/0x230 [ 175.746112][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 175.746242][ C2] ? mark_lock+0x38/0x3e0 [ 175.746345][ C2] __run_timers+0x545/0x810 [ 175.746550][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 175.746684][ C2] ? __pfx___run_timers+0x10/0x10 [ 175.746814][ C2] ? do_raw_spin_lock+0x131/0x270 [ 175.746946][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 175.747148][ C2] ? lock_acquire+0x32/0xc0 [ 175.747278][ C2] ? run_timer_softirq+0xe0/0x1b0 [ 175.747420][ C2] run_timer_softirq+0xe8/0x1b0 [ 175.747549][ C2] __do_softirq+0x1f8/0x5df [ 175.747757][ C2] irq_exit_rcu+0x97/0xc0 [ 175.747857][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 175.747993][ C2] [ 175.748067][ C2] [ 175.748133][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 175.748308][ C2] RIP: 0010:default_idle+0xf/0x20 [ 175.748523][ 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 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 [ 175.749062][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000242 [ 175.749232][ C2] RAX: 000000000069d53d RBX: 1ffff9200002bfc1 RCX: ffffffffa2f31ea5 [ 175.749429][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa06ac1d4 [ 175.749715][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 175.749912][ C2] R10: ffff8880361384e3 R11: ffff88803613de40 R12: 0000000000000000 [ 175.750119][ C2] R13: ffff888001b8c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 175.750434][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 175.750565][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 175.750699][ C2] default_idle_call+0x6d/0xb0 [ 175.750835][ C2] cpuidle_idle_call+0x1f4/0x280 [ 175.750969][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 175.751100][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 175.751239][ C2] do_idle+0xf9/0x160 [ 175.751342][ C2] cpu_startup_entry+0x54/0x60 [ 175.751474][ C2] start_secondary+0x21c/0x2b0 [ 175.751607][ C2] ? __pfx_start_secondary+0x10/0x10 [ 175.751739][ C2] common_startup_64+0x12c/0x138 [ 175.751873][ C2] [ 281.854085][ T2306] veth2: entered promiscuous mode [ 281.911683][ T2306] veth2: left promiscuous mode