[ 172.150384][ T1158] GACT probability NOT on [ 172.494853][ T1162] drop_monitor: Initializing network drop monitor service [ 174.635961][ C1] [ 174.636192][ C1] ======================================================== [ 174.636411][ C1] WARNING: possible irq lock inversion dependency detected [ 174.636623][ C1] 6.9.0-rc1-virtme #1 Not tainted [ 174.636758][ C1] -------------------------------------------------------- [ 174.636958][ C1] swapper/1/0 just changed the state of lock: [ 174.637137][ C1] ffff888007bfd580 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 174.637385][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 174.637606][ C1] (&p->alloc_lock){+.+.}-{2:2} [ 174.637610][ C1] [ 174.637610][ C1] [ 174.637610][ C1] and interrupts could create inverse lock ordering between them. [ 174.637610][ C1] [ 174.638138][ C1] [ 174.638138][ C1] other info that might help us debug this: [ 174.638338][ C1] Possible interrupt unsafe locking scenario: [ 174.638338][ C1] [ 174.638557][ C1] CPU0 CPU1 [ 174.638709][ C1] ---- ---- [ 174.638844][ C1] lock(&p->alloc_lock); [ 174.638949][ C1] local_irq_disable(); [ 174.639115][ C1] lock(&ndev->lock); [ 174.639291][ C1] lock(&p->alloc_lock); [ 174.639464][ C1] [ 174.639565][ C1] lock(&ndev->lock); [ 174.639667][ C1] [ 174.639667][ C1] *** DEADLOCK *** [ 174.639667][ C1] [ 174.639874][ C1] 1 lock held by swapper/1/0: [ 174.640009][ C1] #0: ffffc900001d8b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 174.640256][ C1] [ 174.640256][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 174.640491][ C1] -> (&p->alloc_lock){+.+.}-{2:2} { [ 174.640632][ C1] HARDIRQ-ON-W at: [ 174.640743][ C1] __lock_acquire+0x797/0x1570 [ 174.640921][ C1] lock_acquire.part.0+0xeb/0x330 [ 174.641095][ C1] _raw_spin_lock+0x30/0x40 [ 174.641269][ C1] set_mems_allowed+0x1d/0x210 [ 174.641442][ C1] kernel_init_freeable+0x72/0x310 [ 174.641615][ C1] kernel_init+0x20/0x200 [ 174.641795][ C1] ret_from_fork+0x31/0x70 [ 174.641970][ C1] ret_from_fork_asm+0x1a/0x30 [ 174.642142][ C1] SOFTIRQ-ON-W at: [ 174.642247][ C1] __lock_acquire+0x797/0x1570 [ 174.642417][ C1] lock_acquire.part.0+0xeb/0x330 [ 174.642589][ C1] _raw_spin_lock+0x30/0x40 [ 174.642762][ C1] set_mems_allowed+0x1d/0x210 [ 174.642940][ C1] kernel_init_freeable+0x72/0x310 [ 174.643115][ C1] kernel_init+0x20/0x200 [ 174.643289][ C1] ret_from_fork+0x31/0x70 [ 174.643465][ C1] ret_from_fork_asm+0x1a/0x30 [ 174.643638][ C1] INITIAL USE at: [ 174.643741][ C1] __lock_acquire+0x797/0x1570 [ 174.643919][ C1] lock_acquire.part.0+0xeb/0x330 [ 174.644092][ C1] _raw_spin_lock+0x30/0x40 [ 174.644264][ C1] set_mems_allowed+0x1d/0x210 [ 174.644434][ C1] kernel_init_freeable+0x72/0x310 [ 174.644607][ C1] kernel_init+0x20/0x200 [ 174.644777][ C1] ret_from_fork+0x31/0x70 [ 174.644954][ C1] ret_from_fork_asm+0x1a/0x30 [ 174.645126][ C1] } [ 174.645200][ C1] ... key at: [] __key.388+0x0/0x40 [ 174.645406][ C1] ... acquired at: [ 174.645512][ C1] __lock_acquire+0xaf0/0x1570 [ 174.645651][ C1] lock_acquire.part.0+0xeb/0x330 [ 174.645790][ C1] _raw_spin_lock+0x30/0x40 [ 174.645930][ C1] __get_task_comm+0x27/0x70 [ 174.646076][ C1] ref_tracker_alloc+0x2ee/0x490 [ 174.646212][ C1] netdev_get_by_index+0x5e/0x80 [ 174.646348][ C1] fib6_nh_init+0x3d8/0x1580 [ 174.646491][ C1] ip6_route_info_create+0xf18/0x17d0 [ 174.646627][ C1] ip6_route_add+0x1c/0x140 [ 174.646762][ C1] addrconf_prefix_route+0x2a6/0x430 [ 174.646900][ C1] addrconf_permanent_addr+0x32f/0x670 [ 174.647054][ C1] addrconf_notify+0x749/0xd60 [ 174.647199][ C1] notifier_call_chain+0xcd/0x150 [ 174.647337][ C1] __dev_notify_flags+0xe6/0x250 [ 174.647485][ C1] dev_change_flags+0xec/0x160 [ 174.647627][ C1] do_setlink+0x7d6/0x21e0 [ 174.647764][ C1] __rtnl_newlink+0xaa7/0xd80 [ 174.647901][ C1] rtnl_newlink+0x63/0xa0 [ 174.648035][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 174.648170][ C1] netlink_rcv_skb+0x130/0x360 [ 174.648312][ C1] netlink_unicast+0x449/0x710 [ 174.648448][ C1] netlink_sendmsg+0x723/0xbe0 [ 174.648585][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 174.648722][ C1] ___sys_sendmsg+0xee/0x170 [ 174.648860][ C1] __sys_sendmsg+0xcd/0x170 [ 174.648997][ C1] do_syscall_64+0xc6/0x1e0 [ 174.649134][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 174.649308][ C1] [ 174.649379][ C1] -> (&ndev->lock){++-.}-{2:2} { [ 174.649524][ C1] HARDIRQ-ON-W at: [ 174.649627][ C1] __lock_acquire+0x797/0x1570 [ 174.649801][ C1] lock_acquire.part.0+0xeb/0x330 [ 174.649976][ C1] _raw_write_lock_bh+0x38/0x50 [ 174.650149][ C1] addrconf_permanent_addr+0x6e/0x670 [ 174.650325][ C1] addrconf_notify+0x749/0xd60 [ 174.650496][ C1] notifier_call_chain+0xcd/0x150 [ 174.650674][ C1] __dev_notify_flags+0xe6/0x250 [ 174.650846][ C1] dev_change_flags+0xec/0x160 [ 174.651020][ C1] do_setlink+0x7d6/0x21e0 [ 174.651194][ C1] __rtnl_newlink+0xaa7/0xd80 [ 174.651367][ C1] rtnl_newlink+0x63/0xa0 [ 174.651540][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 174.651714][ C1] netlink_rcv_skb+0x130/0x360 [ 174.651888][ C1] netlink_unicast+0x449/0x710 [ 174.652063][ C1] netlink_sendmsg+0x723/0xbe0 [ 174.652236][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 174.652409][ C1] ___sys_sendmsg+0xee/0x170 [ 174.652581][ C1] __sys_sendmsg+0xcd/0x170 [ 174.652752][ C1] do_syscall_64+0xc6/0x1e0 [ 174.652928][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 174.653133][ C1] HARDIRQ-ON-R at: [ 174.653236][ C1] __lock_acquire+0x797/0x1570 [ 174.653409][ C1] lock_acquire.part.0+0xeb/0x330 [ 174.653585][ C1] _raw_read_lock_bh+0x44/0x80 [ 174.653759][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 174.653933][ C1] inet6_fill_link_af+0x5e/0xe0 [ 174.654111][ C1] rtnl_fill_ifinfo+0x1615/0x2a90 [ 174.654280][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 174.654449][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 174.654656][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 174.654830][ C1] register_netdevice+0x1177/0x1690 [ 174.655005][ C1] register_netdev+0x20/0x40 [ 174.655180][ C1] vti6_init_net+0x25d/0x380 [ 174.655352][ C1] ops_init+0x9b/0x560 [ 174.655490][ C1] register_pernet_operations+0x2db/0x710 [ 174.655695][ C1] register_pernet_device+0x2a/0x60 [ 174.655869][ C1] vti6_tunnel_init+0x18/0x110 [ 174.656041][ C1] do_one_initcall+0x8d/0x1e0 [ 174.656217][ C1] do_initcalls+0x1b2/0x3e0 [ 174.656388][ C1] kernel_init_freeable+0x232/0x310 [ 174.656560][ C1] kernel_init+0x20/0x200 [ 174.656733][ C1] ret_from_fork+0x31/0x70 [ 174.656907][ C1] ret_from_fork_asm+0x1a/0x30 [ 174.657081][ C1] IN-SOFTIRQ-W at: [ 174.657184][ C1] __lock_acquire+0x797/0x1570 [ 174.657360][ C1] lock_acquire.part.0+0xeb/0x330 [ 174.657536][ C1] _raw_write_lock+0x30/0x40 [ 174.657711][ C1] addrconf_rs_timer+0xa9/0x730 [ 174.657883][ C1] call_timer_fn+0x13b/0x230 [ 174.658056][ C1] __run_timers+0x545/0x810 [ 174.658231][ C1] timer_expire_remote+0x9b/0xe0 [ 174.658408][ C1] tmigr_handle_remote_cpu+0x270/0x430 [ 174.658579][ C1] tmigr_handle_remote_up+0x19f/0x2e0 [ 174.658751][ C1] tmigr_handle_remote+0x21d/0x3a0 [ 174.658925][ C1] __do_softirq+0x1f8/0x5df [ 174.659099][ C1] irq_exit_rcu+0x97/0xc0 [ 174.659270][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 174.659484][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 174.659689][ C1] default_idle+0xf/0x20 [ 174.659866][ C1] default_idle_call+0x6d/0xb0 [ 174.660054][ C1] cpuidle_idle_call+0x1f4/0x280 [ 174.660235][ C1] do_idle+0xf9/0x160 [ 174.660379][ C1] cpu_startup_entry+0x54/0x60 [ 174.660553][ C1] start_secondary+0x21c/0x2b0 [ 174.660733][ C1] common_startup_64+0x12c/0x138 [ 174.660935][ C1] INITIAL USE at: [ 174.661040][ C1] __lock_acquire+0x797/0x1570 [ 174.661216][ C1] lock_acquire.part.0+0xeb/0x330 [ 174.661389][ C1] _raw_write_lock_bh+0x38/0x50 [ 174.661563][ C1] addrconf_permanent_addr+0x6e/0x670 [ 174.661739][ C1] addrconf_notify+0x749/0xd60 [ 174.661914][ C1] notifier_call_chain+0xcd/0x150 [ 174.662086][ C1] __dev_notify_flags+0xe6/0x250 [ 174.662264][ C1] dev_change_flags+0xec/0x160 [ 174.662437][ C1] do_setlink+0x7d6/0x21e0 [ 174.662611][ C1] __rtnl_newlink+0xaa7/0xd80 [ 174.662786][ C1] rtnl_newlink+0x63/0xa0 [ 174.662961][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 174.663136][ C1] netlink_rcv_skb+0x130/0x360 [ 174.663309][ C1] netlink_unicast+0x449/0x710 [ 174.663480][ C1] netlink_sendmsg+0x723/0xbe0 [ 174.663663][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 174.663837][ C1] ___sys_sendmsg+0xee/0x170 [ 174.664012][ C1] __sys_sendmsg+0xcd/0x170 [ 174.664186][ C1] do_syscall_64+0xc6/0x1e0 [ 174.664358][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 174.664565][ C1] INITIAL READ USE at: [ 174.664668][ C1] __lock_acquire+0x797/0x1570 [ 174.664929][ C1] lock_acquire.part.0+0xeb/0x330 [ 174.665103][ C1] _raw_read_lock_bh+0x44/0x80 [ 174.665279][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 174.665565][ C1] inet6_fill_link_af+0x5e/0xe0 [ 174.665737][ C1] rtnl_fill_ifinfo+0x1615/0x2a90 [ 174.665908][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 174.666110][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 174.666400][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 174.666570][ C1] register_netdevice+0x1177/0x1690 [ 174.666777][ C1] register_netdev+0x20/0x40 [ 174.667030][ C1] vti6_init_net+0x25d/0x380 [ 174.667202][ C1] ops_init+0x9b/0x560 [ 174.667372][ C1] register_pernet_operations+0x2db/0x710 [ 174.667674][ C1] register_pernet_device+0x2a/0x60 [ 174.667879][ C1] vti6_tunnel_init+0x18/0x110 [ 174.668051][ C1] do_one_initcall+0x8d/0x1e0 [ 174.668301][ C1] do_initcalls+0x1b2/0x3e0 [ 174.668474][ C1] kernel_init_freeable+0x232/0x310 [ 174.668678][ C1] kernel_init+0x20/0x200 [ 174.668939][ C1] ret_from_fork+0x31/0x70 [ 174.669112][ C1] ret_from_fork_asm+0x1a/0x30 [ 174.669281][ C1] } [ 174.669352][ C1] ... key at: [] __key.37+0x0/0x40 [ 174.669632][ C1] ... acquired at: [ 174.669732][ C1] mark_lock+0x28d/0x3e0 [ 174.669869][ C1] mark_usage+0xd9/0x2a0 [ 174.670004][ C1] __lock_acquire+0x797/0x1570 [ 174.670225][ C1] lock_acquire.part.0+0xeb/0x330 [ 174.670362][ C1] _raw_write_lock+0x30/0x40 [ 174.670498][ C1] addrconf_rs_timer+0xa9/0x730 [ 174.670633][ C1] call_timer_fn+0x13b/0x230 [ 174.670772][ C1] __run_timers+0x545/0x810 [ 174.670986][ C1] timer_expire_remote+0x9b/0xe0 [ 174.671121][ C1] tmigr_handle_remote_cpu+0x270/0x430 [ 174.671258][ C1] tmigr_handle_remote_up+0x19f/0x2e0 [ 174.671396][ C1] tmigr_handle_remote+0x21d/0x3a0 [ 174.671611][ C1] __do_softirq+0x1f8/0x5df [ 174.671748][ C1] irq_exit_rcu+0x97/0xc0 [ 174.671884][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 174.672055][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 174.672304][ C1] default_idle+0xf/0x20 [ 174.672441][ C1] default_idle_call+0x6d/0xb0 [ 174.672578][ C1] cpuidle_idle_call+0x1f4/0x280 [ 174.672718][ C1] do_idle+0xf9/0x160 [ 174.672926][ C1] cpu_startup_entry+0x54/0x60 [ 174.673064][ C1] start_secondary+0x21c/0x2b0 [ 174.673203][ C1] common_startup_64+0x12c/0x138 [ 174.673340][ C1] [ 174.673409][ C1] [ 174.673409][ C1] stack backtrace: [ 174.673580][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.9.0-rc1-virtme #1 [ 174.673786][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 174.674171][ C1] Call Trace: [ 174.674277][ C1] [ 174.674350][ C1] dump_stack_lvl+0x82/0xd0 [ 174.674492][ C1] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 174.674661][ C1] ? kernel_text_address+0x17/0xe0 [ 174.674896][ C1] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 174.675065][ C1] ? __pfx_usage_skip+0x10/0x10 [ 174.675205][ C1] ? __pfx_usage_match+0x10/0x10 [ 174.675341][ C1] ? arch_stack_walk+0x8c/0xf0 [ 174.675478][ C1] mark_lock_irq+0x4cd/0xa10 [ 174.675615][ C1] ? common_startup_64+0x12c/0x138 [ 174.675751][ C1] ? __pfx_mark_lock_irq+0x10/0x10 [ 174.675888][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 174.676108][ C1] ? save_trace+0x8f/0x5b0 [ 174.676246][ C1] mark_lock+0x28d/0x3e0 [ 174.676356][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 174.676494][ C1] mark_usage+0xd9/0x2a0 [ 174.676597][ C1] __lock_acquire+0x797/0x1570 [ 174.676822][ C1] ? __pfx_validate_chain+0x10/0x10 [ 174.676958][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 174.677094][ C1] lock_acquire.part.0+0xeb/0x330 [ 174.677231][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 174.677446][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 174.677596][ C1] ? trace_lock_acquire+0x135/0x1c0 [ 174.677732][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 174.677867][ C1] ? lock_acquire+0x32/0xc0 [ 174.678080][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 174.678215][ C1] _raw_write_lock+0x30/0x40 [ 174.678351][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 174.678486][ C1] addrconf_rs_timer+0xa9/0x730 [ 174.678622][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 174.678834][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 174.678976][ C1] ? call_timer_fn+0xe8/0x230 [ 174.679111][ C1] ? lock_acquire+0x32/0xc0 [ 174.679247][ C1] ? call_timer_fn+0xe8/0x230 [ 174.679460][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 174.679595][ C1] call_timer_fn+0x13b/0x230 [ 174.679730][ C1] ? call_timer_fn+0xe8/0x230 [ 174.679867][ C1] ? call_timer_fn+0xe8/0x230 [ 174.680080][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 174.680219][ C1] ? mark_lock+0x38/0x3e0 [ 174.680326][ C1] __run_timers+0x545/0x810 [ 174.680463][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 174.680600][ C1] ? __pfx___run_timers+0x10/0x10 [ 174.680813][ C1] ? __lock_release+0x103/0x460 [ 174.680949][ C1] ? do_raw_spin_lock+0x131/0x270 [ 174.681085][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 174.681222][ C1] ? lock_acquire+0x32/0xc0 [ 174.681436][ C1] ? timer_expire_remote+0x93/0xe0 [ 174.681582][ C1] timer_expire_remote+0x9b/0xe0 [ 174.681717][ C1] tmigr_handle_remote_cpu+0x270/0x430 [ 174.681851][ C1] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 174.682099][ C1] tmigr_handle_remote_up+0x19f/0x2e0 [ 174.682235][ C1] tmigr_handle_remote+0x21d/0x3a0 [ 174.682368][ C1] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 174.682507][ C1] __do_softirq+0x1f8/0x5df [ 174.682721][ C1] irq_exit_rcu+0x97/0xc0 [ 174.682823][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 174.682956][ C1] [ 174.683026][ C1] [ 174.683094][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 174.683415][ C1] RIP: 0010:default_idle+0xf/0x20 [ 174.683555][ 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 d3 eb 32 00 fb f4 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 [ 174.684116][ C1] RSP: 0018:ffffc9000014fdf8 EFLAGS: 00000246 [ 174.684293][ C1] RAX: 00000000002e44dd RBX: 1ffff92000029fc1 RCX: ffffffffae132ea5 [ 174.684492][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffab8ac1d4 [ 174.684782][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c1709c [ 174.684983][ C1] R10: ffff8880360b84e3 R11: ffff8880360ad9b0 R12: 0000000000000000 [ 174.685188][ C1] R13: ffff888001b8a300 R14: dffffc0000000000 R15: 0000000000000000 [ 174.685468][ C1] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 174.685605][ C1] ? cpuidle_idle_call+0x1f4/0x280 [ 174.685739][ C1] default_idle_call+0x6d/0xb0 [ 174.685872][ C1] cpuidle_idle_call+0x1f4/0x280 [ 174.686083][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 174.686222][ C1] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 174.686358][ C1] do_idle+0xf9/0x160 [ 174.686462][ C1] cpu_startup_entry+0x54/0x60 [ 174.686599][ C1] start_secondary+0x21c/0x2b0 [ 174.686809][ C1] ? __pfx_start_secondary+0x10/0x10 [ 174.686944][ C1] common_startup_64+0x12c/0x138 [ 174.687080][ C1]