[ 63.744943][ T563] br1: port 1(veth1) entered blocking state [ 63.745424][ T563] br1: port 1(veth1) entered disabled state [ 63.745764][ T563] veth1: entered allmulticast mode [ 63.748622][ T563] veth1: entered promiscuous mode [ 63.902539][ T29] br1: port 1(veth1) entered blocking state [ 63.903177][ T29] br1: port 1(veth1) entered forwarding state [ 68.712889][ C0] [ 68.713057][ C0] ======================================================== [ 68.713314][ C0] WARNING: possible irq lock inversion dependency detected [ 68.713592][ C0] 6.9.0-rc1-virtme #1 Not tainted [ 68.713754][ C0] -------------------------------------------------------- [ 68.714019][ C0] swapper/0/0 just changed the state of lock: [ 68.714228][ C0] ffff8880070b8d80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 68.714551][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 68.714802][ C0] (&p->alloc_lock){+.+.}-{2:2} [ 68.714806][ C0] [ 68.714806][ C0] [ 68.714806][ C0] and interrupts could create inverse lock ordering between them. [ 68.714806][ C0] [ 68.715460][ C0] [ 68.715460][ C0] other info that might help us debug this: [ 68.715690][ C0] Possible interrupt unsafe locking scenario: [ 68.715690][ C0] [ 68.715925][ C0] CPU0 CPU1 [ 68.716074][ C0] ---- ---- [ 68.716227][ C0] lock(&p->alloc_lock); [ 68.716343][ C0] local_irq_disable(); [ 68.716530][ C0] lock(&ndev->lock); [ 68.716725][ C0] lock(&p->alloc_lock); [ 68.716935][ C0] [ 68.717048][ C0] lock(&ndev->lock); [ 68.717186][ C0] [ 68.717186][ C0] *** DEADLOCK *** [ 68.717186][ C0] [ 68.717425][ C0] 1 lock held by swapper/0/0: [ 68.717575][ C0] #0: ffffc90000007b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 68.717887][ C0] [ 68.717887][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 68.718187][ C0] -> (&p->alloc_lock){+.+.}-{2:2} { [ 68.718360][ C0] HARDIRQ-ON-W at: [ 68.718493][ C0] __lock_acquire+0x797/0x1570 [ 68.718724][ C0] lock_acquire.part.0+0xeb/0x330 [ 68.718942][ C0] _raw_spin_lock+0x30/0x40 [ 68.719163][ C0] set_mems_allowed+0x1d/0x210 [ 68.719394][ C0] kernel_init_freeable+0x72/0x310 [ 68.719626][ C0] kernel_init+0x20/0x200 [ 68.719817][ C0] ret_from_fork+0x31/0x70 [ 68.720012][ C0] ret_from_fork_asm+0x1a/0x30 [ 68.720202][ C0] SOFTIRQ-ON-W at: [ 68.720315][ C0] __lock_acquire+0x797/0x1570 [ 68.720509][ C0] lock_acquire.part.0+0xeb/0x330 [ 68.720703][ C0] _raw_spin_lock+0x30/0x40 [ 68.720895][ C0] set_mems_allowed+0x1d/0x210 [ 68.721085][ C0] kernel_init_freeable+0x72/0x310 [ 68.721273][ C0] kernel_init+0x20/0x200 [ 68.721466][ C0] ret_from_fork+0x31/0x70 [ 68.721661][ C0] ret_from_fork_asm+0x1a/0x30 [ 68.721849][ C0] INITIAL USE at: [ 68.721965][ C0] __lock_acquire+0x797/0x1570 [ 68.722153][ C0] lock_acquire.part.0+0xeb/0x330 [ 68.722342][ C0] _raw_spin_lock+0x30/0x40 [ 68.722534][ C0] set_mems_allowed+0x1d/0x210 [ 68.722733][ C0] kernel_init_freeable+0x72/0x310 [ 68.722921][ C0] kernel_init+0x20/0x200 [ 68.723110][ C0] ret_from_fork+0x31/0x70 [ 68.723302][ C0] ret_from_fork_asm+0x1a/0x30 [ 68.723490][ C0] } [ 68.723568][ C0] ... key at: [] __key.387+0x0/0x40 [ 68.723794][ C0] ... acquired at: [ 68.723915][ C0] __lock_acquire+0xaf0/0x1570 [ 68.724068][ C0] lock_acquire.part.0+0xeb/0x330 [ 68.724218][ C0] _raw_spin_lock+0x30/0x40 [ 68.724384][ C0] __get_task_comm+0x27/0x70 [ 68.724538][ C0] ref_tracker_alloc+0x2ee/0x490 [ 68.724692][ C0] netdev_get_by_index+0x5e/0x80 [ 68.724843][ C0] fib6_nh_init+0x3d8/0x15b0 [ 68.724996][ C0] ip6_route_info_create+0xf18/0x17d0 [ 68.725148][ C0] addrconf_f6i_alloc+0x265/0x560 [ 68.725302][ C0] __ipv6_dev_ac_inc+0x25f/0xb10 [ 68.725453][ C0] addrconf_join_anycast+0x1c0/0x220 [ 68.725603][ C0] __ipv6_ifa_notify+0x6b3/0xaf0 [ 68.725755][ C0] addrconf_dad_completed+0x12b/0xe20 [ 68.725907][ C0] addrconf_dad_begin+0x310/0x670 [ 68.726056][ C0] addrconf_dad_work+0x10b/0xab0 [ 68.726210][ C0] process_one_work+0xe2c/0x1730 [ 68.726361][ C0] worker_thread+0x587/0xd30 [ 68.726517][ C0] kthread+0x28a/0x350 [ 68.726677][ C0] ret_from_fork+0x31/0x70 [ 68.726833][ C0] ret_from_fork_asm+0x1a/0x30 [ 68.726986][ C0] [ 68.727064][ C0] -> (&ndev->lock){++-.}-{2:2} { [ 68.727249][ C0] HARDIRQ-ON-W at: [ 68.727365][ C0] __lock_acquire+0x797/0x1570 [ 68.727562][ C0] lock_acquire.part.0+0xeb/0x330 [ 68.727774][ C0] _raw_write_lock_bh+0x38/0x50 [ 68.727967][ C0] addrconf_permanent_addr+0x6e/0x670 [ 68.728168][ C0] addrconf_notify+0x749/0xd60 [ 68.728358][ C0] notifier_call_chain+0xcd/0x150 [ 68.728586][ C0] __dev_notify_flags+0xe6/0x250 [ 68.728797][ C0] dev_change_flags+0xec/0x160 [ 68.728995][ C0] do_setlink+0x7d6/0x21e0 [ 68.729207][ C0] __rtnl_newlink+0xaa7/0xd80 [ 68.729407][ C0] rtnl_newlink+0x63/0xa0 [ 68.729609][ C0] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 68.729798][ C0] netlink_rcv_skb+0x130/0x360 [ 68.730033][ C0] netlink_unicast+0x449/0x710 [ 68.730237][ C0] netlink_sendmsg+0x723/0xbe0 [ 68.730436][ C0] ____sys_sendmsg+0x7b2/0xa10 [ 68.730649][ C0] ___sys_sendmsg+0xee/0x170 [ 68.730850][ C0] __sys_sendmsg+0xcd/0x170 [ 68.731042][ C0] do_syscall_64+0xc6/0x1e0 [ 68.731230][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 68.731463][ C0] HARDIRQ-ON-R at: [ 68.731578][ C0] __lock_acquire+0x797/0x1570 [ 68.731768][ C0] lock_acquire.part.0+0xeb/0x330 [ 68.731956][ C0] _raw_read_lock_bh+0x44/0x80 [ 68.732146][ C0] inet6_fill_ifla6_attrs+0x516/0x740 [ 68.732335][ C0] inet6_fill_link_af+0x5e/0xe0 [ 68.732524][ C0] rtnl_fill_ifinfo+0x1612/0x29e0 [ 68.732720][ C0] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 68.732907][ C0] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 68.733133][ C0] rtmsg_ifinfo+0x5b/0xa0 [ 68.733325][ C0] register_netdevice+0x1177/0x1690 [ 68.733513][ C0] register_netdev+0x20/0x40 [ 68.733703][ C0] sit_init_net+0x250/0x4f0 [ 68.733900][ C0] ops_init+0x9b/0x560 [ 68.734053][ C0] register_pernet_operations+0x2db/0x710 [ 68.734278][ C0] register_pernet_device+0x2a/0x60 [ 68.734479][ C0] sit_init+0x23/0xe0 [ 68.734634][ C0] do_one_initcall+0x8d/0x1e0 [ 68.734823][ C0] do_initcalls+0x1b2/0x3e0 [ 68.735019][ C0] kernel_init_freeable+0x232/0x310 [ 68.735207][ C0] kernel_init+0x20/0x200 [ 68.735398][ C0] ret_from_fork+0x31/0x70 [ 68.735590][ C0] ret_from_fork_asm+0x1a/0x30 [ 68.735780][ C0] IN-SOFTIRQ-W at: [ 68.735893][ C0] __lock_acquire+0x797/0x1570 [ 68.736082][ C0] lock_acquire.part.0+0xeb/0x330 [ 68.736277][ C0] _raw_write_lock+0x30/0x40 [ 68.736466][ C0] addrconf_rs_timer+0xa9/0x730 [ 68.736655][ C0] call_timer_fn+0x13b/0x230 [ 68.736842][ C0] __run_timers+0x545/0x810 [ 68.737030][ C0] timer_expire_remote+0x9b/0xe0 [ 68.737221][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 68.737413][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 68.737603][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 68.737790][ C0] __do_softirq+0x1f8/0x5df [ 68.737979][ C0] irq_exit_rcu+0x97/0xc0 [ 68.738167][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 68.738392][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 68.738625][ C0] default_idle+0xf/0x20 [ 68.738813][ C0] default_idle_call+0x6d/0xb0 [ 68.738999][ C0] cpuidle_idle_call+0x1f4/0x280 [ 68.739189][ C0] do_idle+0xf9/0x160 [ 68.739341][ C0] cpu_startup_entry+0x54/0x60 [ 68.739541][ C0] rest_init+0x14f/0x260 [ 68.739731][ C0] start_kernel+0x318/0x3d0 [ 68.739989][ C0] x86_64_start_reservations+0x18/0x30 [ 68.740184][ C0] x86_64_start_kernel+0xba/0x110 [ 68.740394][ C0] common_startup_64+0x12c/0x138 [ 68.740595][ C0] INITIAL USE at: [ 68.740711][ C0] __lock_acquire+0x797/0x1570 [ 68.740933][ C0] lock_acquire.part.0+0xeb/0x330 [ 68.741133][ C0] _raw_write_lock_bh+0x38/0x50 [ 68.741370][ C0] addrconf_permanent_addr+0x6e/0x670 [ 68.741558][ C0] addrconf_notify+0x749/0xd60 [ 68.741746][ C0] notifier_call_chain+0xcd/0x150 [ 68.741958][ C0] __dev_notify_flags+0xe6/0x250 [ 68.742154][ C0] dev_change_flags+0xec/0x160 [ 68.742348][ C0] do_setlink+0x7d6/0x21e0 [ 68.742538][ C0] __rtnl_newlink+0xaa7/0xd80 [ 68.742752][ C0] rtnl_newlink+0x63/0xa0 [ 68.742940][ C0] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 68.743150][ C0] netlink_rcv_skb+0x130/0x360 [ 68.743343][ C0] netlink_unicast+0x449/0x710 [ 68.743542][ C0] netlink_sendmsg+0x723/0xbe0 [ 68.743745][ C0] ____sys_sendmsg+0x7b2/0xa10 [ 68.743960][ C0] ___sys_sendmsg+0xee/0x170 [ 68.744198][ C0] __sys_sendmsg+0xcd/0x170 [ 68.744397][ C0] do_syscall_64+0xc6/0x1e0 [ 68.744594][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 68.744826][ C0] INITIAL READ USE at: [ 68.744956][ C0] __lock_acquire+0x797/0x1570 [ 68.745153][ C0] lock_acquire.part.0+0xeb/0x330 [ 68.745365][ C0] _raw_read_lock_bh+0x44/0x80 [ 68.745560][ C0] inet6_fill_ifla6_attrs+0x516/0x740 [ 68.745804][ C0] inet6_fill_link_af+0x5e/0xe0 [ 68.746015][ C0] rtnl_fill_ifinfo+0x1612/0x29e0 [ 68.746307][ C0] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 68.746570][ C0] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 68.746808][ C0] rtmsg_ifinfo+0x5b/0xa0 [ 68.747115][ C0] register_netdevice+0x1177/0x1690 [ 68.747340][ C0] register_netdev+0x20/0x40 [ 68.747573][ C0] sit_init_net+0x250/0x4f0 [ 68.747871][ C0] ops_init+0x9b/0x560 [ 68.748076][ C0] register_pernet_operations+0x2db/0x710 [ 68.748313][ C0] register_pernet_device+0x2a/0x60 [ 68.748737][ C0] sit_init+0x23/0xe0 [ 68.748929][ C0] do_one_initcall+0x8d/0x1e0 [ 68.749119][ C0] do_initcalls+0x1b2/0x3e0 [ 68.749312][ C0] kernel_init_freeable+0x232/0x310 [ 68.749632][ C0] kernel_init+0x20/0x200 [ 68.749821][ C0] ret_from_fork+0x31/0x70 [ 68.750014][ C0] ret_from_fork_asm+0x1a/0x30 [ 68.750300][ C0] } [ 68.750379][ C0] ... key at: [] __key.37+0x0/0x40 [ 68.750611][ C0] ... acquired at: [ 68.750730][ C0] mark_lock+0x28d/0x3e0 [ 68.750978][ C0] mark_usage+0xd9/0x2a0 [ 68.751136][ C0] __lock_acquire+0x797/0x1570 [ 68.751288][ C0] lock_acquire.part.0+0xeb/0x330 [ 68.751437][ C0] _raw_write_lock+0x30/0x40 [ 68.751679][ C0] addrconf_rs_timer+0xa9/0x730 [ 68.751831][ C0] call_timer_fn+0x13b/0x230 [ 68.751983][ C0] __run_timers+0x545/0x810 [ 68.752133][ C0] timer_expire_remote+0x9b/0xe0 [ 68.752288][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 68.752534][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 68.752705][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 68.752858][ C0] __do_softirq+0x1f8/0x5df [ 68.753063][ C0] irq_exit_rcu+0x97/0xc0 [ 68.753313][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 68.753501][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 68.753688][ C0] default_idle+0xf/0x20 [ 68.753845][ C0] default_idle_call+0x6d/0xb0 [ 68.754106][ C0] cpuidle_idle_call+0x1f4/0x280 [ 68.754259][ C0] do_idle+0xf9/0x160 [ 68.754382][ C0] cpu_startup_entry+0x54/0x60 [ 68.754555][ C0] rest_init+0x14f/0x260 [ 68.754799][ C0] start_kernel+0x318/0x3d0 [ 68.754983][ C0] x86_64_start_reservations+0x18/0x30 [ 68.755133][ C0] x86_64_start_kernel+0xba/0x110 [ 68.755289][ C0] common_startup_64+0x12c/0x138 [ 68.755537][ C0] [ 68.755614][ C0] [ 68.755614][ C0] stack backtrace: [ 68.755800][ C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.9.0-rc1-virtme #1 [ 68.756059][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 68.756513][ C0] Call Trace: [ 68.756629][ C0] [ 68.756723][ C0] dump_stack_lvl+0x82/0xd0 [ 68.756879][ C0] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 68.757182][ C0] ? kernel_text_address+0x17/0xe0 [ 68.757335][ C0] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 68.757546][ C0] ? __pfx_usage_skip+0x10/0x10 [ 68.757700][ C0] ? __pfx_usage_match+0x10/0x10 [ 68.757955][ C0] ? arch_stack_walk+0x8c/0xf0 [ 68.758121][ C0] mark_lock_irq+0x4cd/0xa10 [ 68.758297][ C0] ? common_startup_64+0x12c/0x138 [ 68.758448][ C0] ? __pfx_mark_lock_irq+0x10/0x10 [ 68.758709][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 68.758864][ C0] ? save_trace+0x8f/0x5b0 [ 68.759027][ C0] mark_lock+0x28d/0x3e0 [ 68.759145][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 68.759322][ C0] mark_usage+0xd9/0x2a0 [ 68.759531][ C0] __lock_acquire+0x797/0x1570 [ 68.759703][ C0] ? __pfx_validate_chain+0x10/0x10 [ 68.759868][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 68.760040][ C0] lock_acquire.part.0+0xeb/0x330 [ 68.760298][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 68.760469][ C0] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 68.760630][ C0] ? trace_lock_acquire+0x135/0x1c0 [ 68.760785][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 68.761137][ C0] ? lock_acquire+0x32/0xc0 [ 68.761294][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 68.761443][ C0] _raw_write_lock+0x30/0x40 [ 68.761594][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 68.761746][ C0] addrconf_rs_timer+0xa9/0x730 [ 68.761988][ C0] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 68.762141][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 68.762294][ C0] ? call_timer_fn+0xe8/0x230 [ 68.762444][ C0] ? lock_acquire+0x32/0xc0 [ 68.762689][ C0] ? call_timer_fn+0xe8/0x230 [ 68.762846][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 68.762995][ C0] call_timer_fn+0x13b/0x230 [ 68.763144][ C0] ? call_timer_fn+0xe8/0x230 [ 68.763386][ C0] ? call_timer_fn+0xe8/0x230 [ 68.763538][ C0] ? __pfx_call_timer_fn+0x10/0x10 [ 68.763688][ C0] ? mark_lock+0x38/0x3e0 [ 68.763807][ C0] __run_timers+0x545/0x810 [ 68.763960][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 68.764211][ C0] ? __pfx___run_timers+0x10/0x10 [ 68.764395][ C0] ? __lock_release+0x103/0x460 [ 68.764559][ C0] ? do_raw_spin_lock+0x131/0x270 [ 68.764708][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 68.764951][ C0] ? lock_acquire+0x32/0xc0 [ 68.765102][ C0] ? timer_expire_remote+0x93/0xe0 [ 68.765254][ C0] timer_expire_remote+0x9b/0xe0 [ 68.765405][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 68.765653][ C0] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 68.765851][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 68.766002][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 68.766151][ C0] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 68.766397][ C0] __do_softirq+0x1f8/0x5df [ 68.766548][ C0] irq_exit_rcu+0x97/0xc0 [ 68.766663][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 68.766844][ C0] [ 68.766952][ C0] [ 68.767035][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 68.767338][ C0] RIP: 0010:default_idle+0xf/0x20 [ 68.767545][ 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 [ 68.768262][ C0] RSP: 0018:ffffffff9e407e00 EFLAGS: 00000242 [ 68.768491][ C0] RAX: 0000000000148f9b RBX: 1ffffffff3c80fc2 RCX: ffffffff9d50e9d5 [ 68.768765][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9aeaa4a4 [ 68.769128][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0709c [ 68.769395][ C0] R10: ffff8880360384e3 R11: ffff88803602d9b0 R12: 0000000000000000 [ 68.769756][ C0] R13: ffffffff9e41d000 R14: dffffc0000000000 R15: 0000000000014770 [ 68.770036][ C0] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 68.770212][ C0] ? cpuidle_idle_call+0x1f4/0x280 [ 68.770394][ C0] default_idle_call+0x6d/0xb0 [ 68.770661][ C0] cpuidle_idle_call+0x1f4/0x280 [ 68.770839][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 68.771017][ C0] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 68.771191][ C0] do_idle+0xf9/0x160 [ 68.771329][ C0] cpu_startup_entry+0x54/0x60 [ 68.771601][ C0] rest_init+0x14f/0x260 [ 68.771752][ C0] start_kernel+0x318/0x3d0 [ 68.771923][ C0] x86_64_start_reservations+0x18/0x30 [ 68.772103][ C0] x86_64_start_kernel+0xba/0x110 [ 68.772373][ C0] common_startup_64+0x12c/0x138 [ 68.772537][ C0] [ 78.133018][ T622] br1: port 1(veth1) entered disabled state [ 78.230953][ T623] veth1: left allmulticast mode [ 78.231149][ T623] veth1: left promiscuous mode [ 78.231436][ T623] br1: port 1(veth1) entered disabled state