[ 68.597563][ T558] veth0: renamed from veth-rt-1 [ 69.997138][ T567] veth0: renamed from veth-rt-2 [ 73.960875][ C2] [ 73.960971][ C2] ======================================================== [ 73.961173][ C2] WARNING: possible irq lock inversion dependency detected [ 73.961362][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 73.961490][ C2] -------------------------------------------------------- [ 73.961679][ C2] swapper/2/0 just changed the state of lock: [ 73.961841][ C2] ffff888008c86d80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 73.962073][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 73.962265][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 73.962270][ C2] [ 73.962270][ C2] [ 73.962270][ C2] and interrupts could create inverse lock ordering between them. [ 73.962270][ C2] [ 73.962733][ C2] [ 73.962733][ C2] other info that might help us debug this: [ 73.962923][ C2] Possible interrupt unsafe locking scenario: [ 73.962923][ C2] [ 73.963113][ C2] CPU0 CPU1 [ 73.963244][ C2] ---- ---- [ 73.963374][ C2] lock(&p->alloc_lock); [ 73.963474][ C2] local_irq_disable(); [ 73.963635][ C2] lock(&ndev->lock); [ 73.963798][ C2] lock(&p->alloc_lock); [ 73.963958][ C2] [ 73.964055][ C2] lock(&ndev->lock); [ 73.964153][ C2] [ 73.964153][ C2] *** DEADLOCK *** [ 73.964153][ C2] [ 73.964353][ C2] 1 lock held by swapper/2/0: [ 73.964484][ C2] #0: ffffc90000230d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 73.964725][ C2] [ 73.964725][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 73.964950][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 73.965085][ C2] HARDIRQ-ON-W at: [ 73.965184][ C2] __lock_acquire+0x797/0x1570 [ 73.965350][ C2] lock_acquire.part.0+0xeb/0x330 [ 73.965512][ C2] _raw_spin_lock+0x30/0x40 [ 73.965678][ C2] set_mems_allowed+0x1d/0x210 [ 73.965847][ C2] kernel_init_freeable+0x72/0x310 [ 73.966010][ C2] kernel_init+0x20/0x200 [ 73.966175][ C2] ret_from_fork+0x31/0x70 [ 73.966339][ C2] ret_from_fork_asm+0x1a/0x30 [ 73.966502][ C2] SOFTIRQ-ON-W at: [ 73.966599][ C2] __lock_acquire+0x797/0x1570 [ 73.966763][ C2] lock_acquire.part.0+0xeb/0x330 [ 73.966926][ C2] _raw_spin_lock+0x30/0x40 [ 73.967089][ C2] set_mems_allowed+0x1d/0x210 [ 73.967261][ C2] kernel_init_freeable+0x72/0x310 [ 73.967424][ C2] kernel_init+0x20/0x200 [ 73.967588][ C2] ret_from_fork+0x31/0x70 [ 73.967753][ C2] ret_from_fork_asm+0x1a/0x30 [ 73.967916][ C2] INITIAL USE at: [ 73.968013][ C2] __lock_acquire+0x797/0x1570 [ 73.968174][ C2] lock_acquire.part.0+0xeb/0x330 [ 73.968337][ C2] _raw_spin_lock+0x30/0x40 [ 73.968500][ C2] set_mems_allowed+0x1d/0x210 [ 73.968661][ C2] kernel_init_freeable+0x72/0x310 [ 73.968826][ C2] kernel_init+0x20/0x200 [ 73.968989][ C2] ret_from_fork+0x31/0x70 [ 73.969153][ C2] ret_from_fork_asm+0x1a/0x30 [ 73.969315][ C2] } [ 73.969383][ C2] ... key at: [] __key.388+0x0/0x40 [ 73.969579][ C2] ... acquired at: [ 73.969676][ C2] __lock_acquire+0xaf0/0x1570 [ 73.969810][ C2] lock_acquire.part.0+0xeb/0x330 [ 73.969940][ C2] _raw_spin_lock+0x30/0x40 [ 73.970073][ C2] __get_task_comm+0x27/0x70 [ 73.970204][ C2] ref_tracker_alloc+0x2ee/0x490 [ 73.970335][ C2] netdev_get_by_index+0x5e/0x80 [ 73.970465][ C2] fib6_nh_init+0x3d8/0x1580 [ 73.970597][ C2] ip6_route_info_create+0xf18/0x17d0 [ 73.970727][ C2] addrconf_f6i_alloc+0x265/0x560 [ 73.970860][ C2] __ipv6_dev_ac_inc+0x25f/0xb10 [ 73.970990][ C2] addrconf_join_anycast+0x1c0/0x220 [ 73.971119][ C2] dev_forward_change+0x2a6/0x7b0 [ 73.971249][ C2] addrconf_fixup_forwarding+0x152/0x460 [ 73.971410][ C2] addrconf_sysctl_forward+0x212/0x2b0 [ 73.971539][ C2] proc_sys_call_handler+0x403/0x5e0 [ 73.971670][ C2] vfs_write+0x9e5/0x10a0 [ 73.971805][ C2] ksys_write+0xf5/0x1e0 [ 73.971937][ C2] do_syscall_64+0xc6/0x1e0 [ 73.972068][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 73.972230][ C2] [ 73.972296][ C2] -> (&ndev->lock){++-.}-{2:2} { [ 73.972428][ C2] HARDIRQ-ON-W at: [ 73.972525][ C2] __lock_acquire+0x797/0x1570 [ 73.972687][ C2] lock_acquire.part.0+0xeb/0x330 [ 73.972854][ C2] _raw_write_lock_bh+0x38/0x50 [ 73.973019][ C2] addrconf_permanent_addr+0x6e/0x670 [ 73.973183][ C2] addrconf_notify+0x749/0xd60 [ 73.973346][ C2] notifier_call_chain+0xcd/0x150 [ 73.973512][ C2] __dev_notify_flags+0xe6/0x250 [ 73.973676][ C2] dev_change_flags+0xec/0x160 [ 73.973841][ C2] do_setlink+0x7d6/0x21e0 [ 73.974004][ C2] __rtnl_newlink+0xaa7/0xd80 [ 73.974166][ C2] rtnl_newlink+0x63/0xa0 [ 73.974334][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 73.974497][ C2] netlink_rcv_skb+0x130/0x360 [ 73.974659][ C2] netlink_unicast+0x449/0x710 [ 73.974822][ C2] netlink_sendmsg+0x723/0xbe0 [ 73.974988][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 73.975152][ C2] ___sys_sendmsg+0xee/0x170 [ 73.975316][ C2] __sys_sendmsg+0xcd/0x170 [ 73.975481][ C2] do_syscall_64+0xc6/0x1e0 [ 73.975644][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 73.975839][ C2] HARDIRQ-ON-R at: [ 73.975937][ C2] __lock_acquire+0x797/0x1570 [ 73.976102][ C2] lock_acquire.part.0+0xeb/0x330 [ 73.976264][ C2] _raw_read_lock_bh+0x44/0x80 [ 73.976428][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 73.976593][ C2] inet6_fill_link_af+0x5e/0xe0 [ 73.976756][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 73.976919][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 73.977083][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 73.977279][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 73.977441][ C2] register_netdevice+0x1177/0x1690 [ 73.977603][ C2] register_netdev+0x20/0x40 [ 73.977764][ C2] vti6_init_net+0x25d/0x380 [ 73.977929][ C2] ops_init+0x9b/0x560 [ 73.978062][ C2] register_pernet_operations+0x2db/0x710 [ 73.978255][ C2] register_pernet_device+0x2a/0x60 [ 73.978417][ C2] vti6_tunnel_init+0x18/0x110 [ 73.978580][ C2] do_one_initcall+0x8d/0x1e0 [ 73.978744][ C2] do_initcalls+0x1b2/0x3e0 [ 73.978907][ C2] kernel_init_freeable+0x232/0x310 [ 73.979072][ C2] kernel_init+0x20/0x200 [ 73.979242][ C2] ret_from_fork+0x31/0x70 [ 73.979407][ C2] ret_from_fork_asm+0x1a/0x30 [ 73.979573][ C2] IN-SOFTIRQ-W at: [ 73.979671][ C2] __lock_acquire+0x797/0x1570 [ 73.979835][ C2] lock_acquire.part.0+0xeb/0x330 [ 73.979998][ C2] _raw_write_lock+0x30/0x40 [ 73.980164][ C2] addrconf_rs_timer+0xa9/0x730 [ 73.980326][ C2] call_timer_fn+0x13b/0x230 [ 73.980488][ C2] __run_timers+0x545/0x810 [ 73.980651][ C2] run_timer_softirq+0xe8/0x1b0 [ 73.980813][ C2] __do_softirq+0x1f8/0x5df [ 73.980975][ C2] irq_exit_rcu+0x97/0xc0 [ 73.981136][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 73.981334][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 73.981527][ C2] default_idle+0xf/0x20 [ 73.981689][ C2] default_idle_call+0x6d/0xb0 [ 73.981930][ C2] cpuidle_idle_call+0x1f4/0x280 [ 73.982093][ C2] do_idle+0xf9/0x160 [ 73.982225][ C2] cpu_startup_entry+0x54/0x60 [ 73.982390][ C2] start_secondary+0x21c/0x2b0 [ 73.982554][ C2] common_startup_64+0x12c/0x138 [ 73.982718][ C2] INITIAL USE at: [ 73.982815][ C2] __lock_acquire+0x797/0x1570 [ 73.983053][ C2] lock_acquire.part.0+0xeb/0x330 [ 73.983216][ C2] _raw_write_lock_bh+0x38/0x50 [ 73.983378][ C2] addrconf_permanent_addr+0x6e/0x670 [ 73.983543][ C2] addrconf_notify+0x749/0xd60 [ 73.983776][ C2] notifier_call_chain+0xcd/0x150 [ 73.983939][ C2] __dev_notify_flags+0xe6/0x250 [ 73.984100][ C2] dev_change_flags+0xec/0x160 [ 73.984351][ C2] do_setlink+0x7d6/0x21e0 [ 73.984512][ C2] __rtnl_newlink+0xaa7/0xd80 [ 73.984676][ C2] rtnl_newlink+0x63/0xa0 [ 73.984916][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 73.985078][ C2] netlink_rcv_skb+0x130/0x360 [ 73.985239][ C2] netlink_unicast+0x449/0x710 [ 73.985400][ C2] netlink_sendmsg+0x723/0xbe0 [ 73.985562][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 73.985724][ C2] ___sys_sendmsg+0xee/0x170 [ 73.985890][ C2] __sys_sendmsg+0xcd/0x170 [ 73.986127][ C2] do_syscall_64+0xc6/0x1e0 [ 73.986289][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 73.986484][ C2] INITIAL READ USE at: [ 73.986581][ C2] __lock_acquire+0x797/0x1570 [ 73.986893][ C2] lock_acquire.part.0+0xeb/0x330 [ 73.987058][ C2] _raw_read_lock_bh+0x44/0x80 [ 73.987221][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 73.987488][ C2] inet6_fill_link_af+0x5e/0xe0 [ 73.987649][ C2] rtnl_fill_ifinfo+0x1615/0x2a90 [ 73.987811][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 73.988080][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 73.988276][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 73.988438][ C2] register_netdevice+0x1177/0x1690 [ 73.988705][ C2] register_netdev+0x20/0x40 [ 73.988865][ C2] vti6_init_net+0x25d/0x380 [ 73.989027][ C2] ops_init+0x9b/0x560 [ 73.989189][ C2] register_pernet_operations+0x2db/0x710 [ 73.989459][ C2] register_pernet_device+0x2a/0x60 [ 73.989652][ C2] vti6_tunnel_init+0x18/0x110 [ 73.989814][ C2] do_one_initcall+0x8d/0x1e0 [ 73.990050][ C2] do_initcalls+0x1b2/0x3e0 [ 73.990210][ C2] kernel_init_freeable+0x232/0x310 [ 73.990402][ C2] kernel_init+0x20/0x200 [ 73.990642][ C2] ret_from_fork+0x31/0x70 [ 73.990803][ C2] ret_from_fork_asm+0x1a/0x30 [ 73.990966][ C2] } [ 73.991031][ C2] ... key at: [] __key.37+0x0/0x40 [ 73.991297][ C2] ... acquired at: [ 73.991393][ C2] mark_lock+0x28d/0x3e0 [ 73.991523][ C2] mark_usage+0xd9/0x2a0 [ 73.991654][ C2] __lock_acquire+0x797/0x1570 [ 73.991857][ C2] lock_acquire.part.0+0xeb/0x330 [ 73.991987][ C2] _raw_write_lock+0x30/0x40 [ 73.992118][ C2] addrconf_rs_timer+0xa9/0x730 [ 73.992246][ C2] call_timer_fn+0x13b/0x230 [ 73.992448][ C2] __run_timers+0x545/0x810 [ 73.992577][ C2] run_timer_softirq+0xe8/0x1b0 [ 73.992706][ C2] __do_softirq+0x1f8/0x5df [ 73.992835][ C2] irq_exit_rcu+0x97/0xc0 [ 73.993039][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 73.993200][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 73.993360][ C2] default_idle+0xf/0x20 [ 73.993488][ C2] default_idle_call+0x6d/0xb0 [ 73.993690][ C2] cpuidle_idle_call+0x1f4/0x280 [ 73.993819][ C2] do_idle+0xf9/0x160 [ 73.993916][ C2] cpu_startup_entry+0x54/0x60 [ 73.994045][ C2] start_secondary+0x21c/0x2b0 [ 73.994177][ C2] common_startup_64+0x12c/0x138 [ 73.994387][ C2] [ 73.994452][ C2] [ 73.994452][ C2] stack backtrace: [ 73.994609][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 73.994804][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 73.995164][ C2] Call Trace: [ 73.995269][ C2] [ 73.995336][ C2] dump_stack_lvl+0x82/0xd0 [ 73.995472][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 73.995633][ C2] ? kernel_text_address+0x17/0xe0 [ 73.995765][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 73.995926][ C2] ? __pfx_usage_skip+0x10/0x10 [ 73.996128][ C2] ? __pfx_usage_match+0x10/0x10 [ 73.996258][ C2] ? arch_stack_walk+0x8c/0xf0 [ 73.996388][ C2] mark_lock_irq+0x4cd/0xa10 [ 73.996517][ C2] ? common_startup_64+0x12c/0x138 [ 73.996796][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 73.996927][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 73.997058][ C2] ? save_trace+0x8f/0x5b0 [ 73.997187][ C2] mark_lock+0x28d/0x3e0 [ 73.997286][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 73.997487][ C2] mark_usage+0xd9/0x2a0 [ 73.997593][ C2] __lock_acquire+0x797/0x1570 [ 73.997724][ C2] ? __pfx_validate_chain+0x10/0x10 [ 73.997855][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 73.998056][ C2] lock_acquire.part.0+0xeb/0x330 [ 73.998186][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 73.998316][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 73.998446][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 73.998576][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 73.998776][ C2] ? lock_acquire+0x32/0xc0 [ 73.998903][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 73.999033][ C2] _raw_write_lock+0x30/0x40 [ 73.999162][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 73.999363][ C2] addrconf_rs_timer+0xa9/0x730 [ 73.999490][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 73.999620][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 73.999750][ C2] ? call_timer_fn+0xe8/0x230 [ 73.999952][ C2] ? lock_acquire+0x32/0xc0 [ 74.000080][ C2] ? call_timer_fn+0xe8/0x230 [ 74.000211][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 74.000338][ C2] call_timer_fn+0x13b/0x230 [ 74.000539][ C2] ? call_timer_fn+0xe8/0x230 [ 74.000666][ C2] ? call_timer_fn+0xe8/0x230 [ 74.000794][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 74.000922][ C2] ? mark_lock+0x38/0x3e0 [ 74.001022][ C2] __run_timers+0x545/0x810 [ 74.001221][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 74.001349][ C2] ? __pfx___run_timers+0x10/0x10 [ 74.001486][ C2] ? do_raw_spin_lock+0x131/0x270 [ 74.001617][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 74.001819][ C2] ? lock_acquire+0x32/0xc0 [ 74.001948][ C2] ? run_timer_softirq+0xe0/0x1b0 [ 74.002078][ C2] run_timer_softirq+0xe8/0x1b0 [ 74.002207][ C2] __do_softirq+0x1f8/0x5df [ 74.002410][ C2] irq_exit_rcu+0x97/0xc0 [ 74.002508][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 74.002640][ C2] [ 74.002711][ C2] [ 74.002776][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 74.002937][ C2] RIP: 0010:default_idle+0xf/0x20 [ 74.003146][ 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 d3 fb 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 [ 74.003682][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000246 [ 74.003851][ C2] RAX: 000000000026707d RBX: 1ffff9200002bfc1 RCX: ffffffff9f531ea5 [ 74.004043][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9ccac1d4 [ 74.004316][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 74.004510][ C2] R10: ffff8880361384e3 R11: ffff88803613de40 R12: 0000000000000000 [ 74.004702][ C2] R13: ffff888001b8c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 74.004973][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 74.005102][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 74.005233][ C2] default_idle_call+0x6d/0xb0 [ 74.005360][ C2] cpuidle_idle_call+0x1f4/0x280 [ 74.005562][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 74.005691][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 74.005822][ C2] do_idle+0xf9/0x160 [ 74.005922][ C2] cpu_startup_entry+0x54/0x60 [ 74.006052][ C2] start_secondary+0x21c/0x2b0 [ 74.006253][ C2] ? __pfx_start_secondary+0x10/0x10 [ 74.006383][ C2] common_startup_64+0x12c/0x138 [ 74.006514][ C2]