[ 26.635149][ T273] 8021q: 802.1Q VLAN Support v1.8 [ 30.555058][ T308] br1: port 1(veth1) entered blocking state [ 30.555570][ T308] br1: port 1(veth1) entered disabled state [ 30.555976][ T308] veth1: entered allmulticast mode [ 30.558803][ T308] veth1: entered promiscuous mode [ 30.693959][ T51] br1: port 1(veth1) entered blocking state [ 30.694336][ T51] br1: port 1(veth1) entered forwarding state [ 35.947032][ C0] [ 35.947247][ C0] ======================================================== [ 35.947757][ C0] WARNING: possible irq lock inversion dependency detected [ 35.948118][ C0] 6.9.0-rc1-virtme #1 Not tainted [ 35.948363][ C0] -------------------------------------------------------- [ 35.948718][ C0] swapper/0/0 just changed the state of lock: [ 35.949019][ C0] ffff888005585580 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 35.949457][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 35.949817][ C0] (&p->alloc_lock){+.+.}-{2:2} [ 35.949825][ C0] [ 35.949825][ C0] [ 35.949825][ C0] and interrupts could create inverse lock ordering between them. [ 35.949825][ C0] [ 35.950731][ C0] [ 35.950731][ C0] other info that might help us debug this: [ 35.951095][ C0] Possible interrupt unsafe locking scenario: [ 35.951095][ C0] [ 35.951434][ C0] CPU0 CPU1 [ 35.951653][ C0] ---- ---- [ 35.951879][ C0] lock(&p->alloc_lock); [ 35.952074][ C0] local_irq_disable(); [ 35.952382][ C0] lock(&ndev->lock); [ 35.952688][ C0] lock(&p->alloc_lock); [ 35.952987][ C0] [ 35.953187][ C0] lock(&ndev->lock); [ 35.953373][ C0] [ 35.953373][ C0] *** DEADLOCK *** [ 35.953373][ C0] [ 35.953737][ C0] 1 lock held by swapper/0/0: [ 35.953987][ C0] #0: ffffc90000007b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 35.954413][ C0] [ 35.954413][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 35.954872][ C0] -> (&p->alloc_lock){+.+.}-{2:2} { [ 35.955134][ C0] HARDIRQ-ON-W at: [ 35.955330][ C0] __lock_acquire+0x797/0x1570 [ 35.955653][ C0] lock_acquire.part.0+0xeb/0x330 [ 35.955969][ C0] _raw_spin_lock+0x30/0x40 [ 35.956289][ C0] set_mems_allowed+0x1d/0x210 [ 35.956615][ C0] kernel_init_freeable+0x72/0x310 [ 35.956934][ C0] kernel_init+0x20/0x200 [ 35.957229][ C0] ret_from_fork+0x31/0x70 [ 35.957535][ C0] ret_from_fork_asm+0x1a/0x30 [ 35.957779][ C0] SOFTIRQ-ON-W at: [ 35.957925][ C0] __lock_acquire+0x797/0x1570 [ 35.958216][ C0] lock_acquire.part.0+0xeb/0x330 [ 35.958513][ C0] _raw_spin_lock+0x30/0x40 [ 35.958800][ C0] set_mems_allowed+0x1d/0x210 [ 35.959080][ C0] kernel_init_freeable+0x72/0x310 [ 35.959365][ C0] kernel_init+0x20/0x200 [ 35.959648][ C0] ret_from_fork+0x31/0x70 [ 35.959936][ C0] ret_from_fork_asm+0x1a/0x30 [ 35.960225][ C0] INITIAL USE at: [ 35.960390][ C0] __lock_acquire+0x797/0x1570 [ 35.960645][ C0] lock_acquire.part.0+0xeb/0x330 [ 35.960891][ C0] _raw_spin_lock+0x30/0x40 [ 35.961144][ C0] set_mems_allowed+0x1d/0x210 [ 35.961402][ C0] kernel_init_freeable+0x72/0x310 [ 35.961656][ C0] kernel_init+0x20/0x200 [ 35.961903][ C0] ret_from_fork+0x31/0x70 [ 35.962154][ C0] ret_from_fork_asm+0x1a/0x30 [ 35.962400][ C0] } [ 35.962509][ C0] ... key at: [] __key.387+0x0/0x40 [ 35.962820][ C0] ... acquired at: [ 35.962979][ C0] __lock_acquire+0xaf0/0x1570 [ 35.963218][ C0] lock_acquire.part.0+0xeb/0x330 [ 35.963429][ C0] _raw_spin_lock+0x30/0x40 [ 35.963638][ C0] __get_task_comm+0x27/0x70 [ 35.963861][ C0] ref_tracker_alloc+0x2ee/0x490 [ 35.964076][ C0] netdev_get_by_index+0x5e/0x80 [ 35.964286][ C0] fib6_nh_init+0x3d8/0x15b0 [ 35.964488][ C0] ip6_route_info_create+0xf18/0x17d0 [ 35.964682][ C0] addrconf_f6i_alloc+0x265/0x560 [ 35.964887][ C0] __ipv6_dev_ac_inc+0x25f/0xb10 [ 35.965084][ C0] addrconf_join_anycast+0x1c0/0x220 [ 35.965280][ C0] dev_forward_change+0x2a6/0x7b0 [ 35.965473][ C0] addrconf_fixup_forwarding+0x23f/0x460 [ 35.965717][ C0] addrconf_sysctl_forward+0x212/0x2b0 [ 35.965921][ C0] proc_sys_call_handler+0x403/0x5e0 [ 35.966133][ C0] vfs_write+0x9e5/0x10a0 [ 35.966343][ C0] ksys_write+0xf5/0x1e0 [ 35.966568][ C0] do_syscall_64+0xc6/0x1e0 [ 35.966788][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.967045][ C0] [ 35.967165][ C0] -> (&ndev->lock){++-.}-{2:2} { [ 35.967386][ C0] HARDIRQ-ON-W at: [ 35.967547][ C0] __lock_acquire+0x797/0x1570 [ 35.967816][ C0] lock_acquire.part.0+0xeb/0x330 [ 35.968095][ C0] _raw_write_lock_bh+0x38/0x50 [ 35.968365][ C0] addrconf_permanent_addr+0x6e/0x670 [ 35.968621][ C0] addrconf_notify+0x749/0xd60 [ 35.968881][ C0] notifier_call_chain+0xcd/0x150 [ 35.969143][ C0] __dev_notify_flags+0xe6/0x250 [ 35.969404][ C0] dev_change_flags+0xec/0x160 [ 35.969663][ C0] do_setlink+0x7d6/0x21e0 [ 35.969946][ C0] __rtnl_newlink+0xaa7/0xd80 [ 35.970231][ C0] rtnl_newlink+0x63/0xa0 [ 35.970505][ C0] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.970794][ C0] netlink_rcv_skb+0x130/0x360 [ 35.971075][ C0] netlink_unicast+0x449/0x710 [ 35.971355][ C0] netlink_sendmsg+0x723/0xbe0 [ 35.971634][ C0] ____sys_sendmsg+0x7b2/0xa10 [ 35.971925][ C0] ___sys_sendmsg+0xee/0x170 [ 35.972201][ C0] __sys_sendmsg+0xcd/0x170 [ 35.972445][ C0] do_syscall_64+0xc6/0x1e0 [ 35.972691][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.972987][ C0] HARDIRQ-ON-R at: [ 35.973148][ C0] __lock_acquire+0x797/0x1570 [ 35.973413][ C0] lock_acquire.part.0+0xeb/0x330 [ 35.973694][ C0] _raw_read_lock_bh+0x44/0x80 [ 35.973978][ C0] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.974255][ C0] inet6_fill_link_af+0x5e/0xe0 [ 35.974545][ C0] rtnl_fill_ifinfo+0x1612/0x29e0 [ 35.974836][ C0] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.975122][ C0] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.975472][ C0] rtmsg_ifinfo+0x5b/0xa0 [ 35.975758][ C0] register_netdevice+0x1177/0x1690 [ 35.976025][ C0] register_netdev+0x20/0x40 [ 35.976273][ C0] sit_init_net+0x250/0x4f0 [ 35.976520][ C0] ops_init+0x9b/0x560 [ 35.976719][ C0] register_pernet_operations+0x2db/0x710 [ 35.977016][ C0] register_pernet_device+0x2a/0x60 [ 35.977262][ C0] sit_init+0x23/0xe0 [ 35.977470][ C0] do_one_initcall+0x8d/0x1e0 [ 35.977732][ C0] do_initcalls+0x1b2/0x3e0 [ 35.977998][ C0] kernel_init_freeable+0x232/0x310 [ 35.978270][ C0] kernel_init+0x20/0x200 [ 35.978555][ C0] ret_from_fork+0x31/0x70 [ 35.978829][ C0] ret_from_fork_asm+0x1a/0x30 [ 35.979111][ C0] IN-SOFTIRQ-W at: [ 35.979269][ C0] __lock_acquire+0x797/0x1570 [ 35.979546][ C0] lock_acquire.part.0+0xeb/0x330 [ 35.979801][ C0] _raw_write_lock+0x30/0x40 [ 35.980049][ C0] addrconf_rs_timer+0xa9/0x730 [ 35.980300][ C0] call_timer_fn+0x13b/0x230 [ 35.980546][ C0] __run_timers+0x545/0x810 [ 35.980794][ C0] timer_expire_remote+0x9b/0xe0 [ 35.981040][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 35.981290][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.981553][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 35.981829][ C0] __do_softirq+0x1f8/0x5df [ 35.982092][ C0] irq_exit_rcu+0x97/0xc0 [ 35.982368][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.982692][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.983013][ C0] default_idle+0xf/0x20 [ 35.983311][ C0] default_idle_call+0x6d/0xb0 [ 35.983628][ C0] cpuidle_idle_call+0x1f4/0x280 [ 35.983890][ C0] do_idle+0xf9/0x160 [ 35.984096][ C0] cpu_startup_entry+0x54/0x60 [ 35.984355][ C0] rest_init+0x14f/0x260 [ 35.984601][ C0] start_kernel+0x318/0x3d0 [ 35.984849][ C0] x86_64_start_reservations+0x18/0x30 [ 35.985096][ C0] x86_64_start_kernel+0xba/0x110 [ 35.985367][ C0] common_startup_64+0x12c/0x138 [ 35.985641][ C0] INITIAL USE at: [ 35.985810][ C0] __lock_acquire+0x797/0x1570 [ 35.986061][ C0] lock_acquire.part.0+0xeb/0x330 [ 35.986327][ C0] _raw_write_lock_bh+0x38/0x50 [ 35.986603][ C0] addrconf_permanent_addr+0x6e/0x670 [ 35.986875][ C0] addrconf_notify+0x749/0xd60 [ 35.987141][ C0] notifier_call_chain+0xcd/0x150 [ 35.987423][ C0] __dev_notify_flags+0xe6/0x250 [ 35.987668][ C0] dev_change_flags+0xec/0x160 [ 35.987912][ C0] do_setlink+0x7d6/0x21e0 [ 35.988162][ C0] __rtnl_newlink+0xaa7/0xd80 [ 35.988429][ C0] rtnl_newlink+0x63/0xa0 [ 35.988707][ C0] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.988970][ C0] netlink_rcv_skb+0x130/0x360 [ 35.989243][ C0] netlink_unicast+0x449/0x710 [ 35.989478][ C0] netlink_sendmsg+0x723/0xbe0 [ 35.989720][ C0] ____sys_sendmsg+0x7b2/0xa10 [ 35.989968][ C0] ___sys_sendmsg+0xee/0x170 [ 35.990226][ C0] __sys_sendmsg+0xcd/0x170 [ 35.990481][ C0] do_syscall_64+0xc6/0x1e0 [ 35.990743][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.991071][ C0] INITIAL READ USE at: [ 35.991233][ C0] __lock_acquire+0x797/0x1570 [ 35.991504][ C0] lock_acquire.part.0+0xeb/0x330 [ 35.991759][ C0] _raw_read_lock_bh+0x44/0x80 [ 35.992012][ C0] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.992310][ C0] inet6_fill_link_af+0x5e/0xe0 [ 35.992555][ C0] rtnl_fill_ifinfo+0x1612/0x29e0 [ 35.992805][ C0] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.993097][ C0] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.993446][ C0] rtmsg_ifinfo+0x5b/0xa0 [ 35.993721][ C0] register_netdevice+0x1177/0x1690 [ 35.994037][ C0] register_netdev+0x20/0x40 [ 35.994302][ C0] sit_init_net+0x250/0x4f0 [ 35.994576][ C0] ops_init+0x9b/0x560 [ 35.994870][ C0] register_pernet_operations+0x2db/0x710 [ 35.995207][ C0] register_pernet_device+0x2a/0x60 [ 35.995545][ C0] sit_init+0x23/0xe0 [ 35.995747][ C0] do_one_initcall+0x8d/0x1e0 [ 35.995949][ C0] do_initcalls+0x1b2/0x3e0 [ 35.996155][ C0] kernel_init_freeable+0x232/0x310 [ 35.996396][ C0] kernel_init+0x20/0x200 [ 35.996600][ C0] ret_from_fork+0x31/0x70 [ 35.996807][ C0] ret_from_fork_asm+0x1a/0x30 [ 35.997010][ C0] } [ 35.997093][ C0] ... key at: [] __key.37+0x0/0x40 [ 35.997338][ C0] ... acquired at: [ 35.997458][ C0] mark_lock+0x28d/0x3e0 [ 35.997624][ C0] mark_usage+0xd9/0x2a0 [ 35.997784][ C0] __lock_acquire+0x797/0x1570 [ 35.997950][ C0] lock_acquire.part.0+0xeb/0x330 [ 35.998112][ C0] _raw_write_lock+0x30/0x40 [ 35.998276][ C0] addrconf_rs_timer+0xa9/0x730 [ 35.998436][ C0] call_timer_fn+0x13b/0x230 [ 35.998598][ C0] __run_timers+0x545/0x810 [ 35.998757][ C0] timer_expire_remote+0x9b/0xe0 [ 35.998920][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 35.999079][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.999243][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 35.999402][ C0] __do_softirq+0x1f8/0x5df [ 35.999561][ C0] irq_exit_rcu+0x97/0xc0 [ 35.999724][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.999925][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 36.000128][ C0] default_idle+0xf/0x20 [ 36.000290][ C0] default_idle_call+0x6d/0xb0 [ 36.000449][ C0] cpuidle_idle_call+0x1f4/0x280 [ 36.000614][ C0] do_idle+0xf9/0x160 [ 36.000736][ C0] cpu_startup_entry+0x54/0x60 [ 36.000897][ C0] rest_init+0x14f/0x260 [ 36.001059][ C0] start_kernel+0x318/0x3d0 [ 36.001221][ C0] x86_64_start_reservations+0x18/0x30 [ 36.001383][ C0] x86_64_start_kernel+0xba/0x110 [ 36.001543][ C0] common_startup_64+0x12c/0x138 [ 36.001704][ C0] [ 36.001785][ C0] [ 36.001785][ C0] stack backtrace: [ 36.001986][ C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.9.0-rc1-virtme #1 [ 36.002227][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 36.002585][ C0] Call Trace: [ 36.002703][ C0] [ 36.002785][ C0] dump_stack_lvl+0x82/0xd0 [ 36.002945][ C0] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 36.003154][ C0] ? kernel_text_address+0x17/0xe0 [ 36.003324][ C0] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 36.003521][ C0] ? __pfx_usage_skip+0x10/0x10 [ 36.003679][ C0] ? __pfx_usage_match+0x10/0x10 [ 36.003841][ C0] ? arch_stack_walk+0x8c/0xf0 [ 36.004001][ C0] mark_lock_irq+0x4cd/0xa10 [ 36.004160][ C0] ? common_startup_64+0x12c/0x138 [ 36.004319][ C0] ? __pfx_mark_lock_irq+0x10/0x10 [ 36.004482][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 36.004643][ C0] ? save_trace+0x8f/0x5b0 [ 36.004803][ C0] mark_lock+0x28d/0x3e0 [ 36.004924][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 36.005084][ C0] mark_usage+0xd9/0x2a0 [ 36.005206][ C0] __lock_acquire+0x797/0x1570 [ 36.005365][ C0] ? __pfx_validate_chain+0x10/0x10 [ 36.005523][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 36.005684][ C0] lock_acquire.part.0+0xeb/0x330 [ 36.005845][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 36.006002][ C0] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 36.006162][ C0] ? trace_lock_acquire+0x135/0x1c0 [ 36.006322][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 36.006483][ C0] ? lock_acquire+0x32/0xc0 [ 36.006641][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 36.006800][ C0] _raw_write_lock+0x30/0x40 [ 36.006959][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 36.007121][ C0] addrconf_rs_timer+0xa9/0x730 [ 36.007279][ C0] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 36.007435][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 36.007592][ C0] ? call_timer_fn+0xe8/0x230 [ 36.007751][ C0] ? lock_acquire+0x32/0xc0 [ 36.007909][ C0] ? call_timer_fn+0xe8/0x230 [ 36.008068][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 36.008228][ C0] call_timer_fn+0x13b/0x230 [ 36.008389][ C0] ? call_timer_fn+0xe8/0x230 [ 36.008550][ C0] ? call_timer_fn+0xe8/0x230 [ 36.008709][ C0] ? __pfx_call_timer_fn+0x10/0x10 [ 36.008868][ C0] ? mark_lock+0x38/0x3e0 [ 36.008993][ C0] __run_timers+0x545/0x810 [ 36.009152][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 36.009314][ C0] ? __pfx___run_timers+0x10/0x10 [ 36.009474][ C0] ? __lock_release+0x103/0x460 [ 36.009635][ C0] ? do_raw_spin_lock+0x131/0x270 [ 36.009797][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 36.009960][ C0] ? lock_acquire+0x32/0xc0 [ 36.010120][ C0] ? timer_expire_remote+0x93/0xe0 [ 36.010284][ C0] timer_expire_remote+0x9b/0xe0 [ 36.010443][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 36.010607][ C0] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 36.010809][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 36.010972][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 36.011137][ C0] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 36.011302][ C0] __do_softirq+0x1f8/0x5df [ 36.011463][ C0] irq_exit_rcu+0x97/0xc0 [ 36.011584][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 36.011746][ C0] [ 36.011828][ C0] [ 36.011910][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 36.012111][ C0] RIP: 0010:default_idle+0xf/0x20 [ 36.012287][ C0] 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 a3 30 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.012852][ C0] RSP: 0018:ffffffff8ca07e00 EFLAGS: 00000246 [ 36.013055][ C0] RAX: 00000000000acaa3 RBX: 1ffffffff1940fc2 RCX: ffffffff8bb0e9d5 [ 36.013306][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff894aa4a4 [ 36.013565][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005f0709c [ 36.013788][ C0] R10: ffff88802f8384e3 R11: ffff88802f82d9b0 R12: 0000000000000000 [ 36.014011][ C0] R13: ffffffff8ca1d000 R14: dffffc0000000000 R15: 0000000000014770 [ 36.014236][ C0] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 36.014386][ C0] ? cpuidle_idle_call+0x1f4/0x280 [ 36.014541][ C0] default_idle_call+0x6d/0xb0 [ 36.014692][ C0] cpuidle_idle_call+0x1f4/0x280 [ 36.014838][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 36.014985][ C0] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 36.015138][ C0] do_idle+0xf9/0x160 [ 36.015253][ C0] cpu_startup_entry+0x54/0x60 [ 36.015403][ C0] rest_init+0x14f/0x260 [ 36.015515][ C0] start_kernel+0x318/0x3d0 [ 36.015662][ C0] x86_64_start_reservations+0x18/0x30 [ 36.015812][ C0] x86_64_start_kernel+0xba/0x110 [ 36.015963][ C0] common_startup_64+0x12c/0x138 [ 36.016115][ C0] [ 62.433124][ T399] br1: port 1(veth1) entered disabled state [ 62.549610][ T400] veth1: left allmulticast mode [ 62.549795][ T400] veth1: left promiscuous mode [ 62.550071][ T400] br1: port 1(veth1) entered disabled state