[ 27.432223][ T274] 8021q: 802.1Q VLAN Support v1.8 [ 30.136221][ T300] br1: port 1(veth1) entered blocking state [ 30.136573][ T300] br1: port 1(veth1) entered disabled state [ 30.137066][ T300] veth1: entered allmulticast mode [ 30.138928][ T300] veth1: entered promiscuous mode [ 30.246400][ T62] br1: port 1(veth1) entered blocking state [ 30.246755][ T62] br1: port 1(veth1) entered forwarding state [ 35.280006][ C3] [ 35.280215][ C3] ======================================================== [ 35.280455][ C3] WARNING: possible irq lock inversion dependency detected [ 35.280688][ C3] 6.9.0-rc1-virtme #1 Not tainted [ 35.280853][ C3] -------------------------------------------------------- [ 35.281090][ C3] swapper/3/0 just changed the state of lock: [ 35.281292][ C3] ffff8880057a3d80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 35.281587][ C3] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 35.281843][ C3] (&p->alloc_lock){+.+.}-{2:2} [ 35.281848][ C3] [ 35.281848][ C3] [ 35.281848][ C3] and interrupts could create inverse lock ordering between them. [ 35.281848][ C3] [ 35.282391][ C3] [ 35.282391][ C3] other info that might help us debug this: [ 35.282619][ C3] Possible interrupt unsafe locking scenario: [ 35.282619][ C3] [ 35.282840][ C3] CPU0 CPU1 [ 35.283001][ C3] ---- ---- [ 35.283151][ C3] lock(&p->alloc_lock); [ 35.283265][ C3] local_irq_disable(); [ 35.283466][ C3] lock(&ndev->lock); [ 35.283655][ C3] lock(&p->alloc_lock); [ 35.283836][ C3] [ 35.283948][ C3] lock(&ndev->lock); [ 35.284058][ C3] [ 35.284058][ C3] *** DEADLOCK *** [ 35.284058][ C3] [ 35.284300][ C3] 1 lock held by swapper/3/0: [ 35.284458][ C3] #0: ffffc90000288d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 35.284738][ C3] [ 35.284738][ C3] the shortest dependencies between 2nd lock and 1st lock: [ 35.285006][ C3] -> (&p->alloc_lock){+.+.}-{2:2} { [ 35.285164][ C3] HARDIRQ-ON-W at: [ 35.285282][ C3] __lock_acquire+0x797/0x1570 [ 35.285533][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.285825][ C3] _raw_spin_lock+0x30/0x40 [ 35.286112][ C3] set_mems_allowed+0x1d/0x210 [ 35.286313][ C3] kernel_init_freeable+0x72/0x310 [ 35.286515][ C3] kernel_init+0x20/0x200 [ 35.286882][ C3] ret_from_fork+0x31/0x70 [ 35.287077][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.287271][ C3] SOFTIRQ-ON-W at: [ 35.287391][ C3] __lock_acquire+0x797/0x1570 [ 35.287587][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.287799][ C3] _raw_spin_lock+0x30/0x40 [ 35.287987][ C3] set_mems_allowed+0x1d/0x210 [ 35.288177][ C3] kernel_init_freeable+0x72/0x310 [ 35.288389][ C3] kernel_init+0x20/0x200 [ 35.288580][ C3] ret_from_fork+0x31/0x70 [ 35.288767][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.288958][ C3] INITIAL USE at: [ 35.289073][ C3] __lock_acquire+0x797/0x1570 [ 35.289259][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.289451][ C3] _raw_spin_lock+0x30/0x40 [ 35.289641][ C3] set_mems_allowed+0x1d/0x210 [ 35.289832][ C3] kernel_init_freeable+0x72/0x310 [ 35.290016][ C3] kernel_init+0x20/0x200 [ 35.290202][ C3] ret_from_fork+0x31/0x70 [ 35.290402][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.290587][ C3] } [ 35.290664][ C3] ... key at: [] __key.387+0x0/0x40 [ 35.290890][ C3] ... acquired at: [ 35.291007][ C3] __lock_acquire+0xaf0/0x1570 [ 35.291157][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.291308][ C3] _raw_spin_lock+0x30/0x40 [ 35.291464][ C3] __get_task_comm+0x27/0x70 [ 35.291617][ C3] ref_tracker_alloc+0x2ee/0x490 [ 35.291764][ C3] netdev_get_by_index+0x5e/0x80 [ 35.291916][ C3] fib6_nh_init+0x3d8/0x15b0 [ 35.292065][ C3] ip6_route_info_create+0xf18/0x17d0 [ 35.292233][ C3] addrconf_f6i_alloc+0x265/0x560 [ 35.292390][ C3] __ipv6_dev_ac_inc+0x25f/0xb10 [ 35.292542][ C3] addrconf_join_anycast+0x1c0/0x220 [ 35.292690][ C3] dev_forward_change+0x2a6/0x7b0 [ 35.292838][ C3] addrconf_fixup_forwarding+0x23f/0x460 [ 35.293030][ C3] addrconf_sysctl_forward+0x212/0x2b0 [ 35.293175][ C3] proc_sys_call_handler+0x403/0x5e0 [ 35.293323][ C3] vfs_write+0x9e5/0x10a0 [ 35.293476][ C3] ksys_write+0xf5/0x1e0 [ 35.293635][ C3] do_syscall_64+0xc6/0x1e0 [ 35.293787][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.293972][ C3] [ 35.294048][ C3] -> (&ndev->lock){++-.}-{2:2} { [ 35.294203][ C3] HARDIRQ-ON-W at: [ 35.294312][ C3] __lock_acquire+0x797/0x1570 [ 35.294501][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.294686][ C3] _raw_write_lock_bh+0x38/0x50 [ 35.294921][ C3] addrconf_permanent_addr+0x6e/0x670 [ 35.295122][ C3] addrconf_notify+0x749/0xd60 [ 35.295321][ C3] notifier_call_chain+0xcd/0x150 [ 35.295533][ C3] __dev_notify_flags+0xe6/0x250 [ 35.295737][ C3] dev_change_flags+0xec/0x160 [ 35.295939][ C3] do_setlink+0x7d6/0x21e0 [ 35.296144][ C3] __rtnl_newlink+0xaa7/0xd80 [ 35.296366][ C3] rtnl_newlink+0x63/0xa0 [ 35.296579][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.296793][ C3] netlink_rcv_skb+0x130/0x360 [ 35.296999][ C3] netlink_unicast+0x449/0x710 [ 35.297198][ C3] netlink_sendmsg+0x723/0xbe0 [ 35.297398][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 35.297610][ C3] ___sys_sendmsg+0xee/0x170 [ 35.297814][ C3] __sys_sendmsg+0xcd/0x170 [ 35.298019][ C3] do_syscall_64+0xc6/0x1e0 [ 35.298221][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.298472][ C3] HARDIRQ-ON-R at: [ 35.298598][ C3] __lock_acquire+0x797/0x1570 [ 35.298794][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.298996][ C3] _raw_read_lock_bh+0x44/0x80 [ 35.299200][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.299400][ C3] inet6_fill_link_af+0x5e/0xe0 [ 35.299604][ C3] rtnl_fill_ifinfo+0x1612/0x29e0 [ 35.299817][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.299999][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.300247][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 35.300440][ C3] register_netdevice+0x1177/0x1690 [ 35.300626][ C3] register_netdev+0x20/0x40 [ 35.300809][ C3] sit_init_net+0x250/0x4f0 [ 35.301033][ C3] ops_init+0x9b/0x560 [ 35.301195][ C3] register_pernet_operations+0x2db/0x710 [ 35.301459][ C3] register_pernet_device+0x2a/0x60 [ 35.301672][ C3] sit_init+0x23/0xe0 [ 35.301834][ C3] do_one_initcall+0x8d/0x1e0 [ 35.302032][ C3] do_initcalls+0x1b2/0x3e0 [ 35.302231][ C3] kernel_init_freeable+0x232/0x310 [ 35.302431][ C3] kernel_init+0x20/0x200 [ 35.302634][ C3] ret_from_fork+0x31/0x70 [ 35.302840][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.303037][ C3] IN-SOFTIRQ-W at: [ 35.303158][ C3] __lock_acquire+0x797/0x1570 [ 35.303357][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.303563][ C3] _raw_write_lock+0x30/0x40 [ 35.303770][ C3] addrconf_rs_timer+0xa9/0x730 [ 35.303974][ C3] call_timer_fn+0x13b/0x230 [ 35.304194][ C3] __run_timers+0x545/0x810 [ 35.304399][ C3] run_timer_softirq+0xe8/0x1b0 [ 35.304600][ C3] __do_softirq+0x1f8/0x5df [ 35.304800][ C3] irq_exit_rcu+0x97/0xc0 [ 35.305000][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.305237][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.305489][ C3] default_idle+0xf/0x20 [ 35.305689][ C3] default_idle_call+0x6d/0xb0 [ 35.305886][ C3] cpuidle_idle_call+0x1f4/0x280 [ 35.306087][ C3] do_idle+0xf9/0x160 [ 35.306247][ C3] cpu_startup_entry+0x54/0x60 [ 35.306457][ C3] start_secondary+0x21c/0x2b0 [ 35.306675][ C3] common_startup_64+0x12c/0x138 [ 35.306880][ C3] INITIAL USE at: [ 35.306999][ C3] __lock_acquire+0x797/0x1570 [ 35.307205][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.307416][ C3] _raw_write_lock_bh+0x38/0x50 [ 35.307616][ C3] addrconf_permanent_addr+0x6e/0x670 [ 35.307816][ C3] addrconf_notify+0x749/0xd60 [ 35.308024][ C3] notifier_call_chain+0xcd/0x150 [ 35.308249][ C3] __dev_notify_flags+0xe6/0x250 [ 35.308459][ C3] dev_change_flags+0xec/0x160 [ 35.308658][ C3] do_setlink+0x7d6/0x21e0 [ 35.308858][ C3] __rtnl_newlink+0xaa7/0xd80 [ 35.309059][ C3] rtnl_newlink+0x63/0xa0 [ 35.309264][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.309509][ C3] netlink_rcv_skb+0x130/0x360 [ 35.309742][ C3] netlink_unicast+0x449/0x710 [ 35.309942][ C3] netlink_sendmsg+0x723/0xbe0 [ 35.310142][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 35.310429][ C3] ___sys_sendmsg+0xee/0x170 [ 35.310678][ C3] __sys_sendmsg+0xcd/0x170 [ 35.310982][ C3] do_syscall_64+0xc6/0x1e0 [ 35.311287][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.311636][ C3] INITIAL READ USE at: [ 35.311816][ C3] __lock_acquire+0x797/0x1570 [ 35.312114][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.312396][ C3] _raw_read_lock_bh+0x44/0x80 [ 35.312705][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.313070][ C3] inet6_fill_link_af+0x5e/0xe0 [ 35.313377][ C3] rtnl_fill_ifinfo+0x1612/0x29e0 [ 35.313674][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.314032][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.314400][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 35.314700][ C3] register_netdevice+0x1177/0x1690 [ 35.315051][ C3] register_netdev+0x20/0x40 [ 35.315346][ C3] sit_init_net+0x250/0x4f0 [ 35.315640][ C3] ops_init+0x9b/0x560 [ 35.315941][ C3] register_pernet_operations+0x2db/0x710 [ 35.316303][ C3] register_pernet_device+0x2a/0x60 [ 35.316669][ C3] sit_init+0x23/0xe0 [ 35.316967][ C3] do_one_initcall+0x8d/0x1e0 [ 35.317267][ C3] do_initcalls+0x1b2/0x3e0 [ 35.317565][ C3] kernel_init_freeable+0x232/0x310 [ 35.317909][ C3] kernel_init+0x20/0x200 [ 35.318203][ C3] ret_from_fork+0x31/0x70 [ 35.318506][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.318807][ C3] } [ 35.318914][ C3] ... key at: [] __key.37+0x0/0x40 [ 35.319222][ C3] ... acquired at: [ 35.319391][ C3] mark_lock+0x28d/0x3e0 [ 35.319560][ C3] mark_usage+0xd9/0x2a0 [ 35.319791][ C3] __lock_acquire+0x797/0x1570 [ 35.320007][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.320246][ C3] _raw_write_lock+0x30/0x40 [ 35.320491][ C3] addrconf_rs_timer+0xa9/0x730 [ 35.320725][ C3] call_timer_fn+0x13b/0x230 [ 35.320966][ C3] __run_timers+0x545/0x810 [ 35.321208][ C3] run_timer_softirq+0xe8/0x1b0 [ 35.321444][ C3] __do_softirq+0x1f8/0x5df [ 35.321674][ C3] irq_exit_rcu+0x97/0xc0 [ 35.321897][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.322175][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.322478][ C3] default_idle+0xf/0x20 [ 35.322714][ C3] default_idle_call+0x6d/0xb0 [ 35.322939][ C3] cpuidle_idle_call+0x1f4/0x280 [ 35.323179][ C3] do_idle+0xf9/0x160 [ 35.323356][ C3] cpu_startup_entry+0x54/0x60 [ 35.323597][ C3] start_secondary+0x21c/0x2b0 [ 35.323836][ C3] common_startup_64+0x12c/0x138 [ 35.324062][ C3] [ 35.324186][ C3] [ 35.324186][ C3] stack backtrace: [ 35.324492][ C3] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.9.0-rc1-virtme #1 [ 35.324862][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 35.325391][ C3] Call Trace: [ 35.325576][ C3] [ 35.325702][ C3] dump_stack_lvl+0x82/0xd0 [ 35.325959][ C3] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 35.326253][ C3] ? kernel_text_address+0x17/0xe0 [ 35.326495][ C3] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 35.326893][ C3] ? __pfx_usage_skip+0x10/0x10 [ 35.327133][ C3] ? __pfx_usage_match+0x10/0x10 [ 35.327370][ C3] ? arch_stack_walk+0x8c/0xf0 [ 35.327606][ C3] mark_lock_irq+0x4cd/0xa10 [ 35.327841][ C3] ? common_startup_64+0x12c/0x138 [ 35.328071][ C3] ? __pfx_mark_lock_irq+0x10/0x10 [ 35.328319][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 35.328563][ C3] ? save_trace+0x8f/0x5b0 [ 35.328802][ C3] mark_lock+0x28d/0x3e0 [ 35.328977][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 35.329213][ C3] mark_usage+0xd9/0x2a0 [ 35.329397][ C3] __lock_acquire+0x797/0x1570 [ 35.329631][ C3] ? __pfx_validate_chain+0x10/0x10 [ 35.329953][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.330191][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.330415][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 35.330627][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.330831][ C3] ? trace_lock_acquire+0x135/0x1c0 [ 35.331039][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 35.331259][ C3] ? lock_acquire+0x32/0xc0 [ 35.331475][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 35.331703][ C3] _raw_write_lock+0x30/0x40 [ 35.331932][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 35.332174][ C3] addrconf_rs_timer+0xa9/0x730 [ 35.332403][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.332626][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.332862][ C3] ? call_timer_fn+0xe8/0x230 [ 35.333089][ C3] ? lock_acquire+0x32/0xc0 [ 35.333318][ C3] ? call_timer_fn+0xe8/0x230 [ 35.333542][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.333766][ C3] call_timer_fn+0x13b/0x230 [ 35.333986][ C3] ? call_timer_fn+0xe8/0x230 [ 35.334196][ C3] ? call_timer_fn+0xe8/0x230 [ 35.334427][ C3] ? __pfx_call_timer_fn+0x10/0x10 [ 35.334647][ C3] ? mark_lock+0x38/0x3e0 [ 35.334815][ C3] __run_timers+0x545/0x810 [ 35.335029][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.335246][ C3] ? __pfx___run_timers+0x10/0x10 [ 35.335459][ C3] ? do_raw_spin_lock+0x131/0x270 [ 35.335679][ C3] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 35.335902][ C3] ? lock_acquire+0x32/0xc0 [ 35.336119][ C3] ? run_timer_softirq+0xe0/0x1b0 [ 35.336340][ C3] run_timer_softirq+0xe8/0x1b0 [ 35.336549][ C3] __do_softirq+0x1f8/0x5df [ 35.336791][ C3] irq_exit_rcu+0x97/0xc0 [ 35.336958][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.337176][ C3] [ 35.337291][ C3] [ 35.337397][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.337672][ C3] RIP: 0010:default_idle+0xf/0x20 [ 35.337899][ C3] 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 [ 35.338655][ C3] RSP: 0018:ffffc9000016fdf8 EFLAGS: 00000246 [ 35.338934][ C3] RAX: 0000000000070ac5 RBX: 1ffff9200002dfc1 RCX: ffffffffb2b0e9d5 [ 35.339267][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffb04aa4a4 [ 35.339584][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3709c [ 35.339907][ C3] R10: ffff8880361b84e3 R11: ffff8880361bdc80 R12: 0000000000000000 [ 35.340220][ C3] R13: ffff888001b88040 R14: dffffc0000000000 R15: 0000000000000000 [ 35.340542][ C3] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 35.340774][ C3] ? cpuidle_idle_call+0x1f4/0x280 [ 35.340993][ C3] default_idle_call+0x6d/0xb0 [ 35.341211][ C3] cpuidle_idle_call+0x1f4/0x280 [ 35.341428][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 35.341647][ C3] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 35.341869][ C3] do_idle+0xf9/0x160 [ 35.342035][ C3] cpu_startup_entry+0x54/0x60 [ 35.342259][ C3] start_secondary+0x21c/0x2b0 [ 35.342494][ C3] ? __pfx_start_secondary+0x10/0x10 [ 35.342723][ C3] common_startup_64+0x12c/0x138 [ 35.342959][ C3] [ 48.631117][ T375] br1: port 1(veth1) entered disabled state [ 48.737304][ T376] veth1: left allmulticast mode [ 48.737495][ T376] veth1: left promiscuous mode [ 48.737764][ T376] br1: port 1(veth1) entered disabled state