[ 25.264828][ T261] veth0: renamed from veth-rt-1 [ 26.491207][ T269] veth0: renamed from veth-rt-2 [ 28.339876][ T281] ip (281) used greatest stack depth: 24064 bytes left [ 34.475373][ C1] [ 34.475494][ C1] ======================================================== [ 34.475690][ C1] WARNING: possible irq lock inversion dependency detected [ 34.475889][ C1] 6.9.0-rc1-virtme #1 Not tainted [ 34.476017][ C1] -------------------------------------------------------- [ 34.476213][ C1] swapper/1/0 just changed the state of lock: [ 34.476375][ C1] ffff88800519bd80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 34.476612][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 34.476800][ C1] (&p->alloc_lock){+.+.}-{2:2} [ 34.476805][ C1] [ 34.476805][ C1] [ 34.476805][ C1] and interrupts could create inverse lock ordering between them. [ 34.476805][ C1] [ 34.477279][ C1] [ 34.477279][ C1] other info that might help us debug this: [ 34.477476][ C1] Possible interrupt unsafe locking scenario: [ 34.477476][ C1] [ 34.477680][ C1] CPU0 CPU1 [ 34.477810][ C1] ---- ---- [ 34.477941][ C1] lock(&p->alloc_lock); [ 34.478041][ C1] local_irq_disable(); [ 34.478199][ C1] lock(&ndev->lock); [ 34.478362][ C1] lock(&p->alloc_lock); [ 34.478525][ C1] [ 34.478624][ C1] lock(&ndev->lock); [ 34.478725][ C1] [ 34.478725][ C1] *** DEADLOCK *** [ 34.478725][ C1] [ 34.478914][ C1] 1 lock held by swapper/1/0: [ 34.479042][ C1] #0: ffffc900001d8d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 34.479282][ C1] [ 34.479282][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 34.479507][ C1] -> (&p->alloc_lock){+.+.}-{2:2} { [ 34.479642][ C1] HARDIRQ-ON-W at: [ 34.479746][ C1] __lock_acquire+0x797/0x1570 [ 34.479919][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.480083][ C1] _raw_spin_lock+0x30/0x40 [ 34.480246][ C1] set_mems_allowed+0x1d/0x210 [ 34.480415][ C1] kernel_init_freeable+0x72/0x310 [ 34.480577][ C1] kernel_init+0x20/0x200 [ 34.480742][ C1] ret_from_fork+0x31/0x70 [ 34.480910][ C1] ret_from_fork_asm+0x1a/0x30 [ 34.481073][ C1] SOFTIRQ-ON-W at: [ 34.481172][ C1] __lock_acquire+0x797/0x1570 [ 34.481336][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.481504][ C1] _raw_spin_lock+0x30/0x40 [ 34.481667][ C1] set_mems_allowed+0x1d/0x210 [ 34.481834][ C1] kernel_init_freeable+0x72/0x310 [ 34.482001][ C1] kernel_init+0x20/0x200 [ 34.482167][ C1] ret_from_fork+0x31/0x70 [ 34.482333][ C1] ret_from_fork_asm+0x1a/0x30 [ 34.482497][ C1] INITIAL USE at: [ 34.482594][ C1] __lock_acquire+0x797/0x1570 [ 34.482758][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.482922][ C1] _raw_spin_lock+0x30/0x40 [ 34.483088][ C1] set_mems_allowed+0x1d/0x210 [ 34.483253][ C1] kernel_init_freeable+0x72/0x310 [ 34.483416][ C1] kernel_init+0x20/0x200 [ 34.483578][ C1] ret_from_fork+0x31/0x70 [ 34.483746][ C1] ret_from_fork_asm+0x1a/0x30 [ 34.483909][ C1] } [ 34.483977][ C1] ... key at: [] __key.388+0x0/0x40 [ 34.484173][ C1] ... acquired at: [ 34.484343][ C1] __lock_acquire+0xaf0/0x1570 [ 34.484474][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.484603][ C1] _raw_spin_lock+0x30/0x40 [ 34.484732][ C1] __get_task_comm+0x27/0x70 [ 34.484947][ C1] ref_tracker_alloc+0x2ee/0x490 [ 34.485077][ C1] netdev_get_by_index+0x5e/0x80 [ 34.485206][ C1] fib6_nh_init+0x3d8/0x1580 [ 34.485337][ C1] ip6_route_info_create+0xf18/0x17d0 [ 34.485542][ C1] ip6_route_add+0x1c/0x140 [ 34.485673][ C1] addrconf_prefix_route+0x2a6/0x430 [ 34.485804][ C1] addrconf_permanent_addr+0x32f/0x670 [ 34.485937][ C1] addrconf_notify+0x749/0xd60 [ 34.486066][ C1] notifier_call_chain+0xcd/0x150 [ 34.486268][ C1] __dev_notify_flags+0xe6/0x250 [ 34.486399][ C1] dev_change_flags+0xec/0x160 [ 34.486529][ C1] do_setlink+0x7d6/0x21e0 [ 34.486659][ C1] __rtnl_newlink+0xaa7/0xd80 [ 34.486860][ C1] rtnl_newlink+0x63/0xa0 [ 34.486988][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.487119][ C1] netlink_rcv_skb+0x130/0x360 [ 34.487251][ C1] netlink_unicast+0x449/0x710 [ 34.487458][ C1] netlink_sendmsg+0x723/0xbe0 [ 34.487587][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 34.487720][ C1] ___sys_sendmsg+0xee/0x170 [ 34.487849][ C1] __sys_sendmsg+0xcd/0x170 [ 34.487979][ C1] do_syscall_64+0xc6/0x1e0 [ 34.488109][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.488271][ C1] [ 34.488336][ C1] -> (&ndev->lock){++-.}-{2:2} { [ 34.488470][ C1] HARDIRQ-ON-W at: [ 34.488644][ C1] __lock_acquire+0x797/0x1570 [ 34.488808][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.488978][ C1] _raw_write_lock_bh+0x38/0x50 [ 34.489148][ C1] addrconf_permanent_addr+0x6e/0x670 [ 34.489469][ C1] addrconf_notify+0x749/0xd60 [ 34.489630][ C1] notifier_call_chain+0xcd/0x150 [ 34.489796][ C1] __dev_notify_flags+0xe6/0x250 [ 34.490037][ C1] dev_change_flags+0xec/0x160 [ 34.490202][ C1] do_setlink+0x7d6/0x21e0 [ 34.490369][ C1] __rtnl_newlink+0xaa7/0xd80 [ 34.490688][ C1] rtnl_newlink+0x63/0xa0 [ 34.490851][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.491014][ C1] netlink_rcv_skb+0x130/0x360 [ 34.491183][ C1] netlink_unicast+0x449/0x710 [ 34.491429][ C1] netlink_sendmsg+0x723/0xbe0 [ 34.491592][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 34.491752][ C1] ___sys_sendmsg+0xee/0x170 [ 34.491995][ C1] __sys_sendmsg+0xcd/0x170 [ 34.492240][ C1] do_syscall_64+0xc6/0x1e0 [ 34.492400][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.492674][ C1] HARDIRQ-ON-R at: [ 34.492772][ C1] __lock_acquire+0x797/0x1570 [ 34.492936][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.493098][ C1] _raw_read_lock_bh+0x44/0x80 [ 34.493265][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 34.493425][ C1] inet6_fill_link_af+0x5e/0xe0 [ 34.493670][ C1] rtnl_fill_ifinfo+0x1615/0x2a90 [ 34.493834][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 34.494076][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 34.494268][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 34.494434][ C1] register_netdevice+0x1177/0x1690 [ 34.494671][ C1] register_netdev+0x20/0x40 [ 34.494856][ C1] vti6_init_net+0x25d/0x380 [ 34.495019][ C1] ops_init+0x9b/0x560 [ 34.495236][ C1] register_pernet_operations+0x2db/0x710 [ 34.495431][ C1] register_pernet_device+0x2a/0x60 [ 34.495598][ C1] vti6_tunnel_init+0x18/0x110 [ 34.495763][ C1] do_one_initcall+0x8d/0x1e0 [ 34.496076][ C1] do_initcalls+0x1b2/0x3e0 [ 34.496239][ C1] kernel_init_freeable+0x232/0x310 [ 34.496399][ C1] kernel_init+0x20/0x200 [ 34.496635][ C1] ret_from_fork+0x31/0x70 [ 34.496880][ C1] ret_from_fork_asm+0x1a/0x30 [ 34.497043][ C1] IN-SOFTIRQ-W at: [ 34.497148][ C1] __lock_acquire+0x797/0x1570 [ 34.497311][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.497560][ C1] _raw_write_lock+0x30/0x40 [ 34.497727][ C1] addrconf_rs_timer+0xa9/0x730 [ 34.497891][ C1] call_timer_fn+0x13b/0x230 [ 34.498135][ C1] __run_timers+0x545/0x810 [ 34.498299][ C1] run_timer_softirq+0xe8/0x1b0 [ 34.498461][ C1] __do_softirq+0x1f8/0x5df [ 34.498701][ C1] irq_exit_rcu+0x97/0xc0 [ 34.498869][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.499069][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.499344][ C1] default_idle+0xf/0x20 [ 34.499508][ C1] default_idle_call+0x6d/0xb0 [ 34.499673][ C1] cpuidle_idle_call+0x1f4/0x280 [ 34.499912][ C1] do_idle+0xf9/0x160 [ 34.500046][ C1] cpu_startup_entry+0x54/0x60 [ 34.500287][ C1] start_secondary+0x21c/0x2b0 [ 34.500456][ C1] common_startup_64+0x12c/0x138 [ 34.500619][ C1] INITIAL USE at: [ 34.500800][ C1] __lock_acquire+0x797/0x1570 [ 34.500963][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.501202][ C1] _raw_write_lock_bh+0x38/0x50 [ 34.501368][ C1] addrconf_permanent_addr+0x6e/0x670 [ 34.501542][ C1] addrconf_notify+0x749/0xd60 [ 34.501703][ C1] notifier_call_chain+0xcd/0x150 [ 34.501943][ C1] __dev_notify_flags+0xe6/0x250 [ 34.502107][ C1] dev_change_flags+0xec/0x160 [ 34.502271][ C1] do_setlink+0x7d6/0x21e0 [ 34.502511][ C1] __rtnl_newlink+0xaa7/0xd80 [ 34.502678][ C1] rtnl_newlink+0x63/0xa0 [ 34.502839][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 34.503001][ C1] netlink_rcv_skb+0x130/0x360 [ 34.503238][ C1] netlink_unicast+0x449/0x710 [ 34.503399][ C1] netlink_sendmsg+0x723/0xbe0 [ 34.503561][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 34.503800][ C1] ___sys_sendmsg+0xee/0x170 [ 34.503967][ C1] __sys_sendmsg+0xcd/0x170 [ 34.504134][ C1] do_syscall_64+0xc6/0x1e0 [ 34.504373][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 34.504568][ C1] INITIAL READ USE at: [ 34.504664][ C1] __lock_acquire+0x797/0x1570 [ 34.504833][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.504997][ C1] _raw_read_lock_bh+0x44/0x80 [ 34.505161][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 34.505357][ C1] inet6_fill_link_af+0x5e/0xe0 [ 34.505593][ C1] rtnl_fill_ifinfo+0x1615/0x2a90 [ 34.505754][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 34.505946][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 34.506215][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 34.506376][ C1] register_netdevice+0x1177/0x1690 [ 34.506572][ C1] register_netdev+0x20/0x40 [ 34.506819][ C1] vti6_init_net+0x25d/0x380 [ 34.506984][ C1] ops_init+0x9b/0x560 [ 34.507146][ C1] register_pernet_operations+0x2db/0x710 [ 34.507341][ C1] register_pernet_device+0x2a/0x60 [ 34.507610][ C1] vti6_tunnel_init+0x18/0x110 [ 34.507775][ C1] do_one_initcall+0x8d/0x1e0 [ 34.507940][ C1] do_initcalls+0x1b2/0x3e0 [ 34.508187][ C1] kernel_init_freeable+0x232/0x310 [ 34.508380][ C1] kernel_init+0x20/0x200 [ 34.508547][ C1] ret_from_fork+0x31/0x70 [ 34.508790][ C1] ret_from_fork_asm+0x1a/0x30 [ 34.508953][ C1] } [ 34.509019][ C1] ... key at: [] __key.37+0x0/0x40 [ 34.509217][ C1] ... acquired at: [ 34.509389][ C1] mark_lock+0x28d/0x3e0 [ 34.509523][ C1] mark_usage+0xd9/0x2a0 [ 34.509656][ C1] __lock_acquire+0x797/0x1570 [ 34.509786][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.509996][ C1] _raw_write_lock+0x30/0x40 [ 34.510126][ C1] addrconf_rs_timer+0xa9/0x730 [ 34.510255][ C1] call_timer_fn+0x13b/0x230 [ 34.510388][ C1] __run_timers+0x545/0x810 [ 34.510521][ C1] run_timer_softirq+0xe8/0x1b0 [ 34.510729][ C1] __do_softirq+0x1f8/0x5df [ 34.510865][ C1] irq_exit_rcu+0x97/0xc0 [ 34.510996][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.511162][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.511401][ C1] default_idle+0xf/0x20 [ 34.511606][ C1] default_idle_call+0x6d/0xb0 [ 34.511742][ C1] cpuidle_idle_call+0x1f4/0x280 [ 34.511873][ C1] do_idle+0xf9/0x160 [ 34.512050][ C1] cpu_startup_entry+0x54/0x60 [ 34.512183][ C1] start_secondary+0x21c/0x2b0 [ 34.512313][ C1] common_startup_64+0x12c/0x138 [ 34.512443][ C1] [ 34.512510][ C1] [ 34.512510][ C1] stack backtrace: [ 34.512823][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.9.0-rc1-virtme #1 [ 34.513022][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 34.513296][ C1] Call Trace: [ 34.513404][ C1] [ 34.513558][ C1] dump_stack_lvl+0x82/0xd0 [ 34.513694][ C1] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 34.513855][ C1] ? kernel_text_address+0x17/0xe0 [ 34.513988][ C1] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 34.514225][ C1] ? __pfx_usage_skip+0x10/0x10 [ 34.514356][ C1] ? __pfx_usage_match+0x10/0x10 [ 34.514485][ C1] ? arch_stack_walk+0x8c/0xf0 [ 34.514699][ C1] mark_lock_irq+0x4cd/0xa10 [ 34.514835][ C1] ? common_startup_64+0x12c/0x138 [ 34.514968][ C1] ? __pfx_mark_lock_irq+0x10/0x10 [ 34.515098][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 34.515309][ C1] ? save_trace+0x8f/0x5b0 [ 34.515444][ C1] mark_lock+0x28d/0x3e0 [ 34.515542][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 34.515673][ C1] mark_usage+0xd9/0x2a0 [ 34.515774][ C1] __lock_acquire+0x797/0x1570 [ 34.515979][ C1] ? __pfx_validate_chain+0x10/0x10 [ 34.516112][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.516244][ C1] lock_acquire.part.0+0xeb/0x330 [ 34.516374][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 34.516582][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 34.516712][ C1] ? trace_lock_acquire+0x135/0x1c0 [ 34.516926][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 34.517058][ C1] ? lock_acquire+0x32/0xc0 [ 34.517189][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 34.517317][ C1] _raw_write_lock+0x30/0x40 [ 34.517447][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 34.517576][ C1] addrconf_rs_timer+0xa9/0x730 [ 34.517785][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 34.517923][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.518051][ C1] ? call_timer_fn+0xe8/0x230 [ 34.518258][ C1] ? lock_acquire+0x32/0xc0 [ 34.518388][ C1] ? call_timer_fn+0xe8/0x230 [ 34.518594][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.518723][ C1] call_timer_fn+0x13b/0x230 [ 34.518847][ C1] ? call_timer_fn+0xe8/0x230 [ 34.519054][ C1] ? call_timer_fn+0xe8/0x230 [ 34.519185][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 34.519316][ C1] ? mark_lock+0x38/0x3e0 [ 34.519416][ C1] __run_timers+0x545/0x810 [ 34.519544][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 34.519751][ C1] ? __pfx___run_timers+0x10/0x10 [ 34.519880][ C1] ? do_raw_spin_lock+0x131/0x270 [ 34.520008][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 34.520135][ C1] ? lock_acquire+0x32/0xc0 [ 34.520263][ C1] ? run_timer_softirq+0xe0/0x1b0 [ 34.520546][ C1] run_timer_softirq+0xe8/0x1b0 [ 34.520676][ C1] __do_softirq+0x1f8/0x5df [ 34.520807][ C1] irq_exit_rcu+0x97/0xc0 [ 34.520905][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 34.521041][ C1] [ 34.521109][ C1] [ 34.521174][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 34.521333][ C1] RIP: 0010:default_idle+0xf/0x20 [ 34.521468][ 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 [ 34.522004][ C1] RSP: 0018:ffffc9000014fdf8 EFLAGS: 00000246 [ 34.522174][ C1] RAX: 000000000007a765 RBX: 1ffff92000029fc1 RCX: ffffffffbb132ea5 [ 34.522447][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffb88ac1d4 [ 34.522640][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c1709c [ 34.522905][ C1] R10: ffff8880360b84e3 R11: ffff8880360bde40 R12: 0000000000000000 [ 34.523102][ C1] R13: ffff888001b8a300 R14: dffffc0000000000 R15: 0000000000000000 [ 34.523297][ C1] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 34.523426][ C1] ? cpuidle_idle_call+0x1f4/0x280 [ 34.523637][ C1] default_idle_call+0x6d/0xb0 [ 34.523844][ C1] cpuidle_idle_call+0x1f4/0x280 [ 34.523973][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 34.524104][ C1] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 34.524235][ C1] do_idle+0xf9/0x160 [ 34.524333][ C1] cpu_startup_entry+0x54/0x60 [ 34.524464][ C1] start_secondary+0x21c/0x2b0 [ 34.524669][ C1] ? __pfx_start_secondary+0x10/0x10 [ 34.524811][ C1] common_startup_64+0x12c/0x138 [ 34.524943][ C1]