[ 26.721166][ T275] 8021q: 802.1Q VLAN Support v1.8 [ 29.389994][ T301] br1: port 1(veth1) entered blocking state [ 29.390364][ T301] br1: port 1(veth1) entered disabled state [ 29.390863][ T301] veth1: entered allmulticast mode [ 29.393492][ T301] veth1: entered promiscuous mode [ 29.504884][ T51] br1: port 1(veth1) entered blocking state [ 29.505303][ T51] br1: port 1(veth1) entered forwarding state [ 34.861906][ C1] [ 34.862080][ C1] ======================================================== [ 34.862285][ C1] WARNING: possible irq lock inversion dependency detected [ 34.862488][ C1] 6.9.0-rc1-virtme #1 Not tainted [ 34.862621][ C1] -------------------------------------------------------- [ 34.862824][ C1] swapper/1/0 just changed the state of lock: [ 34.863020][ C1] ffff888005920d80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 34.863267][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 34.863474][ C1] (&p->alloc_lock){+.+.}-{2:2} [ 34.863478][ C1] [ 34.863478][ C1] [ 34.863478][ C1] and interrupts could create inverse lock ordering between them. [ 34.863478][ C1] [ 34.863994][ C1] [ 34.863994][ C1] other info that might help us debug this: [ 34.864200][ C1] Possible interrupt unsafe locking scenario: [ 34.864200][ C1] [ 34.864404][ C1] CPU0 CPU1 [ 34.864548][ C1] ---- ---- [ 34.864690][ C1] lock(&p->alloc_lock); [ 34.864793][ C1] local_irq_disable(); [ 34.864961][ C1] lock(&ndev->lock); [ 34.865141][ C1] lock(&p->alloc_lock); [ 34.865313][ C1] [ 34.865418][ C1] lock(&ndev->lock); [ 34.865523][ C1] [ 34.865523][ C1] *** DEADLOCK *** [ 34.865523][ C1] [ 34.865727][ C1] 1 lock held by swapper/1/0: [ 34.865865][ C1] #0: ffffc900001d8b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 34.866121][ C1] [ 34.866121][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 34.866361][ C1] -> (&p->alloc_lock){+.+.}-{2:2} { [ 34.866511][ C1] HARDIRQ-ON-W at: [ 34.866622][ C1] __lock_acquire+0x797/0x1570 [ 34.866823][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.866994][ C1] _raw_spin_lock+0x30/0x40 [ 34.867177][ C1] set_mems_allowed+0x1d/0x210 [ 34.867350][ C1] kernel_init_freeable+0x72/0x310 [ 34.867522][ C1] kernel_init+0x20/0x200 [ 34.867693][ C1] ret_from_fork+0x31/0x70 [ 34.867868][ C1] ret_from_fork_asm+0x1a/0x30 [ 34.868041][ C1] SOFTIRQ-ON-W at: [ 34.868144][ C1] __lock_acquire+0x797/0x1570 [ 34.868313][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.868483][ C1] _raw_spin_lock+0x30/0x40 [ 34.868661][ C1] set_mems_allowed+0x1d/0x210 [ 34.868849][ C1] kernel_init_freeable+0x72/0x310 [ 34.869019][ C1] kernel_init+0x20/0x200 [ 34.869194][ C1] ret_from_fork+0x31/0x70 [ 34.869370][ C1] ret_from_fork_asm+0x1a/0x30 [ 34.869541][ C1] INITIAL USE at: [ 34.869643][ C1] __lock_acquire+0x797/0x1570 [ 34.869815][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.869989][ C1] _raw_spin_lock+0x30/0x40 [ 34.870170][ C1] set_mems_allowed+0x1d/0x210 [ 34.870339][ C1] kernel_init_freeable+0x72/0x310 [ 34.870523][ C1] kernel_init+0x20/0x200 [ 34.870692][ C1] ret_from_fork+0x31/0x70 [ 34.870866][ C1] ret_from_fork_asm+0x1a/0x30 [ 34.871043][ C1] } [ 34.871113][ C1] ... key at: [] __key.387+0x0/0x40 [ 34.871320][ C1] ... acquired at: [ 34.871426][ C1] __lock_acquire+0xaf0/0x1570 [ 34.871568][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.871706][ C1] _raw_spin_lock+0x30/0x40 [ 34.871842][ C1] __get_task_comm+0x27/0x70 [ 34.871981][ C1] ref_tracker_alloc+0x2ee/0x490 [ 34.872126][ C1] netdev_get_by_index+0x5e/0x80 [ 34.872267][ C1] fib6_nh_init+0x3d8/0x15b0 [ 34.872406][ C1] ip6_route_info_create+0xf18/0x17d0 [ 34.872547][ C1] addrconf_f6i_alloc+0x265/0x560 [ 34.872685][ C1] __ipv6_dev_ac_inc+0x25f/0xb10 [ 34.872823][ C1] addrconf_join_anycast+0x1c0/0x220 [ 34.872969][ C1] dev_forward_change+0x2a6/0x7b0 [ 34.873113][ C1] addrconf_fixup_forwarding+0x23f/0x460 [ 34.873279][ C1] addrconf_sysctl_forward+0x212/0x2b0 [ 34.873419][ C1] proc_sys_call_handler+0x403/0x5e0 [ 34.873561][ C1] vfs_write+0x9e5/0x10a0 [ 34.873702][ C1] ksys_write+0xf5/0x1e0 [ 34.873838][ C1] do_syscall_64+0xc6/0x1e0 [ 34.873976][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.874155][ C1] [ 34.874229][ C1] -> (&ndev->lock){++-.}-{2:2} { [ 34.874370][ C1] HARDIRQ-ON-W at: [ 34.874474][ C1] __lock_acquire+0x797/0x1570 [ 34.874646][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.874817][ C1] _raw_write_lock_bh+0x38/0x50 [ 34.874987][ C1] addrconf_permanent_addr+0x6e/0x670 [ 34.875165][ C1] addrconf_notify+0x749/0xd60 [ 34.875341][ C1] notifier_call_chain+0xcd/0x150 [ 34.875510][ C1] __dev_notify_flags+0xe6/0x250 [ 34.875677][ C1] dev_change_flags+0xec/0x160 [ 34.875849][ C1] do_setlink+0x7d6/0x21e0 [ 34.876021][ C1] __rtnl_newlink+0xaa7/0xd80 [ 34.876193][ C1] rtnl_newlink+0x63/0xa0 [ 34.876366][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.876543][ C1] netlink_rcv_skb+0x130/0x360 [ 34.876715][ C1] netlink_unicast+0x449/0x710 [ 34.876886][ C1] netlink_sendmsg+0x723/0xbe0 [ 34.877060][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 34.877229][ C1] ___sys_sendmsg+0xee/0x170 [ 34.877401][ C1] __sys_sendmsg+0xcd/0x170 [ 34.877580][ C1] do_syscall_64+0xc6/0x1e0 [ 34.877755][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.877960][ C1] HARDIRQ-ON-R at: [ 34.878066][ C1] __lock_acquire+0x797/0x1570 [ 34.878239][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.878409][ C1] _raw_read_lock_bh+0x44/0x80 [ 34.878583][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 34.878764][ C1] inet6_fill_link_af+0x5e/0xe0 [ 34.878942][ C1] rtnl_fill_ifinfo+0x1612/0x29e0 [ 34.879116][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 34.879292][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 34.879494][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 34.879665][ C1] register_netdevice+0x1177/0x1690 [ 34.879840][ C1] register_netdev+0x20/0x40 [ 34.880011][ C1] sit_init_net+0x250/0x4f0 [ 34.880193][ C1] ops_init+0x9b/0x560 [ 34.880332][ C1] register_pernet_operations+0x2db/0x710 [ 34.880537][ C1] register_pernet_device+0x2a/0x60 [ 34.880706][ C1] sit_init+0x23/0xe0 [ 34.880848][ C1] do_one_initcall+0x8d/0x1e0 [ 34.881020][ C1] do_initcalls+0x1b2/0x3e0 [ 34.881194][ C1] kernel_init_freeable+0x232/0x310 [ 34.881364][ C1] kernel_init+0x20/0x200 [ 34.881535][ C1] ret_from_fork+0x31/0x70 [ 34.881708][ C1] ret_from_fork_asm+0x1a/0x30 [ 34.881880][ C1] IN-SOFTIRQ-W at: [ 34.881984][ C1] __lock_acquire+0x797/0x1570 [ 34.882165][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.882339][ C1] _raw_write_lock+0x30/0x40 [ 34.882510][ C1] addrconf_rs_timer+0xa9/0x730 [ 34.882679][ C1] call_timer_fn+0x13b/0x230 [ 34.882854][ C1] __run_timers+0x545/0x810 [ 34.883046][ C1] timer_expire_remote+0x9b/0xe0 [ 34.883223][ C1] tmigr_handle_remote_cpu+0x270/0x430 [ 34.883395][ C1] tmigr_handle_remote_up+0x19f/0x2e0 [ 34.883563][ C1] tmigr_handle_remote+0x21d/0x3a0 [ 34.883733][ C1] __do_softirq+0x1f8/0x5df [ 34.883902][ C1] irq_exit_rcu+0x97/0xc0 [ 34.884079][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.884285][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.884487][ C1] default_idle+0xf/0x20 [ 34.884657][ C1] default_idle_call+0x6d/0xb0 [ 34.884826][ C1] cpuidle_idle_call+0x1f4/0x280 [ 34.884997][ C1] do_idle+0xf9/0x160 [ 34.885135][ C1] cpu_startup_entry+0x54/0x60 [ 34.885311][ C1] start_secondary+0x21c/0x2b0 [ 34.885482][ C1] common_startup_64+0x12c/0x138 [ 34.885662][ C1] INITIAL USE at: [ 34.885766][ C1] __lock_acquire+0x797/0x1570 [ 34.885938][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.886112][ C1] _raw_write_lock_bh+0x38/0x50 [ 34.886283][ C1] addrconf_permanent_addr+0x6e/0x670 [ 34.886464][ C1] addrconf_notify+0x749/0xd60 [ 34.886634][ C1] notifier_call_chain+0xcd/0x150 [ 34.886803][ C1] __dev_notify_flags+0xe6/0x250 [ 34.886980][ C1] dev_change_flags+0xec/0x160 [ 34.887159][ C1] do_setlink+0x7d6/0x21e0 [ 34.887331][ C1] __rtnl_newlink+0xaa7/0xd80 [ 34.887506][ C1] rtnl_newlink+0x63/0xa0 [ 34.887680][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.887852][ C1] netlink_rcv_skb+0x130/0x360 [ 34.888027][ C1] netlink_unicast+0x449/0x710 [ 34.888205][ C1] netlink_sendmsg+0x723/0xbe0 [ 34.888380][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 34.888550][ C1] ___sys_sendmsg+0xee/0x170 [ 34.888727][ C1] __sys_sendmsg+0xcd/0x170 [ 34.888911][ C1] do_syscall_64+0xc6/0x1e0 [ 34.889092][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.889300][ C1] INITIAL READ USE at: [ 34.889403][ C1] __lock_acquire+0x797/0x1570 [ 34.889580][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.889758][ C1] _raw_read_lock_bh+0x44/0x80 [ 34.889930][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 34.890136][ C1] inet6_fill_link_af+0x5e/0xe0 [ 34.890310][ C1] rtnl_fill_ifinfo+0x1612/0x29e0 [ 34.890479][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 34.890684][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 34.890895][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 34.891073][ C1] register_netdevice+0x1177/0x1690 [ 34.891279][ C1] register_netdev+0x20/0x40 [ 34.891447][ C1] sit_init_net+0x250/0x4f0 [ 34.891616][ C1] ops_init+0x9b/0x560 [ 34.891791][ C1] register_pernet_operations+0x2db/0x710 [ 34.892012][ C1] register_pernet_device+0x2a/0x60 [ 34.892227][ C1] sit_init+0x23/0xe0 [ 34.892400][ C1] do_one_initcall+0x8d/0x1e0 [ 34.892581][ C1] do_initcalls+0x1b2/0x3e0 [ 34.892753][ C1] kernel_init_freeable+0x232/0x310 [ 34.892981][ C1] kernel_init+0x20/0x200 [ 34.893160][ C1] ret_from_fork+0x31/0x70 [ 34.893337][ C1] ret_from_fork_asm+0x1a/0x30 [ 34.893517][ C1] } [ 34.893586][ C1] ... key at: [] __key.37+0x0/0x40 [ 34.893790][ C1] ... acquired at: [ 34.893893][ C1] mark_lock+0x28d/0x3e0 [ 34.894033][ C1] mark_usage+0xd9/0x2a0 [ 34.894175][ C1] __lock_acquire+0x797/0x1570 [ 34.894313][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.894448][ C1] _raw_write_lock+0x30/0x40 [ 34.894586][ C1] addrconf_rs_timer+0xa9/0x730 [ 34.894725][ C1] call_timer_fn+0x13b/0x230 [ 34.894860][ C1] __run_timers+0x545/0x810 [ 34.894997][ C1] timer_expire_remote+0x9b/0xe0 [ 34.895134][ C1] tmigr_handle_remote_cpu+0x270/0x430 [ 34.895273][ C1] tmigr_handle_remote_up+0x19f/0x2e0 [ 34.895417][ C1] tmigr_handle_remote+0x21d/0x3a0 [ 34.895551][ C1] __do_softirq+0x1f8/0x5df [ 34.895687][ C1] irq_exit_rcu+0x97/0xc0 [ 34.895824][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.896001][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.896178][ C1] default_idle+0xf/0x20 [ 34.896318][ C1] default_idle_call+0x6d/0xb0 [ 34.896458][ C1] cpuidle_idle_call+0x1f4/0x280 [ 34.896605][ C1] do_idle+0xf9/0x160 [ 34.896710][ C1] cpu_startup_entry+0x54/0x60 [ 34.896845][ C1] start_secondary+0x21c/0x2b0 [ 34.896985][ C1] common_startup_64+0x12c/0x138 [ 34.897126][ C1] [ 34.897204][ C1] [ 34.897204][ C1] stack backtrace: [ 34.897381][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.9.0-rc1-virtme #1 [ 34.897587][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 34.897888][ C1] Call Trace: [ 34.897990][ C1] [ 34.898062][ C1] dump_stack_lvl+0x82/0xd0 [ 34.898208][ C1] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 34.898375][ C1] ? kernel_text_address+0x17/0xe0 [ 34.898516][ C1] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 34.898690][ C1] ? __pfx_usage_skip+0x10/0x10 [ 34.898826][ C1] ? __pfx_usage_match+0x10/0x10 [ 34.898963][ C1] ? arch_stack_walk+0x8c/0xf0 [ 34.899108][ C1] mark_lock_irq+0x4cd/0xa10 [ 34.899244][ C1] ? common_startup_64+0x12c/0x138 [ 34.899381][ C1] ? __pfx_mark_lock_irq+0x10/0x10 [ 34.899516][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 34.899652][ C1] ? save_trace+0x8f/0x5b0 [ 34.899788][ C1] mark_lock+0x28d/0x3e0 [ 34.899893][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 34.900039][ C1] mark_usage+0xd9/0x2a0 [ 34.900143][ C1] __lock_acquire+0x797/0x1570 [ 34.900291][ C1] ? __pfx_validate_chain+0x10/0x10 [ 34.900434][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.900570][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.900705][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 34.900841][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 34.900978][ C1] ? trace_lock_acquire+0x135/0x1c0 [ 34.901126][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 34.901260][ C1] ? lock_acquire+0x32/0xc0 [ 34.901394][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 34.901530][ C1] _raw_write_lock+0x30/0x40 [ 34.901664][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 34.901799][ C1] addrconf_rs_timer+0xa9/0x730 [ 34.901935][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 34.902075][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.902210][ C1] ? call_timer_fn+0xe8/0x230 [ 34.902346][ C1] ? lock_acquire+0x32/0xc0 [ 34.902481][ C1] ? call_timer_fn+0xe8/0x230 [ 34.902615][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.902748][ C1] call_timer_fn+0x13b/0x230 [ 34.902894][ C1] ? call_timer_fn+0xe8/0x230 [ 34.903058][ C1] ? call_timer_fn+0xe8/0x230 [ 34.903192][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 34.903329][ C1] ? mark_lock+0x38/0x3e0 [ 34.903434][ C1] __run_timers+0x545/0x810 [ 34.903572][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.903706][ C1] ? __pfx___run_timers+0x10/0x10 [ 34.903840][ C1] ? __lock_release+0x103/0x460 [ 34.903975][ C1] ? do_raw_spin_lock+0x131/0x270 [ 34.904119][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 34.904253][ C1] ? lock_acquire+0x32/0xc0 [ 34.904391][ C1] ? timer_expire_remote+0x93/0xe0 [ 34.904527][ C1] timer_expire_remote+0x9b/0xe0 [ 34.904665][ C1] tmigr_handle_remote_cpu+0x270/0x430 [ 34.904801][ C1] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 34.904972][ C1] tmigr_handle_remote_up+0x19f/0x2e0 [ 34.905112][ C1] tmigr_handle_remote+0x21d/0x3a0 [ 34.905247][ C1] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 34.905382][ C1] __do_softirq+0x1f8/0x5df [ 34.905523][ C1] irq_exit_rcu+0x97/0xc0 [ 34.905625][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.905759][ C1] [ 34.905831][ C1] [ 34.905898][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.906067][ C1] RIP: 0010:default_idle+0xf/0x20 [ 34.906208][ 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 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 [ 34.906690][ C1] RSP: 0018:ffffc9000014fdf8 EFLAGS: 00000242 [ 34.906861][ C1] RAX: 000000000006f697 RBX: 1ffff92000029fc1 RCX: ffffffff8c90e9d5 [ 34.907069][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8a2aa4a4 [ 34.907276][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c1709c [ 34.907479][ C1] R10: ffff8880360b84e3 R11: ffff8880360ad9b0 R12: 0000000000000000 [ 34.907682][ C1] R13: ffff888001b7a300 R14: dffffc0000000000 R15: 0000000000000000 [ 34.907891][ C1] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 34.908024][ C1] ? cpuidle_idle_call+0x1f4/0x280 [ 34.908162][ C1] default_idle_call+0x6d/0xb0 [ 34.908297][ C1] cpuidle_idle_call+0x1f4/0x280 [ 34.908431][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 34.908568][ C1] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 34.908703][ C1] do_idle+0xf9/0x160 [ 34.908807][ C1] cpu_startup_entry+0x54/0x60 [ 34.908940][ C1] start_secondary+0x21c/0x2b0 [ 34.909078][ C1] ? __pfx_start_secondary+0x10/0x10 [ 34.909223][ C1] common_startup_64+0x12c/0x138 [ 34.909363][ C1] [ 47.651430][ T376] br1: port 1(veth1) entered disabled state [ 47.749859][ T377] veth1: left allmulticast mode [ 47.750047][ T377] veth1: left promiscuous mode [ 47.750310][ T377] br1: port 1(veth1) entered disabled state