[ 26.476384][ T274] 8021q: 802.1Q VLAN Support v1.8 [ 30.313869][ T309] br1: port 1(veth1) entered blocking state [ 30.314294][ T309] br1: port 1(veth1) entered disabled state [ 30.314606][ T309] veth1: entered allmulticast mode [ 30.316517][ T309] veth1: entered promiscuous mode [ 30.436376][ T51] br1: port 1(veth1) entered blocking state [ 30.436745][ T51] br1: port 1(veth1) entered forwarding state [ 35.372202][ C2] [ 35.372385][ C2] ======================================================== [ 35.372627][ C2] WARNING: possible irq lock inversion dependency detected [ 35.372894][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 35.373079][ C2] -------------------------------------------------------- [ 35.373307][ C2] swapper/2/0 just changed the state of lock: [ 35.373478][ C2] ffff888004fced80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 35.373729][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 35.373932][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 35.373936][ C2] [ 35.373936][ C2] [ 35.373936][ C2] and interrupts could create inverse lock ordering between them. [ 35.373936][ C2] [ 35.374436][ C2] [ 35.374436][ C2] other info that might help us debug this: [ 35.374636][ C2] Possible interrupt unsafe locking scenario: [ 35.374636][ C2] [ 35.374838][ C2] CPU0 CPU1 [ 35.374984][ C2] ---- ---- [ 35.375118][ C2] lock(&p->alloc_lock); [ 35.375221][ C2] local_irq_disable(); [ 35.375386][ C2] lock(&ndev->lock); [ 35.375558][ C2] lock(&p->alloc_lock); [ 35.375724][ C2] [ 35.375825][ C2] lock(&ndev->lock); [ 35.375930][ C2] [ 35.375930][ C2] *** DEADLOCK *** [ 35.375930][ C2] [ 35.376129][ C2] 1 lock held by swapper/2/0: [ 35.376269][ C2] #0: ffffc90000230b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 35.376525][ C2] [ 35.376525][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 35.376768][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 35.376923][ C2] HARDIRQ-ON-W at: [ 35.377028][ C2] __lock_acquire+0x797/0x1570 [ 35.377202][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.377388][ C2] _raw_spin_lock+0x30/0x40 [ 35.377567][ C2] set_mems_allowed+0x1d/0x210 [ 35.377739][ C2] kernel_init_freeable+0x72/0x310 [ 35.377918][ C2] kernel_init+0x20/0x200 [ 35.378090][ C2] ret_from_fork+0x31/0x70 [ 35.378264][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.378435][ C2] SOFTIRQ-ON-W at: [ 35.378540][ C2] __lock_acquire+0x797/0x1570 [ 35.378711][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.378887][ C2] _raw_spin_lock+0x30/0x40 [ 35.379058][ C2] set_mems_allowed+0x1d/0x210 [ 35.379229][ C2] kernel_init_freeable+0x72/0x310 [ 35.379399][ C2] kernel_init+0x20/0x200 [ 35.379570][ C2] ret_from_fork+0x31/0x70 [ 35.379743][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.379911][ C2] INITIAL USE at: [ 35.380017][ C2] __lock_acquire+0x797/0x1570 [ 35.380187][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.380359][ C2] _raw_spin_lock+0x30/0x40 [ 35.380529][ C2] set_mems_allowed+0x1d/0x210 [ 35.380699][ C2] kernel_init_freeable+0x72/0x310 [ 35.380870][ C2] kernel_init+0x20/0x200 [ 35.381045][ C2] ret_from_fork+0x31/0x70 [ 35.381217][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.381387][ C2] } [ 35.381458][ C2] ... key at: [] __key.387+0x0/0x40 [ 35.381664][ C2] ... acquired at: [ 35.381766][ C2] __lock_acquire+0xaf0/0x1570 [ 35.381908][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.382047][ C2] _raw_spin_lock+0x30/0x40 [ 35.382195][ C2] __get_task_comm+0x27/0x70 [ 35.382334][ C2] ref_tracker_alloc+0x2ee/0x490 [ 35.382470][ C2] netdev_get_by_index+0x5e/0x80 [ 35.382605][ C2] fib6_nh_init+0x3d8/0x15b0 [ 35.382743][ C2] ip6_route_info_create+0xf18/0x17d0 [ 35.382879][ C2] addrconf_f6i_alloc+0x265/0x560 [ 35.383014][ C2] __ipv6_dev_ac_inc+0x25f/0xb10 [ 35.383153][ C2] addrconf_join_anycast+0x1c0/0x220 [ 35.383291][ C2] dev_forward_change+0x2a6/0x7b0 [ 35.383428][ C2] addrconf_fixup_forwarding+0x23f/0x460 [ 35.383596][ C2] addrconf_sysctl_forward+0x212/0x2b0 [ 35.383731][ C2] proc_sys_call_handler+0x403/0x5e0 [ 35.383869][ C2] vfs_write+0x9e5/0x10a0 [ 35.384007][ C2] ksys_write+0xf5/0x1e0 [ 35.384145][ C2] do_syscall_64+0xc6/0x1e0 [ 35.384284][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.384455][ C2] [ 35.384525][ C2] -> (&ndev->lock){++-.}-{2:2} { [ 35.384668][ C2] HARDIRQ-ON-W at: [ 35.384770][ C2] __lock_acquire+0x797/0x1570 [ 35.384943][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.385115][ C2] _raw_write_lock_bh+0x38/0x50 [ 35.385286][ C2] addrconf_permanent_addr+0x6e/0x670 [ 35.385455][ C2] addrconf_notify+0x749/0xd60 [ 35.385626][ C2] notifier_call_chain+0xcd/0x150 [ 35.385795][ C2] __dev_notify_flags+0xe6/0x250 [ 35.385965][ C2] dev_change_flags+0xec/0x160 [ 35.386137][ C2] do_setlink+0x7d6/0x21e0 [ 35.386308][ C2] __rtnl_newlink+0xaa7/0xd80 [ 35.386481][ C2] rtnl_newlink+0x63/0xa0 [ 35.386651][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.386822][ C2] netlink_rcv_skb+0x130/0x360 [ 35.386993][ C2] netlink_unicast+0x449/0x710 [ 35.387163][ C2] netlink_sendmsg+0x723/0xbe0 [ 35.387333][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 35.387506][ C2] ___sys_sendmsg+0xee/0x170 [ 35.387676][ C2] __sys_sendmsg+0xcd/0x170 [ 35.387846][ C2] do_syscall_64+0xc6/0x1e0 [ 35.388014][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.388218][ C2] HARDIRQ-ON-R at: [ 35.388321][ C2] __lock_acquire+0x797/0x1570 [ 35.388491][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.388665][ C2] _raw_read_lock_bh+0x44/0x80 [ 35.388837][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.389007][ C2] inet6_fill_link_af+0x5e/0xe0 [ 35.389177][ C2] rtnl_fill_ifinfo+0x1612/0x29e0 [ 35.389347][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.389517][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.389723][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 35.389892][ C2] register_netdevice+0x1177/0x1690 [ 35.390061][ C2] register_netdev+0x20/0x40 [ 35.390231][ C2] sit_init_net+0x250/0x4f0 [ 35.390402][ C2] ops_init+0x9b/0x560 [ 35.390537][ C2] register_pernet_operations+0x2db/0x710 [ 35.390742][ C2] register_pernet_device+0x2a/0x60 [ 35.390913][ C2] sit_init+0x23/0xe0 [ 35.391049][ C2] do_one_initcall+0x8d/0x1e0 [ 35.391220][ C2] do_initcalls+0x1b2/0x3e0 [ 35.391391][ C2] kernel_init_freeable+0x232/0x310 [ 35.391560][ C2] kernel_init+0x20/0x200 [ 35.391730][ C2] ret_from_fork+0x31/0x70 [ 35.391904][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.392075][ C2] IN-SOFTIRQ-W at: [ 35.392189][ C2] __lock_acquire+0x797/0x1570 [ 35.392360][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.392530][ C2] _raw_write_lock+0x30/0x40 [ 35.392710][ C2] addrconf_rs_timer+0xa9/0x730 [ 35.392880][ C2] call_timer_fn+0x13b/0x230 [ 35.393053][ C2] __run_timers+0x545/0x810 [ 35.393225][ C2] timer_expire_remote+0x9b/0xe0 [ 35.393395][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.393567][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.393742][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.393911][ C2] __do_softirq+0x1f8/0x5df [ 35.394084][ C2] irq_exit_rcu+0x97/0xc0 [ 35.394258][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.394460][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.394665][ C2] default_idle+0xf/0x20 [ 35.394837][ C2] default_idle_call+0x6d/0xb0 [ 35.395010][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.395184][ C2] do_idle+0xf9/0x160 [ 35.395320][ C2] cpu_startup_entry+0x54/0x60 [ 35.395492][ C2] start_secondary+0x21c/0x2b0 [ 35.395665][ C2] common_startup_64+0x12c/0x138 [ 35.395835][ C2] INITIAL USE at: [ 35.395937][ C2] __lock_acquire+0x797/0x1570 [ 35.396112][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.396284][ C2] _raw_write_lock_bh+0x38/0x50 [ 35.396455][ C2] addrconf_permanent_addr+0x6e/0x670 [ 35.396625][ C2] addrconf_notify+0x749/0xd60 [ 35.396795][ C2] notifier_call_chain+0xcd/0x150 [ 35.396964][ C2] __dev_notify_flags+0xe6/0x250 [ 35.397134][ C2] dev_change_flags+0xec/0x160 [ 35.397308][ C2] do_setlink+0x7d6/0x21e0 [ 35.397488][ C2] __rtnl_newlink+0xaa7/0xd80 [ 35.397659][ C2] rtnl_newlink+0x63/0xa0 [ 35.397830][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.397998][ C2] netlink_rcv_skb+0x130/0x360 [ 35.398167][ C2] netlink_unicast+0x449/0x710 [ 35.398337][ C2] netlink_sendmsg+0x723/0xbe0 [ 35.398509][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 35.398683][ C2] ___sys_sendmsg+0xee/0x170 [ 35.398854][ C2] __sys_sendmsg+0xcd/0x170 [ 35.399025][ C2] do_syscall_64+0xc6/0x1e0 [ 35.399195][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.399397][ C2] INITIAL READ USE at: [ 35.399500][ C2] __lock_acquire+0x797/0x1570 [ 35.399673][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.399843][ C2] _raw_read_lock_bh+0x44/0x80 [ 35.400012][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.400218][ C2] inet6_fill_link_af+0x5e/0xe0 [ 35.400386][ C2] rtnl_fill_ifinfo+0x1612/0x29e0 [ 35.400559][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.400762][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.400970][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 35.401139][ C2] register_netdevice+0x1177/0x1690 [ 35.401345][ C2] register_netdev+0x20/0x40 [ 35.401514][ C2] sit_init_net+0x250/0x4f0 [ 35.401690][ C2] ops_init+0x9b/0x560 [ 35.401906][ C2] register_pernet_operations+0x2db/0x710 [ 35.402117][ C2] register_pernet_device+0x2a/0x60 [ 35.402336][ C2] sit_init+0x23/0xe0 [ 35.402514][ C2] do_one_initcall+0x8d/0x1e0 [ 35.402691][ C2] do_initcalls+0x1b2/0x3e0 [ 35.402872][ C2] kernel_init_freeable+0x232/0x310 [ 35.403086][ C2] kernel_init+0x20/0x200 [ 35.403262][ C2] ret_from_fork+0x31/0x70 [ 35.403439][ C2] ret_from_fork_asm+0x1a/0x30 [ 35.403615][ C2] } [ 35.403689][ C2] ... key at: [] __key.37+0x0/0x40 [ 35.403900][ C2] ... acquired at: [ 35.404007][ C2] mark_lock+0x28d/0x3e0 [ 35.404149][ C2] mark_usage+0xd9/0x2a0 [ 35.404291][ C2] __lock_acquire+0x797/0x1570 [ 35.404432][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.404571][ C2] _raw_write_lock+0x30/0x40 [ 35.404713][ C2] addrconf_rs_timer+0xa9/0x730 [ 35.404854][ C2] call_timer_fn+0x13b/0x230 [ 35.404997][ C2] __run_timers+0x545/0x810 [ 35.405138][ C2] timer_expire_remote+0x9b/0xe0 [ 35.405283][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.405424][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.405565][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.405708][ C2] __do_softirq+0x1f8/0x5df [ 35.405848][ C2] irq_exit_rcu+0x97/0xc0 [ 35.405990][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.406166][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.406344][ C2] default_idle+0xf/0x20 [ 35.406484][ C2] default_idle_call+0x6d/0xb0 [ 35.406625][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.406767][ C2] do_idle+0xf9/0x160 [ 35.406875][ C2] cpu_startup_entry+0x54/0x60 [ 35.407017][ C2] start_secondary+0x21c/0x2b0 [ 35.407159][ C2] common_startup_64+0x12c/0x138 [ 35.407299][ C2] [ 35.407370][ C2] [ 35.407370][ C2] stack backtrace: [ 35.407545][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 35.407756][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 35.408066][ C2] Call Trace: [ 35.408175][ C2] [ 35.408252][ C2] dump_stack_lvl+0x82/0xd0 [ 35.408396][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 35.408571][ C2] ? kernel_text_address+0x17/0xe0 [ 35.408718][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 35.408892][ C2] ? __pfx_usage_skip+0x10/0x10 [ 35.409031][ C2] ? __pfx_usage_match+0x10/0x10 [ 35.409171][ C2] ? arch_stack_walk+0x8c/0xf0 [ 35.409312][ C2] mark_lock_irq+0x4cd/0xa10 [ 35.409451][ C2] ? common_startup_64+0x12c/0x138 [ 35.409592][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 35.409736][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 35.409879][ C2] ? save_trace+0x8f/0x5b0 [ 35.410019][ C2] mark_lock+0x28d/0x3e0 [ 35.410126][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 35.410266][ C2] mark_usage+0xd9/0x2a0 [ 35.410373][ C2] __lock_acquire+0x797/0x1570 [ 35.410514][ C2] ? __pfx_validate_chain+0x10/0x10 [ 35.410655][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.410798][ C2] lock_acquire.part.0+0xeb/0x330 [ 35.410940][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.411081][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.411221][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 35.411361][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.411503][ C2] ? lock_acquire+0x32/0xc0 [ 35.411641][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.411783][ C2] _raw_write_lock+0x30/0x40 [ 35.411923][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 35.412065][ C2] addrconf_rs_timer+0xa9/0x730 [ 35.412212][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.412352][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.412491][ C2] ? call_timer_fn+0xe8/0x230 [ 35.412632][ C2] ? lock_acquire+0x32/0xc0 [ 35.412773][ C2] ? call_timer_fn+0xe8/0x230 [ 35.412914][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.413054][ C2] call_timer_fn+0x13b/0x230 [ 35.413198][ C2] ? call_timer_fn+0xe8/0x230 [ 35.413339][ C2] ? call_timer_fn+0xe8/0x230 [ 35.413479][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 35.413620][ C2] ? mark_lock+0x38/0x3e0 [ 35.413730][ C2] __run_timers+0x545/0x810 [ 35.413872][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.414015][ C2] ? __pfx___run_timers+0x10/0x10 [ 35.414156][ C2] ? __lock_release+0x103/0x460 [ 35.414297][ C2] ? do_raw_spin_lock+0x131/0x270 [ 35.414438][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 35.414580][ C2] ? lock_acquire+0x32/0xc0 [ 35.414720][ C2] ? timer_expire_remote+0x93/0xe0 [ 35.414863][ C2] timer_expire_remote+0x9b/0xe0 [ 35.415007][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 35.415150][ C2] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 35.415328][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.415470][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 35.415614][ C2] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 35.415759][ C2] __do_softirq+0x1f8/0x5df [ 35.415901][ C2] irq_exit_rcu+0x97/0xc0 [ 35.416009][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.416148][ C2] [ 35.416220][ C2] [ 35.416292][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.416468][ C2] RIP: 0010:default_idle+0xf/0x20 [ 35.416618][ 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 [ 35.417120][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000242 [ 35.417300][ C2] RAX: 00000000000dda13 RBX: 1ffff9200002bfc1 RCX: ffffffff9ad0e9d5 [ 35.417511][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff986aa4a4 [ 35.417728][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 35.417939][ C2] R10: ffff8880361384e3 R11: ffff88803612d9b0 R12: 0000000000000000 [ 35.418156][ C2] R13: ffff888001b7c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 35.418371][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 35.418512][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 35.418657][ C2] default_idle_call+0x6d/0xb0 [ 35.418798][ C2] cpuidle_idle_call+0x1f4/0x280 [ 35.418939][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 35.419080][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 35.419222][ C2] do_idle+0xf9/0x160 [ 35.419330][ C2] cpu_startup_entry+0x54/0x60 [ 35.419552][ C2] start_secondary+0x21c/0x2b0 [ 35.419692][ C2] ? __pfx_start_secondary+0x10/0x10 [ 35.419833][ C2] common_startup_64+0x12c/0x138 [ 35.419979][ C2] [ 62.221615][ T400] br1: port 1(veth1) entered disabled state [ 62.323560][ T401] veth1: left allmulticast mode [ 62.323744][ T401] veth1: left promiscuous mode [ 62.323990][ T401] br1: port 1(veth1) entered disabled state