[ 24.302368][ T263] veth0: renamed from veth-rt-1 [ 25.745661][ T272] veth0: renamed from veth-rt-2 [ 27.721756][ T285] ip (285) used greatest stack depth: 24032 bytes left [ 35.108942][ C2] [ 35.109086][ C2] ======================================================== [ 35.109400][ C2] WARNING: possible irq lock inversion dependency detected [ 35.109710][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 35.109926][ C2] -------------------------------------------------------- [ 35.110239][ C2] swapper/2/0 just changed the state of lock: [ 35.110502][ C2] ffff8880064d2580 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 35.110884][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 35.111209][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 35.111217][ C2] [ 35.111217][ C2] [ 35.111217][ C2] and interrupts could create inverse lock ordering between them. [ 35.111217][ C2] [ 35.111991][ C2] [ 35.111991][ C2] other info that might help us debug this: [ 35.112315][ C2] Possible interrupt unsafe locking scenario: [ 35.112315][ C2] [ 35.112637][ C2] CPU0 CPU1 [ 35.112858][ C2] ---- ---- [ 35.113056][ C2] lock(&p->alloc_lock); [ 35.113220][ C2] local_irq_disable(); [ 35.113483][ C2] lock(&ndev->lock); [ 35.113747][ C2] lock(&p->alloc_lock); [ 35.114023][ C2] [ 35.114184][ C2] lock(&ndev->lock); [ 35.114347][ C2] [ 35.114347][ C2] *** DEADLOCK *** [ 35.114347][ C2] [ 35.114642][ C2] 1 lock held by swapper/2/0: [ 35.114859][ C2] #0: ffffc90000230b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 35.115237][ C2] [ 35.115237][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 35.115598][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 35.115825][ C2] HARDIRQ-ON-W at: [ 35.115989][ C2] __lock_acquire+0x797/0x1570 [ 35.116262][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.116548][ C2] _raw_spin_lock+0x30/0x40 [ 35.116820][ C2] set_mems_allowed+0x1d/0x210 [ 35.117098][ C2] kernel_init_freeable+0x72/0x310 [ 35.117370][ C2] kernel_init+0x20/0x200 [ 35.117631][ C2] ret_from_fork+0x31/0x70 [ 35.117902][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.118156][ C2] SOFTIRQ-ON-W at: [ 35.118320][ C2] __lock_acquire+0x797/0x1570 [ 35.118591][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.118860][ C2] _raw_spin_lock+0x30/0x40 [ 35.119131][ C2] set_mems_allowed+0x1d/0x210 [ 35.119395][ C2] kernel_init_freeable+0x72/0x310 [ 35.119654][ C2] kernel_init+0x20/0x200 [ 35.119911][ C2] ret_from_fork+0x31/0x70 [ 35.120168][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.120429][ C2] INITIAL USE at: [ 35.120582][ C2] __lock_acquire+0x797/0x1570 [ 35.120839][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.121097][ C2] _raw_spin_lock+0x30/0x40 [ 35.121354][ C2] set_mems_allowed+0x1d/0x210 [ 35.121606][ C2] kernel_init_freeable+0x72/0x310 [ 35.121869][ C2] kernel_init+0x20/0x200 [ 35.122127][ C2] ret_from_fork+0x31/0x70 [ 35.122386][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.122641][ C2] } [ 35.122746][ C2] ... key at: [] __key.388+0x0/0x40 [ 35.123077][ C2] ... acquired at: [ 35.123228][ C2] __lock_acquire+0xaf0/0x1570 [ 35.123441][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.123644][ C2] _raw_spin_lock+0x30/0x40 [ 35.123844][ C2] __get_task_comm+0x27/0x70 [ 35.124047][ C2] ref_tracker_alloc+0x2ee/0x490 [ 35.124250][ C2] netdev_get_by_index+0x5e/0x80 [ 35.124454][ C2] fib6_nh_init+0x3d8/0x1580 [ 35.124658][ C2] ip6_route_info_create+0xf18/0x17d0 [ 35.124859][ C2] ip6_route_add+0x1c/0x140 [ 35.125065][ C2] addrconf_prefix_route+0x2a6/0x430 [ 35.125266][ C2] addrconf_permanent_addr+0x32f/0x670 [ 35.125472][ C2] addrconf_notify+0x749/0xd60 [ 35.125675][ C2] notifier_call_chain+0xcd/0x150 [ 35.125883][ C2] __dev_notify_flags+0xe6/0x250 [ 35.126102][ C2] dev_change_flags+0xec/0x160 [ 35.126317][ C2] do_setlink+0x7d6/0x21e0 [ 35.126530][ C2] __rtnl_newlink+0xaa7/0xd80 [ 35.126750][ C2] rtnl_newlink+0x63/0xa0 [ 35.126957][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.127174][ C2] netlink_rcv_skb+0x130/0x360 [ 35.127397][ C2] netlink_unicast+0x449/0x710 [ 35.127612][ C2] netlink_sendmsg+0x723/0xbe0 [ 35.127828][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 35.128039][ C2] ___sys_sendmsg+0xee/0x170 [ 35.128251][ C2] __sys_sendmsg+0xcd/0x170 [ 35.128458][ C2] do_syscall_64+0xc6/0x1e0 [ 35.128675][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.128946][ C2] [ 35.129051][ C2] -> (&ndev->lock){++-.}-{2:2} { [ 35.129268][ C2] HARDIRQ-ON-W at: [ 35.129437][ C2] __lock_acquire+0x797/0x1570 [ 35.129704][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.129974][ C2] _raw_write_lock_bh+0x38/0x50 [ 35.130251][ C2] addrconf_permanent_addr+0x6e/0x670 [ 35.130524][ C2] addrconf_notify+0x749/0xd60 [ 35.130786][ C2] notifier_call_chain+0xcd/0x150 [ 35.131055][ C2] __dev_notify_flags+0xe6/0x250 [ 35.131328][ C2] dev_change_flags+0xec/0x160 [ 35.131587][ C2] do_setlink+0x7d6/0x21e0 [ 35.131856][ C2] __rtnl_newlink+0xaa7/0xd80 [ 35.132125][ C2] rtnl_newlink+0x63/0xa0 [ 35.132393][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.132663][ C2] netlink_rcv_skb+0x130/0x360 [ 35.132931][ C2] netlink_unicast+0x449/0x710 [ 35.133191][ C2] netlink_sendmsg+0x723/0xbe0 [ 35.133464][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 35.133735][ C2] ___sys_sendmsg+0xee/0x170 [ 35.134013][ C2] __sys_sendmsg+0xcd/0x170 [ 35.134280][ C2] do_syscall_64+0xc6/0x1e0 [ 35.134551][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.134865][ C2] HARDIRQ-ON-R at: [ 35.135025][ C2] __lock_acquire+0x797/0x1570 [ 35.135290][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.135714][ C2] _raw_read_lock_bh+0x44/0x80 [ 35.135985][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.136266][ C2] inet6_fill_link_af+0x5e/0xe0 [ 35.136556][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 35.136980][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.137255][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.137590][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 35.138137][ C2] register_netdevice+0x1177/0x1690 [ 35.138401][ C2] register_netdev+0x20/0x40 [ 35.138669][ C2] vti6_init_net+0x25d/0x380 [ 35.138938][ C2] ops_init+0x9b/0x560 [ 35.139147][ C2] register_pernet_operations+0x2db/0x710 [ 35.139463][ C2] register_pernet_device+0x2a/0x60 [ 35.139738][ C2] vti6_tunnel_init+0x18/0x110 [ 35.140146][ C2] do_one_initcall+0x8d/0x1e0 [ 35.140426][ C2] do_initcalls+0x1b2/0x3e0 [ 35.140689][ C2] kernel_init_freeable+0x232/0x310 [ 35.140957][ C2] kernel_init+0x20/0x200 [ 35.141225][ C2] ret_from_fork+0x31/0x70 [ 35.141500][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.141909][ C2] IN-SOFTIRQ-W at: [ 35.142072][ C2] __lock_acquire+0x797/0x1570 [ 35.142344][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.142604][ C2] _raw_write_lock+0x30/0x40 [ 35.142869][ C2] addrconf_rs_timer+0xa9/0x730 [ 35.143138][ C2] call_timer_fn+0x13b/0x230 [ 35.143415][ C2] __run_timers+0x545/0x810 [ 35.143680][ C2] timer_expire_remote+0x9b/0xe0 [ 35.144081][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.144339][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.144593][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.144852][ C2] __do_softirq+0x1f8/0x5df [ 35.145123][ C2] irq_exit_rcu+0x97/0xc0 [ 35.145400][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.145863][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.146166][ C2] default_idle+0xf/0x20 [ 35.146430][ C2] default_idle_call+0x6d/0xb0 [ 35.146822][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.147084][ C2] do_idle+0xf9/0x160 [ 35.147289][ C2] cpu_startup_entry+0x54/0x60 [ 35.147545][ C2] start_secondary+0x21c/0x2b0 [ 35.147936][ C2] common_startup_64+0x12c/0x138 [ 35.148192][ C2] INITIAL USE at: [ 35.148347][ C2] __lock_acquire+0x797/0x1570 [ 35.148607][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.148998][ C2] _raw_write_lock_bh+0x38/0x50 [ 35.149257][ C2] addrconf_permanent_addr+0x6e/0x670 [ 35.149516][ C2] addrconf_notify+0x749/0xd60 [ 35.149774][ C2] notifier_call_chain+0xcd/0x150 [ 35.150031][ C2] __dev_notify_flags+0xe6/0x250 [ 35.150299][ C2] dev_change_flags+0xec/0x160 [ 35.150574][ C2] do_setlink+0x7d6/0x21e0 [ 35.150983][ C2] __rtnl_newlink+0xaa7/0xd80 [ 35.151246][ C2] rtnl_newlink+0x63/0xa0 [ 35.151514][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.151918][ C2] netlink_rcv_skb+0x130/0x360 [ 35.152185][ C2] netlink_unicast+0x449/0x710 [ 35.152451][ C2] netlink_sendmsg+0x723/0xbe0 [ 35.152874][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 35.153131][ C2] ___sys_sendmsg+0xee/0x170 [ 35.153400][ C2] __sys_sendmsg+0xcd/0x170 [ 35.153672][ C2] do_syscall_64+0xc6/0x1e0 [ 35.154091][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.154404][ C2] INITIAL READ USE at: [ 35.154567][ C2] __lock_acquire+0x797/0x1570 [ 35.154840][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.155115][ C2] _raw_read_lock_bh+0x44/0x80 [ 35.155396][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.155731][ C2] inet6_fill_link_af+0x5e/0xe0 [ 35.156154][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 35.156425][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.156742][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.157061][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 35.157330][ C2] register_netdevice+0x1177/0x1690 [ 35.157646][ C2] register_netdev+0x20/0x40 [ 35.158051][ C2] vti6_init_net+0x25d/0x380 [ 35.158329][ C2] ops_init+0x9b/0x560 [ 35.158591][ C2] register_pernet_operations+0x2db/0x710 [ 35.158910][ C2] register_pernet_device+0x2a/0x60 [ 35.159224][ C2] vti6_tunnel_init+0x18/0x110 [ 35.159495][ C2] do_one_initcall+0x8d/0x1e0 [ 35.159901][ C2] do_initcalls+0x1b2/0x3e0 [ 35.160169][ C2] kernel_init_freeable+0x232/0x310 [ 35.160491][ C2] kernel_init+0x20/0x200 [ 35.160758][ C2] ret_from_fork+0x31/0x70 [ 35.161032][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.161293][ C2] } [ 35.161404][ C2] ... key at: [] __key.37+0x0/0x40 [ 35.161867][ C2] ... acquired at: [ 35.162024][ C2] mark_lock+0x28d/0x3e0 [ 35.162239][ C2] mark_usage+0xd9/0x2a0 [ 35.162447][ C2] __lock_acquire+0x797/0x1570 [ 35.162661][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.163027][ C2] _raw_write_lock+0x30/0x40 [ 35.163234][ C2] addrconf_rs_timer+0xa9/0x730 [ 35.163447][ C2] call_timer_fn+0x13b/0x230 [ 35.163656][ C2] __run_timers+0x545/0x810 [ 35.163871][ C2] timer_expire_remote+0x9b/0xe0 [ 35.164092][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.164305][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.164514][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.164862][ C2] __do_softirq+0x1f8/0x5df [ 35.165081][ C2] irq_exit_rcu+0x97/0xc0 [ 35.165302][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.165578][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.166011][ C2] default_idle+0xf/0x20 [ 35.166221][ C2] default_idle_call+0x6d/0xb0 [ 35.166451][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.166661][ C2] do_idle+0xf9/0x160 [ 35.166825][ C2] cpu_startup_entry+0x54/0x60 [ 35.167026][ C2] start_secondary+0x21c/0x2b0 [ 35.167231][ C2] common_startup_64+0x12c/0x138 [ 35.167436][ C2] [ 35.167536][ C2] [ 35.167536][ C2] stack backtrace: [ 35.167913][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 35.168215][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 35.168793][ C2] Call Trace: [ 35.168954][ C2] [ 35.169061][ C2] dump_stack_lvl+0x82/0xd0 [ 35.169272][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 35.169530][ C2] ? kernel_text_address+0x17/0xe0 [ 35.170022][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 35.170272][ C2] ? __pfx_usage_skip+0x10/0x10 [ 35.170476][ C2] ? __pfx_usage_match+0x10/0x10 [ 35.170673][ C2] ? arch_stack_walk+0x8c/0xf0 [ 35.170884][ C2] mark_lock_irq+0x4cd/0xa10 [ 35.171092][ C2] ? common_startup_64+0x12c/0x138 [ 35.171294][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 35.171504][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 35.171840][ C2] ? save_trace+0x8f/0x5b0 [ 35.172044][ C2] mark_lock+0x28d/0x3e0 [ 35.172197][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 35.172401][ C2] mark_usage+0xd9/0x2a0 [ 35.172555][ C2] __lock_acquire+0x797/0x1570 [ 35.172893][ C2] ? __pfx_validate_chain+0x10/0x10 [ 35.173096][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.173300][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.173506][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.173711][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.173913][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 35.174131][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.174353][ C2] ? lock_acquire+0x32/0xc0 [ 35.174576][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.174945][ C2] _raw_write_lock+0x30/0x40 [ 35.175155][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.175368][ C2] addrconf_rs_timer+0xa9/0x730 [ 35.175582][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.175929][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.176140][ C2] ? call_timer_fn+0xe8/0x230 [ 35.176359][ C2] ? lock_acquire+0x32/0xc0 [ 35.176572][ C2] ? call_timer_fn+0xe8/0x230 [ 35.176923][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.177133][ C2] call_timer_fn+0x13b/0x230 [ 35.177345][ C2] ? call_timer_fn+0xe8/0x230 [ 35.177558][ C2] ? call_timer_fn+0xe8/0x230 [ 35.177773][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 35.177984][ C2] ? mark_lock+0x38/0x3e0 [ 35.178149][ C2] __run_timers+0x545/0x810 [ 35.178361][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.178573][ C2] ? __pfx___run_timers+0x10/0x10 [ 35.178935][ C2] ? __lock_release+0x103/0x460 [ 35.179139][ C2] ? do_raw_spin_lock+0x131/0x270 [ 35.179359][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 35.179566][ C2] ? lock_acquire+0x32/0xc0 [ 35.179920][ C2] ? timer_expire_remote+0x93/0xe0 [ 35.180141][ C2] timer_expire_remote+0x9b/0xe0 [ 35.180348][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.180564][ C2] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 35.180831][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.181046][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.181262][ C2] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 35.181477][ C2] __do_softirq+0x1f8/0x5df [ 35.181832][ C2] irq_exit_rcu+0x97/0xc0 [ 35.181989][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.182212][ C2] [ 35.182326][ C2] [ 35.182441][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.182717][ C2] RIP: 0010:default_idle+0xf/0x20 [ 35.183105][ 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.183871][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000242 [ 35.184139][ C2] RAX: 0000000000103c15 RBX: 1ffff9200002bfc1 RCX: ffffffffa1b32ea5 [ 35.184452][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9f2ac1d4 [ 35.184921][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 35.185237][ C2] R10: ffff8880361384e3 R11: ffff88803613de40 R12: 0000000000000000 [ 35.185556][ C2] R13: ffff888001b8c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 35.186022][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 35.186235][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 35.186459][ C2] default_idle_call+0x6d/0xb0 [ 35.186673][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.186884][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 35.187096][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 35.187315][ C2] do_idle+0xf9/0x160 [ 35.187482][ C2] cpu_startup_entry+0x54/0x60 [ 35.187701][ C2] start_secondary+0x21c/0x2b0 [ 35.188063][ C2] ? __pfx_start_secondary+0x10/0x10 [ 35.188272][ C2] common_startup_64+0x12c/0x138 [ 35.188495][ C2]