[ 28.313278][ T272] 8021q: 802.1Q VLAN Support v1.8 [ 32.358476][ T307] br1: port 1(veth1) entered blocking state [ 32.358945][ T307] br1: port 1(veth1) entered disabled state [ 32.359317][ T307] veth1: entered allmulticast mode [ 32.361170][ T307] veth1: entered promiscuous mode [ 32.377556][ T307] ip (307) used greatest stack depth: 24272 bytes left [ 32.484802][ T7] br1: port 1(veth1) entered blocking state [ 32.485147][ T7] br1: port 1(veth1) entered forwarding state [ 37.560639][ C2] [ 37.560841][ C2] ======================================================== [ 37.561053][ C2] WARNING: possible irq lock inversion dependency detected [ 37.561259][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 37.561420][ C2] -------------------------------------------------------- [ 37.561629][ C2] swapper/2/0 just changed the state of lock: [ 37.561799][ C2] ffff8880132a3d80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 37.562049][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 37.562258][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 37.562263][ C2] [ 37.562263][ C2] [ 37.562263][ C2] and interrupts could create inverse lock ordering between them. [ 37.562263][ C2] [ 37.562779][ C2] [ 37.562779][ C2] other info that might help us debug this: [ 37.562988][ C2] Possible interrupt unsafe locking scenario: [ 37.562988][ C2] [ 37.563192][ C2] CPU0 CPU1 [ 37.563335][ C2] ---- ---- [ 37.563476][ C2] lock(&p->alloc_lock); [ 37.563582][ C2] local_irq_disable(); [ 37.563750][ C2] lock(&ndev->lock); [ 37.563923][ C2] lock(&p->alloc_lock); [ 37.564099][ C2] [ 37.564204][ C2] lock(&ndev->lock); [ 37.564310][ C2] [ 37.564310][ C2] *** DEADLOCK *** [ 37.564310][ C2] [ 37.564512][ C2] 1 lock held by swapper/2/0: [ 37.564653][ C2] #0: ffffc90000230b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 37.564905][ C2] [ 37.564905][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 37.565147][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 37.565290][ C2] HARDIRQ-ON-W at: [ 37.565395][ C2] __lock_acquire+0x797/0x1570 [ 37.565573][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.565748][ C2] _raw_spin_lock+0x30/0x40 [ 37.565926][ C2] set_mems_allowed+0x1d/0x210 [ 37.566104][ C2] kernel_init_freeable+0x72/0x310 [ 37.566281][ C2] kernel_init+0x20/0x200 [ 37.566458][ C2] ret_from_fork+0x31/0x70 [ 37.566634][ C2] ret_from_fork_asm+0x1a/0x30 [ 37.566822][ C2] SOFTIRQ-ON-W at: [ 37.566928][ C2] __lock_acquire+0x797/0x1570 [ 37.567100][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.567275][ C2] _raw_spin_lock+0x30/0x40 [ 37.567450][ C2] set_mems_allowed+0x1d/0x210 [ 37.567621][ C2] kernel_init_freeable+0x72/0x310 [ 37.567792][ C2] kernel_init+0x20/0x200 [ 37.567964][ C2] ret_from_fork+0x31/0x70 [ 37.568139][ C2] ret_from_fork_asm+0x1a/0x30 [ 37.568317][ C2] INITIAL USE at: [ 37.568420][ C2] __lock_acquire+0x797/0x1570 [ 37.568598][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.568791][ C2] _raw_spin_lock+0x30/0x40 [ 37.568982][ C2] set_mems_allowed+0x1d/0x210 [ 37.569170][ C2] kernel_init_freeable+0x72/0x310 [ 37.569359][ C2] kernel_init+0x20/0x200 [ 37.569541][ C2] ret_from_fork+0x31/0x70 [ 37.569729][ C2] ret_from_fork_asm+0x1a/0x30 [ 37.569910][ C2] } [ 37.569985][ C2] ... key at: [] __key.387+0x0/0x40 [ 37.570213][ C2] ... acquired at: [ 37.570329][ C2] __lock_acquire+0xaf0/0x1570 [ 37.570484][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.570643][ C2] _raw_spin_lock+0x30/0x40 [ 37.570812][ C2] __get_task_comm+0x27/0x70 [ 37.570972][ C2] ref_tracker_alloc+0x2ee/0x490 [ 37.571121][ C2] netdev_get_by_index+0x5e/0x80 [ 37.571286][ C2] fib6_nh_init+0x3d8/0x15b0 [ 37.571446][ C2] ip6_route_info_create+0xf18/0x17d0 [ 37.571597][ C2] addrconf_f6i_alloc+0x265/0x560 [ 37.571754][ C2] __ipv6_dev_ac_inc+0x25f/0xb10 [ 37.571909][ C2] addrconf_join_anycast+0x1c0/0x220 [ 37.572061][ C2] dev_forward_change+0x2a6/0x7b0 [ 37.572211][ C2] addrconf_fixup_forwarding+0x23f/0x460 [ 37.572397][ C2] addrconf_sysctl_forward+0x212/0x2b0 [ 37.572551][ C2] proc_sys_call_handler+0x403/0x5e0 [ 37.572703][ C2] vfs_write+0x9e5/0x10a0 [ 37.572854][ C2] ksys_write+0xf5/0x1e0 [ 37.573009][ C2] do_syscall_64+0xc6/0x1e0 [ 37.573165][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 37.573358][ C2] [ 37.573437][ C2] -> (&ndev->lock){++-.}-{2:2} { [ 37.573592][ C2] HARDIRQ-ON-W at: [ 37.573702][ C2] __lock_acquire+0x797/0x1570 [ 37.573892][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.574080][ C2] _raw_write_lock_bh+0x38/0x50 [ 37.574275][ C2] addrconf_permanent_addr+0x6e/0x670 [ 37.574466][ C2] addrconf_notify+0x749/0xd60 [ 37.574657][ C2] notifier_call_chain+0xcd/0x150 [ 37.574861][ C2] __dev_notify_flags+0xe6/0x250 [ 37.575053][ C2] dev_change_flags+0xec/0x160 [ 37.575243][ C2] do_setlink+0x7d6/0x21e0 [ 37.575440][ C2] __rtnl_newlink+0xaa7/0xd80 [ 37.575632][ C2] rtnl_newlink+0x63/0xa0 [ 37.575822][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 37.576012][ C2] netlink_rcv_skb+0x130/0x360 [ 37.576203][ C2] netlink_unicast+0x449/0x710 [ 37.576397][ C2] netlink_sendmsg+0x723/0xbe0 [ 37.576589][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 37.576783][ C2] ___sys_sendmsg+0xee/0x170 [ 37.577039][ C2] __sys_sendmsg+0xcd/0x170 [ 37.577342][ C2] do_syscall_64+0xc6/0x1e0 [ 37.577640][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 37.577985][ C2] HARDIRQ-ON-R at: [ 37.578161][ C2] __lock_acquire+0x797/0x1570 [ 37.578465][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.578769][ C2] _raw_read_lock_bh+0x44/0x80 [ 37.579066][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 37.579367][ C2] inet6_fill_link_af+0x5e/0xe0 [ 37.579659][ C2] rtnl_fill_ifinfo+0x1612/0x29e0 [ 37.579953][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 37.580253][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 37.580607][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 37.580893][ C2] register_netdevice+0x1177/0x1690 [ 37.581188][ C2] register_netdev+0x20/0x40 [ 37.581494][ C2] sit_init_net+0x250/0x4f0 [ 37.581789][ C2] ops_init+0x9b/0x560 [ 37.582023][ C2] register_pernet_operations+0x2db/0x710 [ 37.582381][ C2] register_pernet_device+0x2a/0x60 [ 37.582678][ C2] sit_init+0x23/0xe0 [ 37.582910][ C2] do_one_initcall+0x8d/0x1e0 [ 37.583205][ C2] do_initcalls+0x1b2/0x3e0 [ 37.583500][ C2] kernel_init_freeable+0x232/0x310 [ 37.583794][ C2] kernel_init+0x20/0x200 [ 37.584096][ C2] ret_from_fork+0x31/0x70 [ 37.584398][ C2] ret_from_fork_asm+0x1a/0x30 [ 37.584694][ C2] IN-SOFTIRQ-W at: [ 37.584867][ C2] __lock_acquire+0x797/0x1570 [ 37.585170][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.585468][ C2] _raw_write_lock+0x30/0x40 [ 37.585785][ C2] addrconf_rs_timer+0xa9/0x730 [ 37.586084][ C2] call_timer_fn+0x13b/0x230 [ 37.586385][ C2] __run_timers+0x545/0x810 [ 37.586681][ C2] timer_expire_remote+0x9b/0xe0 [ 37.586977][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 37.587276][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 37.587575][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 37.587870][ C2] __do_softirq+0x1f8/0x5df [ 37.588167][ C2] irq_exit_rcu+0x97/0xc0 [ 37.588468][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 37.588821][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 37.589174][ C2] default_idle+0xf/0x20 [ 37.589469][ C2] default_idle_call+0x6d/0xb0 [ 37.589769][ C2] cpuidle_idle_call+0x1f4/0x280 [ 37.590066][ C2] do_idle+0xf9/0x160 [ 37.590302][ C2] cpu_startup_entry+0x54/0x60 [ 37.590601][ C2] start_secondary+0x21c/0x2b0 [ 37.590901][ C2] common_startup_64+0x12c/0x138 [ 37.591198][ C2] INITIAL USE at: [ 37.591387][ C2] __lock_acquire+0x797/0x1570 [ 37.591693][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.591979][ C2] _raw_write_lock_bh+0x38/0x50 [ 37.592275][ C2] addrconf_permanent_addr+0x6e/0x670 [ 37.592572][ C2] addrconf_notify+0x749/0xd60 [ 37.592864][ C2] notifier_call_chain+0xcd/0x150 [ 37.593157][ C2] __dev_notify_flags+0xe6/0x250 [ 37.593450][ C2] dev_change_flags+0xec/0x160 [ 37.593738][ C2] do_setlink+0x7d6/0x21e0 [ 37.594032][ C2] __rtnl_newlink+0xaa7/0xd80 [ 37.594329][ C2] rtnl_newlink+0x63/0xa0 [ 37.594625][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 37.594913][ C2] netlink_rcv_skb+0x130/0x360 [ 37.595205][ C2] netlink_unicast+0x449/0x710 [ 37.595505][ C2] netlink_sendmsg+0x723/0xbe0 [ 37.595793][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 37.596082][ C2] ___sys_sendmsg+0xee/0x170 [ 37.596375][ C2] __sys_sendmsg+0xcd/0x170 [ 37.596671][ C2] do_syscall_64+0xc6/0x1e0 [ 37.596963][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 37.597310][ C2] INITIAL READ USE at: [ 37.597499][ C2] __lock_acquire+0x797/0x1570 [ 37.597796][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.598094][ C2] _raw_read_lock_bh+0x44/0x80 [ 37.598392][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 37.598752][ C2] inet6_fill_link_af+0x5e/0xe0 [ 37.599046][ C2] rtnl_fill_ifinfo+0x1612/0x29e0 [ 37.599348][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 37.599703][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 37.600053][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 37.600350][ C2] register_netdevice+0x1177/0x1690 [ 37.600704][ C2] register_netdev+0x20/0x40 [ 37.601008][ C2] sit_init_net+0x250/0x4f0 [ 37.601313][ C2] ops_init+0x9b/0x560 [ 37.601617][ C2] register_pernet_operations+0x2db/0x710 [ 37.601965][ C2] register_pernet_device+0x2a/0x60 [ 37.602319][ C2] sit_init+0x23/0xe0 [ 37.602620][ C2] do_one_initcall+0x8d/0x1e0 [ 37.602923][ C2] do_initcalls+0x1b2/0x3e0 [ 37.603226][ C2] kernel_init_freeable+0x232/0x310 [ 37.603588][ C2] kernel_init+0x20/0x200 [ 37.603875][ C2] ret_from_fork+0x31/0x70 [ 37.604176][ C2] ret_from_fork_asm+0x1a/0x30 [ 37.604471][ C2] } [ 37.604595][ C2] ... key at: [] __key.37+0x0/0x40 [ 37.604955][ C2] ... acquired at: [ 37.605130][ C2] mark_lock+0x28d/0x3e0 [ 37.605365][ C2] mark_usage+0xd9/0x2a0 [ 37.605589][ C2] __lock_acquire+0x797/0x1570 [ 37.605816][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.606038][ C2] _raw_write_lock+0x30/0x40 [ 37.606259][ C2] addrconf_rs_timer+0xa9/0x730 [ 37.606490][ C2] call_timer_fn+0x13b/0x230 [ 37.606719][ C2] __run_timers+0x545/0x810 [ 37.606950][ C2] timer_expire_remote+0x9b/0xe0 [ 37.607177][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 37.607403][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 37.607629][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 37.607853][ C2] __do_softirq+0x1f8/0x5df [ 37.608081][ C2] irq_exit_rcu+0x97/0xc0 [ 37.608312][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 37.608603][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 37.608887][ C2] default_idle+0xf/0x20 [ 37.609116][ C2] default_idle_call+0x6d/0xb0 [ 37.609339][ C2] cpuidle_idle_call+0x1f4/0x280 [ 37.609560][ C2] do_idle+0xf9/0x160 [ 37.609722][ C2] cpu_startup_entry+0x54/0x60 [ 37.609939][ C2] start_secondary+0x21c/0x2b0 [ 37.610166][ C2] common_startup_64+0x12c/0x138 [ 37.610398][ C2] [ 37.610517][ C2] [ 37.610517][ C2] stack backtrace: [ 37.610797][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 37.611145][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 37.611660][ C2] Call Trace: [ 37.611841][ C2] [ 37.611963][ C2] dump_stack_lvl+0x82/0xd0 [ 37.612196][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 37.612486][ C2] ? kernel_text_address+0x17/0xe0 [ 37.612714][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 37.612992][ C2] ? __pfx_usage_skip+0x10/0x10 [ 37.613214][ C2] ? __pfx_usage_match+0x10/0x10 [ 37.613445][ C2] ? arch_stack_walk+0x8c/0xf0 [ 37.613675][ C2] mark_lock_irq+0x4cd/0xa10 [ 37.613895][ C2] ? common_startup_64+0x12c/0x138 [ 37.614120][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 37.614354][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 37.614584][ C2] ? save_trace+0x8f/0x5b0 [ 37.614784][ C2] mark_lock+0x28d/0x3e0 [ 37.614959][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 37.615200][ C2] mark_usage+0xd9/0x2a0 [ 37.615376][ C2] __lock_acquire+0x797/0x1570 [ 37.615613][ C2] ? __pfx_validate_chain+0x10/0x10 [ 37.615839][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 37.616081][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.616316][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 37.616550][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 37.616782][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 37.617017][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 37.617194][ C2] ? lock_acquire+0x32/0xc0 [ 37.617343][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 37.617491][ C2] _raw_write_lock+0x30/0x40 [ 37.617648][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 37.617808][ C2] addrconf_rs_timer+0xa9/0x730 [ 37.617957][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 37.618106][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 37.618254][ C2] ? call_timer_fn+0xe8/0x230 [ 37.618404][ C2] ? lock_acquire+0x32/0xc0 [ 37.618557][ C2] ? call_timer_fn+0xe8/0x230 [ 37.618711][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 37.618867][ C2] call_timer_fn+0x13b/0x230 [ 37.619015][ C2] ? call_timer_fn+0xe8/0x230 [ 37.619163][ C2] ? call_timer_fn+0xe8/0x230 [ 37.619311][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 37.619458][ C2] ? mark_lock+0x38/0x3e0 [ 37.619576][ C2] __run_timers+0x545/0x810 [ 37.619737][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 37.619890][ C2] ? __pfx___run_timers+0x10/0x10 [ 37.620039][ C2] ? __lock_release+0x103/0x460 [ 37.620194][ C2] ? do_raw_spin_lock+0x131/0x270 [ 37.620343][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 37.620496][ C2] ? lock_acquire+0x32/0xc0 [ 37.620645][ C2] ? timer_expire_remote+0x93/0xe0 [ 37.620806][ C2] timer_expire_remote+0x9b/0xe0 [ 37.620962][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 37.621116][ C2] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 37.621318][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 37.621488][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 37.621638][ C2] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 37.621829][ C2] __do_softirq+0x1f8/0x5df [ 37.621980][ C2] irq_exit_rcu+0x97/0xc0 [ 37.622093][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 37.622241][ C2] [ 37.622319][ C2] [ 37.622398][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 37.622596][ C2] RIP: 0010:default_idle+0xf/0x20 [ 37.622757][ 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 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 [ 37.623289][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000242 [ 37.623481][ C2] RAX: 00000000000de997 RBX: 1ffff9200002bfc1 RCX: ffffffffb090e9d5 [ 37.623713][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffae2aa4a4 [ 37.623946][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 37.624167][ C2] R10: ffff8880361384e3 R11: ffff88803612d9b0 R12: 0000000000000000 [ 37.624395][ C2] R13: ffff888001b7c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 37.624623][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 37.624785][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 37.624942][ C2] default_idle_call+0x6d/0xb0 [ 37.625094][ C2] cpuidle_idle_call+0x1f4/0x280 [ 37.625243][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 37.625393][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 37.625548][ C2] do_idle+0xf9/0x160 [ 37.625661][ C2] cpu_startup_entry+0x54/0x60 [ 37.625822][ C2] start_secondary+0x21c/0x2b0 [ 37.625974][ C2] ? __pfx_start_secondary+0x10/0x10 [ 37.626129][ C2] common_startup_64+0x12c/0x138 [ 37.626284][ C2] [ 64.556793][ T398] br1: port 1(veth1) entered disabled state [ 64.658463][ T400] veth1: left allmulticast mode [ 64.658687][ T400] veth1: left promiscuous mode [ 64.659044][ T400] br1: port 1(veth1) entered disabled state