[ 24.886142][ T236] ip (236) used greatest stack depth: 23744 bytes left [ 27.599229][ T272] 8021q: 802.1Q VLAN Support v1.8 [ 31.723651][ T307] br1: port 1(veth1) entered blocking state [ 31.724112][ T307] br1: port 1(veth1) entered disabled state [ 31.724490][ T307] veth1: entered allmulticast mode [ 31.732720][ T307] veth1: entered promiscuous mode [ 31.864920][ T49] br1: port 1(veth1) entered blocking state [ 31.865518][ T49] br1: port 1(veth1) entered forwarding state [ 36.853463][ C1] [ 36.853638][ C1] ======================================================== [ 36.853844][ C1] WARNING: possible irq lock inversion dependency detected [ 36.854040][ C1] 6.9.0-rc1-virtme #1 Not tainted [ 36.854179][ C1] -------------------------------------------------------- [ 36.854380][ C1] swapper/1/0 just changed the state of lock: [ 36.854554][ C1] ffff888004c16d80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 36.854806][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 36.855014][ C1] (&p->alloc_lock){+.+.}-{2:2} [ 36.855018][ C1] [ 36.855018][ C1] [ 36.855018][ C1] and interrupts could create inverse lock ordering between them. [ 36.855018][ C1] [ 36.855522][ C1] [ 36.855522][ C1] other info that might help us debug this: [ 36.855713][ C1] Possible interrupt unsafe locking scenario: [ 36.855713][ C1] [ 36.855909][ C1] CPU0 CPU1 [ 36.856053][ C1] ---- ---- [ 36.856189][ C1] lock(&p->alloc_lock); [ 36.856297][ C1] local_irq_disable(); [ 36.856472][ C1] lock(&ndev->lock); [ 36.856645][ C1] lock(&p->alloc_lock); [ 36.856811][ C1] [ 36.856914][ C1] lock(&ndev->lock); [ 36.857023][ C1] [ 36.857023][ C1] *** DEADLOCK *** [ 36.857023][ C1] [ 36.857221][ C1] 1 lock held by swapper/1/0: [ 36.857355][ C1] #0: ffffc900001d8d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 36.857594][ C1] [ 36.857594][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 36.857819][ C1] -> (&p->alloc_lock){+.+.}-{2:2} { [ 36.857957][ C1] HARDIRQ-ON-W at: [ 36.858067][ C1] __lock_acquire+0x797/0x1570 [ 36.858250][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.858432][ C1] _raw_spin_lock+0x30/0x40 [ 36.858606][ C1] set_mems_allowed+0x1d/0x210 [ 36.858779][ C1] kernel_init_freeable+0x72/0x310 [ 36.858949][ C1] kernel_init+0x20/0x200 [ 36.859116][ C1] ret_from_fork+0x31/0x70 [ 36.859283][ C1] ret_from_fork_asm+0x1a/0x30 [ 36.859448][ C1] SOFTIRQ-ON-W at: [ 36.859548][ C1] __lock_acquire+0x797/0x1570 [ 36.859714][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.859886][ C1] _raw_spin_lock+0x30/0x40 [ 36.860088][ C1] set_mems_allowed+0x1d/0x210 [ 36.860256][ C1] kernel_init_freeable+0x72/0x310 [ 36.860421][ C1] kernel_init+0x20/0x200 [ 36.860590][ C1] ret_from_fork+0x31/0x70 [ 36.860757][ C1] ret_from_fork_asm+0x1a/0x30 [ 36.860928][ C1] INITIAL USE at: [ 36.861027][ C1] __lock_acquire+0x797/0x1570 [ 36.861194][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.861361][ C1] _raw_spin_lock+0x30/0x40 [ 36.861531][ C1] set_mems_allowed+0x1d/0x210 [ 36.861698][ C1] kernel_init_freeable+0x72/0x310 [ 36.861876][ C1] kernel_init+0x20/0x200 [ 36.862041][ C1] ret_from_fork+0x31/0x70 [ 36.862212][ C1] ret_from_fork_asm+0x1a/0x30 [ 36.862381][ C1] } [ 36.862455][ C1] ... key at: [] __key.387+0x0/0x40 [ 36.862670][ C1] ... acquired at: [ 36.862769][ C1] __lock_acquire+0xaf0/0x1570 [ 36.862909][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.863054][ C1] _raw_spin_lock+0x30/0x40 [ 36.863189][ C1] __get_task_comm+0x27/0x70 [ 36.863326][ C1] ref_tracker_alloc+0x2ee/0x490 [ 36.863465][ C1] netdev_get_by_index+0x5e/0x80 [ 36.863600][ C1] fib6_nh_init+0x3d8/0x15b0 [ 36.863739][ C1] ip6_route_info_create+0xf18/0x17d0 [ 36.863871][ C1] addrconf_f6i_alloc+0x265/0x560 [ 36.864011][ C1] __ipv6_dev_ac_inc+0x25f/0xb10 [ 36.864149][ C1] addrconf_join_anycast+0x1c0/0x220 [ 36.864288][ C1] dev_forward_change+0x2a6/0x7b0 [ 36.864421][ C1] addrconf_fixup_forwarding+0x23f/0x460 [ 36.864587][ C1] addrconf_sysctl_forward+0x212/0x2b0 [ 36.864718][ C1] proc_sys_call_handler+0x403/0x5e0 [ 36.864856][ C1] vfs_write+0x9e5/0x10a0 [ 36.864990][ C1] ksys_write+0xf5/0x1e0 [ 36.865124][ C1] do_syscall_64+0xc6/0x1e0 [ 36.865258][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 36.865454][ C1] [ 36.865531][ C1] -> (&ndev->lock){++-.}-{2:2} { [ 36.865671][ C1] HARDIRQ-ON-W at: [ 36.865771][ C1] __lock_acquire+0x797/0x1570 [ 36.865942][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.866111][ C1] _raw_write_lock_bh+0x38/0x50 [ 36.866300][ C1] addrconf_permanent_addr+0x6e/0x670 [ 36.866466][ C1] addrconf_notify+0x749/0xd60 [ 36.866638][ C1] notifier_call_chain+0xcd/0x150 [ 36.866808][ C1] __dev_notify_flags+0xe6/0x250 [ 36.866973][ C1] dev_change_flags+0xec/0x160 [ 36.867138][ C1] do_setlink+0x7d6/0x21e0 [ 36.867330][ C1] __rtnl_newlink+0xaa7/0xd80 [ 36.867500][ C1] rtnl_newlink+0x63/0xa0 [ 36.867664][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 36.867837][ C1] netlink_rcv_skb+0x130/0x360 [ 36.868006][ C1] netlink_unicast+0x449/0x710 [ 36.868170][ C1] netlink_sendmsg+0x723/0xbe0 [ 36.868341][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 36.868517][ C1] ___sys_sendmsg+0xee/0x170 [ 36.868682][ C1] __sys_sendmsg+0xcd/0x170 [ 36.868860][ C1] do_syscall_64+0xc6/0x1e0 [ 36.869034][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 36.869235][ C1] HARDIRQ-ON-R at: [ 36.869334][ C1] __lock_acquire+0x797/0x1570 [ 36.869506][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.869682][ C1] _raw_read_lock_bh+0x44/0x80 [ 36.869849][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 36.870029][ C1] inet6_fill_link_af+0x5e/0xe0 [ 36.870199][ C1] rtnl_fill_ifinfo+0x1612/0x29e0 [ 36.870374][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 36.870545][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 36.870751][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 36.870919][ C1] register_netdevice+0x1177/0x1690 [ 36.871088][ C1] register_netdev+0x20/0x40 [ 36.871256][ C1] sit_init_net+0x250/0x4f0 [ 36.871426][ C1] ops_init+0x9b/0x560 [ 36.871560][ C1] register_pernet_operations+0x2db/0x710 [ 36.871765][ C1] register_pernet_device+0x2a/0x60 [ 36.871931][ C1] sit_init+0x23/0xe0 [ 36.872065][ C1] do_one_initcall+0x8d/0x1e0 [ 36.872233][ C1] do_initcalls+0x1b2/0x3e0 [ 36.872407][ C1] kernel_init_freeable+0x232/0x310 [ 36.872574][ C1] kernel_init+0x20/0x200 [ 36.872742][ C1] ret_from_fork+0x31/0x70 [ 36.872909][ C1] ret_from_fork_asm+0x1a/0x30 [ 36.873078][ C1] IN-SOFTIRQ-W at: [ 36.873179][ C1] __lock_acquire+0x797/0x1570 [ 36.873345][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.873519][ C1] _raw_write_lock+0x30/0x40 [ 36.873691][ C1] addrconf_rs_timer+0xa9/0x730 [ 36.873860][ C1] call_timer_fn+0x13b/0x230 [ 36.874035][ C1] __run_timers+0x545/0x810 [ 36.874206][ C1] run_timer_softirq+0xe8/0x1b0 [ 36.874368][ C1] __do_softirq+0x1f8/0x5df [ 36.874531][ C1] irq_exit_rcu+0x97/0xc0 [ 36.874712][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 36.874917][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 36.875119][ C1] default_idle+0xf/0x20 [ 36.875287][ C1] default_idle_call+0x6d/0xb0 [ 36.875473][ C1] cpuidle_idle_call+0x1f4/0x280 [ 36.875645][ C1] do_idle+0xf9/0x160 [ 36.875778][ C1] cpu_startup_entry+0x54/0x60 [ 36.875946][ C1] start_secondary+0x21c/0x2b0 [ 36.876124][ C1] common_startup_64+0x12c/0x138 [ 36.876307][ C1] INITIAL USE at: [ 36.876409][ C1] __lock_acquire+0x797/0x1570 [ 36.876577][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.876747][ C1] _raw_write_lock_bh+0x38/0x50 [ 36.876914][ C1] addrconf_permanent_addr+0x6e/0x670 [ 36.877089][ C1] addrconf_notify+0x749/0xd60 [ 36.877252][ C1] notifier_call_chain+0xcd/0x150 [ 36.877415][ C1] __dev_notify_flags+0xe6/0x250 [ 36.877581][ C1] dev_change_flags+0xec/0x160 [ 36.877744][ C1] do_setlink+0x7d6/0x21e0 [ 36.877913][ C1] __rtnl_newlink+0xaa7/0xd80 [ 36.878079][ C1] rtnl_newlink+0x63/0xa0 [ 36.878249][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 36.878417][ C1] netlink_rcv_skb+0x130/0x360 [ 36.878584][ C1] netlink_unicast+0x449/0x710 [ 36.878754][ C1] netlink_sendmsg+0x723/0xbe0 [ 36.878920][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 36.879087][ C1] ___sys_sendmsg+0xee/0x170 [ 36.879251][ C1] __sys_sendmsg+0xcd/0x170 [ 36.879426][ C1] do_syscall_64+0xc6/0x1e0 [ 36.879591][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 36.879789][ C1] INITIAL READ USE at: [ 36.879894][ C1] __lock_acquire+0x797/0x1570 [ 36.880059][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.880222][ C1] _raw_read_lock_bh+0x44/0x80 [ 36.880392][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 36.880593][ C1] inet6_fill_link_af+0x5e/0xe0 [ 36.880758][ C1] rtnl_fill_ifinfo+0x1612/0x29e0 [ 36.880929][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 36.881127][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 36.881323][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 36.881493][ C1] register_netdevice+0x1177/0x1690 [ 36.881695][ C1] register_netdev+0x20/0x40 [ 36.881859][ C1] sit_init_net+0x250/0x4f0 [ 36.882023][ C1] ops_init+0x9b/0x560 [ 36.882187][ C1] register_pernet_operations+0x2db/0x710 [ 36.882383][ C1] register_pernet_device+0x2a/0x60 [ 36.882585][ C1] sit_init+0x23/0xe0 [ 36.882759][ C1] do_one_initcall+0x8d/0x1e0 [ 36.882926][ C1] do_initcalls+0x1b2/0x3e0 [ 36.883100][ C1] kernel_init_freeable+0x232/0x310 [ 36.883299][ C1] kernel_init+0x20/0x200 [ 36.883460][ C1] ret_from_fork+0x31/0x70 [ 36.883629][ C1] ret_from_fork_asm+0x1a/0x30 [ 36.883793][ C1] } [ 36.883863][ C1] ... key at: [] __key.37+0x0/0x40 [ 36.884061][ C1] ... acquired at: [ 36.884161][ C1] mark_lock+0x28d/0x3e0 [ 36.884294][ C1] mark_usage+0xd9/0x2a0 [ 36.884426][ C1] __lock_acquire+0x797/0x1570 [ 36.884557][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.884693][ C1] _raw_write_lock+0x30/0x40 [ 36.884824][ C1] addrconf_rs_timer+0xa9/0x730 [ 36.884956][ C1] call_timer_fn+0x13b/0x230 [ 36.885086][ C1] __run_timers+0x545/0x810 [ 36.885219][ C1] run_timer_softirq+0xe8/0x1b0 [ 36.885349][ C1] __do_softirq+0x1f8/0x5df [ 36.885506][ C1] irq_exit_rcu+0x97/0xc0 [ 36.885641][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 36.885806][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 36.885968][ C1] default_idle+0xf/0x20 [ 36.886102][ C1] default_idle_call+0x6d/0xb0 [ 36.886235][ C1] cpuidle_idle_call+0x1f4/0x280 [ 36.886366][ C1] do_idle+0xf9/0x160 [ 36.886465][ C1] cpu_startup_entry+0x54/0x60 [ 36.886595][ C1] start_secondary+0x21c/0x2b0 [ 36.886728][ C1] common_startup_64+0x12c/0x138 [ 36.886860][ C1] [ 36.886929][ C1] [ 36.886929][ C1] stack backtrace: [ 36.887089][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.9.0-rc1-virtme #1 [ 36.887288][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 36.887584][ C1] Call Trace: [ 36.887683][ C1] [ 36.887759][ C1] dump_stack_lvl+0x82/0xd0 [ 36.887899][ C1] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 36.888066][ C1] ? kernel_text_address+0x17/0xe0 [ 36.888203][ C1] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 36.888366][ C1] ? __pfx_usage_skip+0x10/0x10 [ 36.888499][ C1] ? __pfx_usage_match+0x10/0x10 [ 36.888628][ C1] ? arch_stack_walk+0x8c/0xf0 [ 36.888765][ C1] mark_lock_irq+0x4cd/0xa10 [ 36.888896][ C1] ? common_startup_64+0x12c/0x138 [ 36.889029][ C1] ? __pfx_mark_lock_irq+0x10/0x10 [ 36.889161][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 36.889292][ C1] ? save_trace+0x8f/0x5b0 [ 36.889425][ C1] mark_lock+0x28d/0x3e0 [ 36.889526][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 36.889654][ C1] mark_usage+0xd9/0x2a0 [ 36.889754][ C1] __lock_acquire+0x797/0x1570 [ 36.889886][ C1] ? hlock_class+0x4e/0x130 [ 36.890018][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 36.890156][ C1] lock_acquire.part.0+0xeb/0x330 [ 36.890298][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 36.890430][ C1] ? ct_nmi_exit+0x85/0x100 [ 36.890563][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 36.890694][ C1] ? trace_lock_acquire+0x135/0x1c0 [ 36.890823][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 36.890951][ C1] ? lock_acquire+0x32/0xc0 [ 36.891081][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 36.891217][ C1] _raw_write_lock+0x30/0x40 [ 36.891348][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 36.891478][ C1] addrconf_rs_timer+0xa9/0x730 [ 36.891610][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 36.891743][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 36.891874][ C1] ? call_timer_fn+0xe8/0x230 [ 36.892003][ C1] ? lock_acquire+0x32/0xc0 [ 36.892137][ C1] ? call_timer_fn+0xe8/0x230 [ 36.892266][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 36.892403][ C1] call_timer_fn+0x13b/0x230 [ 36.892535][ C1] ? call_timer_fn+0xe8/0x230 [ 36.892667][ C1] ? call_timer_fn+0xe8/0x230 [ 36.892795][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 36.892927][ C1] ? mark_lock+0x38/0x3e0 [ 36.893029][ C1] __run_timers+0x545/0x810 [ 36.893158][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 36.893287][ C1] ? __pfx___run_timers+0x10/0x10 [ 36.893423][ C1] ? do_raw_spin_lock+0x131/0x270 [ 36.893563][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 36.893694][ C1] ? lock_acquire+0x32/0xc0 [ 36.893825][ C1] ? run_timer_softirq+0xe0/0x1b0 [ 36.893956][ C1] run_timer_softirq+0xe8/0x1b0 [ 36.894088][ C1] __do_softirq+0x1f8/0x5df [ 36.894221][ C1] irq_exit_rcu+0x97/0xc0 [ 36.894322][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 36.894452][ C1] [ 36.894524][ C1] [ 36.894590][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 36.894759][ C1] RIP: 0010:default_idle+0xf/0x20 [ 36.894903][ 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 93 20 35 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.895388][ C1] RSP: 0018:ffffc9000014fdf8 EFLAGS: 00000246 [ 36.895562][ C1] RAX: 0000000000085965 RBX: 1ffff92000029fc1 RCX: ffffffffa090f9e5 [ 36.895767][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9e2aa4a4 [ 36.895964][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c1709c [ 36.896159][ C1] R10: ffff8880360b84e3 R11: ffff8880360ad9b0 R12: 0000000000000000 [ 36.896356][ C1] R13: ffff888001b7a300 R14: dffffc0000000000 R15: 0000000000000000 [ 36.896558][ C1] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 36.896692][ C1] ? cpuidle_idle_call+0x1f4/0x280 [ 36.896827][ C1] default_idle_call+0x6d/0xb0 [ 36.896961][ C1] cpuidle_idle_call+0x1f4/0x280 [ 36.897091][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 36.897222][ C1] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 36.897355][ C1] do_idle+0xf9/0x160 [ 36.897457][ C1] cpu_startup_entry+0x54/0x60 [ 36.897595][ C1] start_secondary+0x21c/0x2b0 [ 36.897727][ C1] ? __pfx_start_secondary+0x10/0x10 [ 36.897857][ C1] common_startup_64+0x12c/0x138 [ 36.897994][ C1] [ 63.840203][ T399] br1: port 1(veth1) entered disabled state [ 63.943939][ T401] veth1: left allmulticast mode [ 63.944124][ T401] veth1: left promiscuous mode [ 63.944420][ T401] br1: port 1(veth1) entered disabled state