[ 25.295910][ T236] ip (236) used greatest stack depth: 23328 bytes left [ 28.022321][ T272] 8021q: 802.1Q VLAN Support v1.8 [ 32.204628][ T307] br1: port 1(veth1) entered blocking state [ 32.205153][ T307] br1: port 1(veth1) entered disabled state [ 32.205521][ T307] veth1: entered allmulticast mode [ 32.207680][ T307] veth1: entered promiscuous mode [ 32.352801][ T49] br1: port 1(veth1) entered blocking state [ 32.353176][ T49] br1: port 1(veth1) entered forwarding state [ 37.395680][ C2] [ 37.395874][ C2] ======================================================== [ 37.396126][ C2] WARNING: possible irq lock inversion dependency detected [ 37.396377][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 37.396548][ C2] -------------------------------------------------------- [ 37.396793][ C2] swapper/2/0 just changed the state of lock: [ 37.397005][ C2] ffff888005bf5580 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 37.397305][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 37.397547][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 37.397551][ C2] [ 37.397551][ C2] [ 37.397551][ C2] and interrupts could create inverse lock ordering between them. [ 37.397551][ C2] [ 37.398161][ C2] [ 37.398161][ C2] other info that might help us debug this: [ 37.398384][ C2] Possible interrupt unsafe locking scenario: [ 37.398384][ C2] [ 37.398615][ C2] CPU0 CPU1 [ 37.398761][ C2] ---- ---- [ 37.398921][ C2] lock(&p->alloc_lock); [ 37.399035][ C2] local_irq_disable(); [ 37.399220][ C2] lock(&ndev->lock); [ 37.399404][ C2] lock(&p->alloc_lock); [ 37.399600][ C2] [ 37.399717][ C2] lock(&ndev->lock); [ 37.399835][ C2] [ 37.399835][ C2] *** DEADLOCK *** [ 37.399835][ C2] [ 37.400062][ C2] 1 lock held by swapper/2/0: [ 37.400226][ C2] #0: ffffc90000230b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 37.400507][ C2] [ 37.400507][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 37.400772][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 37.400925][ C2] HARDIRQ-ON-W at: [ 37.401041][ C2] __lock_acquire+0x797/0x1570 [ 37.401240][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.401437][ C2] _raw_spin_lock+0x30/0x40 [ 37.401642][ C2] set_mems_allowed+0x1d/0x210 [ 37.401839][ C2] kernel_init_freeable+0x72/0x310 [ 37.402029][ C2] kernel_init+0x20/0x200 [ 37.402222][ C2] ret_from_fork+0x31/0x70 [ 37.402417][ C2] ret_from_fork_asm+0x1a/0x30 [ 37.402608][ C2] SOFTIRQ-ON-W at: [ 37.402718][ C2] __lock_acquire+0x797/0x1570 [ 37.402920][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.403106][ C2] _raw_spin_lock+0x30/0x40 [ 37.403364][ C2] set_mems_allowed+0x1d/0x210 [ 37.403565][ C2] kernel_init_freeable+0x72/0x310 [ 37.403755][ C2] kernel_init+0x20/0x200 [ 37.403943][ C2] ret_from_fork+0x31/0x70 [ 37.404138][ C2] ret_from_fork_asm+0x1a/0x30 [ 37.404331][ C2] INITIAL USE at: [ 37.404443][ C2] __lock_acquire+0x797/0x1570 [ 37.404635][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.404825][ C2] _raw_spin_lock+0x30/0x40 [ 37.405029][ C2] set_mems_allowed+0x1d/0x210 [ 37.405245][ C2] kernel_init_freeable+0x72/0x310 [ 37.405449][ C2] kernel_init+0x20/0x200 [ 37.405654][ C2] ret_from_fork+0x31/0x70 [ 37.405858][ C2] ret_from_fork_asm+0x1a/0x30 [ 37.406067][ C2] } [ 37.406149][ C2] ... key at: [] __key.387+0x0/0x40 [ 37.406404][ C2] ... acquired at: [ 37.406545][ C2] __lock_acquire+0xaf0/0x1570 [ 37.406713][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.406876][ C2] _raw_spin_lock+0x30/0x40 [ 37.407030][ C2] __get_task_comm+0x27/0x70 [ 37.407185][ C2] ref_tracker_alloc+0x2ee/0x490 [ 37.407336][ C2] netdev_get_by_index+0x5e/0x80 [ 37.407486][ C2] fib6_nh_init+0x3d8/0x15b0 [ 37.407652][ C2] ip6_route_info_create+0xf18/0x17d0 [ 37.407822][ C2] addrconf_f6i_alloc+0x265/0x560 [ 37.407987][ C2] __ipv6_dev_ac_inc+0x25f/0xb10 [ 37.408151][ C2] addrconf_join_anycast+0x1c0/0x220 [ 37.408314][ C2] dev_forward_change+0x2a6/0x7b0 [ 37.408467][ C2] addrconf_fixup_forwarding+0x23f/0x460 [ 37.408655][ C2] addrconf_sysctl_forward+0x212/0x2b0 [ 37.408803][ C2] proc_sys_call_handler+0x403/0x5e0 [ 37.408961][ C2] vfs_write+0x9e5/0x10a0 [ 37.409115][ C2] ksys_write+0xf5/0x1e0 [ 37.409263][ C2] do_syscall_64+0xc6/0x1e0 [ 37.409412][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 37.409604][ C2] [ 37.409683][ C2] -> (&ndev->lock){++-.}-{2:2} { [ 37.409840][ C2] HARDIRQ-ON-W at: [ 37.409953][ C2] __lock_acquire+0x797/0x1570 [ 37.410143][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.410338][ C2] _raw_write_lock_bh+0x38/0x50 [ 37.410529][ C2] addrconf_permanent_addr+0x6e/0x670 [ 37.410717][ C2] addrconf_notify+0x749/0xd60 [ 37.410908][ C2] notifier_call_chain+0xcd/0x150 [ 37.411095][ C2] __dev_notify_flags+0xe6/0x250 [ 37.411286][ C2] dev_change_flags+0xec/0x160 [ 37.411475][ C2] do_setlink+0x7d6/0x21e0 [ 37.411674][ C2] __rtnl_newlink+0xaa7/0xd80 [ 37.411861][ C2] rtnl_newlink+0x63/0xa0 [ 37.412050][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 37.412239][ C2] netlink_rcv_skb+0x130/0x360 [ 37.412424][ C2] netlink_unicast+0x449/0x710 [ 37.412617][ C2] netlink_sendmsg+0x723/0xbe0 [ 37.412805][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 37.413034][ C2] ___sys_sendmsg+0xee/0x170 [ 37.413226][ C2] __sys_sendmsg+0xcd/0x170 [ 37.413400][ C2] do_syscall_64+0xc6/0x1e0 [ 37.413575][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 37.413790][ C2] HARDIRQ-ON-R at: [ 37.413900][ C2] __lock_acquire+0x797/0x1570 [ 37.414073][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.414255][ C2] _raw_read_lock_bh+0x44/0x80 [ 37.414426][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 37.414606][ C2] inet6_fill_link_af+0x5e/0xe0 [ 37.414787][ C2] rtnl_fill_ifinfo+0x1612/0x29e0 [ 37.414970][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 37.415145][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 37.415358][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 37.415545][ C2] register_netdevice+0x1177/0x1690 [ 37.415722][ C2] register_netdev+0x20/0x40 [ 37.415914][ C2] sit_init_net+0x250/0x4f0 [ 37.416101][ C2] ops_init+0x9b/0x560 [ 37.416247][ C2] register_pernet_operations+0x2db/0x710 [ 37.416459][ C2] register_pernet_device+0x2a/0x60 [ 37.416635][ C2] sit_init+0x23/0xe0 [ 37.416811][ C2] do_one_initcall+0x8d/0x1e0 [ 37.416994][ C2] do_initcalls+0x1b2/0x3e0 [ 37.417187][ C2] kernel_init_freeable+0x232/0x310 [ 37.417375][ C2] kernel_init+0x20/0x200 [ 37.417546][ C2] ret_from_fork+0x31/0x70 [ 37.417723][ C2] ret_from_fork_asm+0x1a/0x30 [ 37.417901][ C2] IN-SOFTIRQ-W at: [ 37.418030][ C2] __lock_acquire+0x797/0x1570 [ 37.418205][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.418383][ C2] _raw_write_lock+0x30/0x40 [ 37.418566][ C2] addrconf_rs_timer+0xa9/0x730 [ 37.418747][ C2] call_timer_fn+0x13b/0x230 [ 37.418922][ C2] __run_timers+0x545/0x810 [ 37.419107][ C2] timer_expire_remote+0x9b/0xe0 [ 37.419297][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 37.419476][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 37.419666][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 37.419850][ C2] __do_softirq+0x1f8/0x5df [ 37.420027][ C2] irq_exit_rcu+0x97/0xc0 [ 37.420213][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 37.420433][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 37.420655][ C2] default_idle+0xf/0x20 [ 37.420842][ C2] default_idle_call+0x6d/0xb0 [ 37.421026][ C2] cpuidle_idle_call+0x1f4/0x280 [ 37.421202][ C2] do_idle+0xf9/0x160 [ 37.421346][ C2] cpu_startup_entry+0x54/0x60 [ 37.421518][ C2] start_secondary+0x21c/0x2b0 [ 37.421700][ C2] common_startup_64+0x12c/0x138 [ 37.421883][ C2] INITIAL USE at: [ 37.421987][ C2] __lock_acquire+0x797/0x1570 [ 37.422162][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.422334][ C2] _raw_write_lock_bh+0x38/0x50 [ 37.422508][ C2] addrconf_permanent_addr+0x6e/0x670 [ 37.422679][ C2] addrconf_notify+0x749/0xd60 [ 37.422857][ C2] notifier_call_chain+0xcd/0x150 [ 37.423045][ C2] __dev_notify_flags+0xe6/0x250 [ 37.423232][ C2] dev_change_flags+0xec/0x160 [ 37.423416][ C2] do_setlink+0x7d6/0x21e0 [ 37.423597][ C2] __rtnl_newlink+0xaa7/0xd80 [ 37.423784][ C2] rtnl_newlink+0x63/0xa0 [ 37.423958][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 37.424133][ C2] netlink_rcv_skb+0x130/0x360 [ 37.424313][ C2] netlink_unicast+0x449/0x710 [ 37.424492][ C2] netlink_sendmsg+0x723/0xbe0 [ 37.424681][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 37.424891][ C2] ___sys_sendmsg+0xee/0x170 [ 37.425065][ C2] __sys_sendmsg+0xcd/0x170 [ 37.425240][ C2] do_syscall_64+0xc6/0x1e0 [ 37.425420][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 37.425630][ C2] INITIAL READ USE at: [ 37.425734][ C2] __lock_acquire+0x797/0x1570 [ 37.425916][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.426087][ C2] _raw_read_lock_bh+0x44/0x80 [ 37.426261][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 37.426473][ C2] inet6_fill_link_af+0x5e/0xe0 [ 37.426645][ C2] rtnl_fill_ifinfo+0x1612/0x29e0 [ 37.426824][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 37.427039][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 37.427247][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 37.427426][ C2] register_netdevice+0x1177/0x1690 [ 37.427647][ C2] register_netdev+0x20/0x40 [ 37.427821][ C2] sit_init_net+0x250/0x4f0 [ 37.428006][ C2] ops_init+0x9b/0x560 [ 37.428175][ C2] register_pernet_operations+0x2db/0x710 [ 37.428385][ C2] register_pernet_device+0x2a/0x60 [ 37.428591][ C2] sit_init+0x23/0xe0 [ 37.428773][ C2] do_one_initcall+0x8d/0x1e0 [ 37.428953][ C2] do_initcalls+0x1b2/0x3e0 [ 37.429125][ C2] kernel_init_freeable+0x232/0x310 [ 37.429334][ C2] kernel_init+0x20/0x200 [ 37.429514][ C2] ret_from_fork+0x31/0x70 [ 37.429688][ C2] ret_from_fork_asm+0x1a/0x30 [ 37.429865][ C2] } [ 37.429934][ C2] ... key at: [] __key.37+0x0/0x40 [ 37.430142][ C2] ... acquired at: [ 37.430246][ C2] mark_lock+0x28d/0x3e0 [ 37.430389][ C2] mark_usage+0xd9/0x2a0 [ 37.430526][ C2] __lock_acquire+0x797/0x1570 [ 37.430672][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.430808][ C2] _raw_write_lock+0x30/0x40 [ 37.430947][ C2] addrconf_rs_timer+0xa9/0x730 [ 37.431094][ C2] call_timer_fn+0x13b/0x230 [ 37.431236][ C2] __run_timers+0x545/0x810 [ 37.431371][ C2] timer_expire_remote+0x9b/0xe0 [ 37.431519][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 37.431660][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 37.431798][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 37.431948][ C2] __do_softirq+0x1f8/0x5df [ 37.432086][ C2] irq_exit_rcu+0x97/0xc0 [ 37.432229][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 37.432409][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 37.432580][ C2] default_idle+0xf/0x20 [ 37.432722][ C2] default_idle_call+0x6d/0xb0 [ 37.432857][ C2] cpuidle_idle_call+0x1f4/0x280 [ 37.432999][ C2] do_idle+0xf9/0x160 [ 37.433107][ C2] cpu_startup_entry+0x54/0x60 [ 37.433257][ C2] start_secondary+0x21c/0x2b0 [ 37.433404][ C2] common_startup_64+0x12c/0x138 [ 37.433544][ C2] [ 37.433615][ C2] [ 37.433615][ C2] stack backtrace: [ 37.433793][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 37.433998][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 37.434301][ C2] Call Trace: [ 37.434410][ C2] [ 37.434492][ C2] dump_stack_lvl+0x82/0xd0 [ 37.434637][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 37.434809][ C2] ? kernel_text_address+0x17/0xe0 [ 37.434950][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 37.435118][ C2] ? __pfx_usage_skip+0x10/0x10 [ 37.435254][ C2] ? __pfx_usage_match+0x10/0x10 [ 37.435391][ C2] ? arch_stack_walk+0x8c/0xf0 [ 37.435530][ C2] mark_lock_irq+0x4cd/0xa10 [ 37.435673][ C2] ? common_startup_64+0x12c/0x138 [ 37.435809][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 37.435946][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 37.436088][ C2] ? save_trace+0x8f/0x5b0 [ 37.436224][ C2] mark_lock+0x28d/0x3e0 [ 37.436327][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 37.436464][ C2] mark_usage+0xd9/0x2a0 [ 37.436581][ C2] __lock_acquire+0x797/0x1570 [ 37.436723][ C2] ? __pfx_validate_chain+0x10/0x10 [ 37.436861][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 37.436997][ C2] lock_acquire.part.0+0xeb/0x330 [ 37.437132][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 37.437275][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 37.437415][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 37.437561][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 37.437696][ C2] ? lock_acquire+0x32/0xc0 [ 37.437839][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 37.437975][ C2] _raw_write_lock+0x30/0x40 [ 37.438111][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 37.438246][ C2] addrconf_rs_timer+0xa9/0x730 [ 37.438389][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 37.438525][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 37.438663][ C2] ? call_timer_fn+0xe8/0x230 [ 37.438799][ C2] ? lock_acquire+0x32/0xc0 [ 37.438943][ C2] ? call_timer_fn+0xe8/0x230 [ 37.439090][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 37.439226][ C2] call_timer_fn+0x13b/0x230 [ 37.439362][ C2] ? call_timer_fn+0xe8/0x230 [ 37.439498][ C2] ? call_timer_fn+0xe8/0x230 [ 37.439643][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 37.439779][ C2] ? mark_lock+0x38/0x3e0 [ 37.439893][ C2] __run_timers+0x545/0x810 [ 37.440029][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 37.440171][ C2] ? __pfx___run_timers+0x10/0x10 [ 37.440306][ C2] ? __lock_release+0x103/0x460 [ 37.440444][ C2] ? do_raw_spin_lock+0x131/0x270 [ 37.440582][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 37.440727][ C2] ? lock_acquire+0x32/0xc0 [ 37.440863][ C2] ? timer_expire_remote+0x93/0xe0 [ 37.441003][ C2] timer_expire_remote+0x9b/0xe0 [ 37.441143][ C2] tmigr_handle_remote_cpu+0x270/0x430 [ 37.441282][ C2] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 37.441461][ C2] tmigr_handle_remote_up+0x19f/0x2e0 [ 37.441601][ C2] tmigr_handle_remote+0x21d/0x3a0 [ 37.441738][ C2] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 37.441878][ C2] __do_softirq+0x1f8/0x5df [ 37.442020][ C2] irq_exit_rcu+0x97/0xc0 [ 37.442125][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 37.442262][ C2] [ 37.442341][ C2] [ 37.442411][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 37.442583][ C2] RIP: 0010:default_idle+0xf/0x20 [ 37.442730][ 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.443234][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000246 [ 37.443430][ C2] RAX: 00000000000e7d69 RBX: 1ffff9200002bfc1 RCX: ffffffffaa10e9d5 [ 37.443648][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa7aaa4a4 [ 37.443861][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 37.444069][ C2] R10: ffff8880361384e3 R11: ffff88803612d9b0 R12: 0000000000000000 [ 37.444285][ C2] R13: ffff888001b7c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 37.444510][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 37.444649][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 37.444796][ C2] default_idle_call+0x6d/0xb0 [ 37.444936][ C2] cpuidle_idle_call+0x1f4/0x280 [ 37.445083][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 37.445220][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 37.445362][ C2] do_idle+0xf9/0x160 [ 37.445467][ C2] cpu_startup_entry+0x54/0x60 [ 37.445618][ C2] start_secondary+0x21c/0x2b0 [ 37.445758][ C2] ? __pfx_start_secondary+0x10/0x10 [ 37.445911][ C2] common_startup_64+0x12c/0x138 [ 37.446051][ C2] [ 64.564864][ T398] br1: port 1(veth1) entered disabled state [ 64.667174][ T400] veth1: left allmulticast mode [ 64.667375][ T400] veth1: left promiscuous mode [ 64.668577][ T400] br1: port 1(veth1) entered disabled state