[ 27.065835][ T271] veth0: entered allmulticast mode [ 27.066757][ T271] veth1: entered allmulticast mode [ 27.067094][ T271] veth2: entered allmulticast mode [ 27.067423][ T271] veth3: entered allmulticast mode [ 27.067741][ T271] veth4: entered allmulticast mode [ 27.068054][ T271] veth5: entered allmulticast mode [ 37.881332][ C1] [ 37.881515][ C1] ======================================================== [ 37.881719][ C1] WARNING: possible irq lock inversion dependency detected [ 37.881991][ C1] 6.9.0-rc1-virtme #1 Not tainted [ 37.882155][ C1] -------------------------------------------------------- [ 37.882361][ C1] swapper/1/0 just changed the state of lock: [ 37.882572][ C1] ffff88800622bd80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 37.882872][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 37.883106][ C1] (&p->alloc_lock){+.+.}-{2:2} [ 37.883111][ C1] [ 37.883111][ C1] [ 37.883111][ C1] and interrupts could create inverse lock ordering between them. [ 37.883111][ C1] [ 37.883674][ C1] [ 37.883674][ C1] other info that might help us debug this: [ 37.883869][ C1] Possible interrupt unsafe locking scenario: [ 37.883869][ C1] [ 37.884071][ C1] CPU0 CPU1 [ 37.884249][ C1] ---- ---- [ 37.884417][ C1] lock(&p->alloc_lock); [ 37.884559][ C1] local_irq_disable(); [ 37.884733][ C1] lock(&ndev->lock); [ 37.884899][ C1] lock(&p->alloc_lock); [ 37.885086][ C1] [ 37.885189][ C1] lock(&ndev->lock); [ 37.885292][ C1] [ 37.885292][ C1] *** DEADLOCK *** [ 37.885292][ C1] [ 37.885507][ C1] 1 lock held by swapper/1/0: [ 37.885641][ C1] #0: ffffc900001d8d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 37.885939][ C1] [ 37.885939][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 37.886220][ C1] -> (&p->alloc_lock){+.+.}-{2:2} { [ 37.886398][ C1] HARDIRQ-ON-W at: [ 37.886557][ C1] __lock_acquire+0x797/0x1570 [ 37.886737][ C1] lock_acquire.part.0+0xeb/0x330 [ 37.886903][ C1] _raw_spin_lock+0x30/0x40 [ 37.887076][ C1] set_mems_allowed+0x1d/0x210 [ 37.887243][ C1] kernel_init_freeable+0x72/0x310 [ 37.887419][ C1] kernel_init+0x20/0x200 [ 37.887586][ C1] ret_from_fork+0x31/0x70 [ 37.887758][ C1] ret_from_fork_asm+0x1a/0x30 [ 37.887925][ C1] SOFTIRQ-ON-W at: [ 37.888053][ C1] __lock_acquire+0x797/0x1570 [ 37.888261][ C1] lock_acquire.part.0+0xeb/0x330 [ 37.888469][ C1] _raw_spin_lock+0x30/0x40 [ 37.888673][ C1] set_mems_allowed+0x1d/0x210 [ 37.888873][ C1] kernel_init_freeable+0x72/0x310 [ 37.889074][ C1] kernel_init+0x20/0x200 [ 37.889278][ C1] ret_from_fork+0x31/0x70 [ 37.889476][ C1] ret_from_fork_asm+0x1a/0x30 [ 37.889681][ C1] INITIAL USE at: [ 37.889802][ C1] __lock_acquire+0x797/0x1570 [ 37.890000][ C1] lock_acquire.part.0+0xeb/0x330 [ 37.890201][ C1] _raw_spin_lock+0x30/0x40 [ 37.890405][ C1] set_mems_allowed+0x1d/0x210 [ 37.890603][ C1] kernel_init_freeable+0x72/0x310 [ 37.890803][ C1] kernel_init+0x20/0x200 [ 37.891013][ C1] ret_from_fork+0x31/0x70 [ 37.891215][ C1] ret_from_fork_asm+0x1a/0x30 [ 37.891414][ C1] } [ 37.891500][ C1] ... key at: [] __key.387+0x0/0x40 [ 37.891744][ C1] ... acquired at: [ 37.891863][ C1] __lock_acquire+0xaf0/0x1570 [ 37.892025][ C1] lock_acquire.part.0+0xeb/0x330 [ 37.892191][ C1] _raw_spin_lock+0x30/0x40 [ 37.892350][ C1] __get_task_comm+0x27/0x70 [ 37.892516][ C1] ref_tracker_alloc+0x2ee/0x490 [ 37.892677][ C1] netdev_get_by_index+0x5e/0x80 [ 37.892842][ C1] fib6_nh_init+0x3d8/0x15b0 [ 37.893007][ C1] ip6_route_info_create+0xf18/0x17d0 [ 37.893166][ C1] addrconf_f6i_alloc+0x265/0x560 [ 37.893325][ C1] __ipv6_dev_ac_inc+0x25f/0xb10 [ 37.893492][ C1] addrconf_join_anycast+0x1c0/0x220 [ 37.893654][ C1] dev_forward_change+0x2a6/0x7b0 [ 37.893815][ C1] addrconf_fixup_forwarding+0x23f/0x460 [ 37.894010][ C1] addrconf_sysctl_forward+0x212/0x2b0 [ 37.894211][ C1] proc_sys_call_handler+0x403/0x5e0 [ 37.894390][ C1] vfs_write+0x9e5/0x10a0 [ 37.894555][ C1] ksys_write+0xf5/0x1e0 [ 37.894742][ C1] do_syscall_64+0xc6/0x1e0 [ 37.894904][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 37.895105][ C1] [ 37.895188][ C1] -> (&ndev->lock){++-.}-{2:2} { [ 37.895356][ C1] HARDIRQ-ON-W at: [ 37.895476][ C1] __lock_acquire+0x797/0x1570 [ 37.895680][ C1] lock_acquire.part.0+0xeb/0x330 [ 37.895878][ C1] _raw_write_lock_bh+0x38/0x50 [ 37.896091][ C1] addrconf_permanent_addr+0x6e/0x670 [ 37.896292][ C1] addrconf_notify+0x749/0xd60 [ 37.896494][ C1] notifier_call_chain+0xcd/0x150 [ 37.896698][ C1] __dev_notify_flags+0xe6/0x250 [ 37.896901][ C1] dev_change_flags+0xec/0x160 [ 37.897101][ C1] do_setlink+0x7d6/0x21e0 [ 37.897310][ C1] __rtnl_newlink+0xaa7/0xd80 [ 37.897511][ C1] rtnl_newlink+0x63/0xa0 [ 37.897708][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 37.897904][ C1] netlink_rcv_skb+0x130/0x360 [ 37.898106][ C1] netlink_unicast+0x449/0x710 [ 37.898304][ C1] netlink_sendmsg+0x723/0xbe0 [ 37.898503][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 37.898709][ C1] ___sys_sendmsg+0xee/0x170 [ 37.898909][ C1] __sys_sendmsg+0xcd/0x170 [ 37.899109][ C1] do_syscall_64+0xc6/0x1e0 [ 37.899319][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 37.899557][ C1] HARDIRQ-ON-R at: [ 37.899677][ C1] __lock_acquire+0x797/0x1570 [ 37.899878][ C1] lock_acquire.part.0+0xeb/0x330 [ 37.900080][ C1] _raw_read_lock_bh+0x44/0x80 [ 37.900281][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 37.900482][ C1] inet6_fill_link_af+0x5e/0xe0 [ 37.900680][ C1] rtnl_fill_ifinfo+0x1612/0x29e0 [ 37.900882][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 37.901079][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 37.901335][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 37.901540][ C1] register_netdevice+0x1177/0x1690 [ 37.901750][ C1] register_netdev+0x20/0x40 [ 37.901950][ C1] sit_init_net+0x250/0x4f0 [ 37.902152][ C1] ops_init+0x9b/0x560 [ 37.902313][ C1] register_pernet_operations+0x2db/0x710 [ 37.902553][ C1] register_pernet_device+0x2a/0x60 [ 37.902753][ C1] sit_init+0x23/0xe0 [ 37.902915][ C1] do_one_initcall+0x8d/0x1e0 [ 37.903130][ C1] do_initcalls+0x1b2/0x3e0 [ 37.903336][ C1] kernel_init_freeable+0x232/0x310 [ 37.903537][ C1] kernel_init+0x20/0x200 [ 37.903740][ C1] ret_from_fork+0x31/0x70 [ 37.903950][ C1] ret_from_fork_asm+0x1a/0x30 [ 37.904165][ C1] IN-SOFTIRQ-W at: [ 37.904296][ C1] __lock_acquire+0x797/0x1570 [ 37.904497][ C1] lock_acquire.part.0+0xeb/0x330 [ 37.904698][ C1] _raw_write_lock+0x30/0x40 [ 37.904927][ C1] addrconf_rs_timer+0xa9/0x730 [ 37.905130][ C1] call_timer_fn+0x13b/0x230 [ 37.905335][ C1] __run_timers+0x545/0x810 [ 37.905533][ C1] run_timer_softirq+0xe8/0x1b0 [ 37.905732][ C1] __do_softirq+0x1f8/0x5df [ 37.905932][ C1] irq_exit_rcu+0x97/0xc0 [ 37.906131][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 37.906370][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 37.906624][ C1] default_idle+0xf/0x20 [ 37.906804][ C1] default_idle_call+0x6d/0xb0 [ 37.907021][ C1] cpuidle_idle_call+0x1f4/0x280 [ 37.907221][ C1] do_idle+0xf9/0x160 [ 37.907380][ C1] cpu_startup_entry+0x54/0x60 [ 37.907579][ C1] start_secondary+0x21c/0x2b0 [ 37.907787][ C1] common_startup_64+0x12c/0x138 [ 37.907990][ C1] INITIAL USE at: [ 37.908114][ C1] __lock_acquire+0x797/0x1570 [ 37.908315][ C1] lock_acquire.part.0+0xeb/0x330 [ 37.908516][ C1] _raw_write_lock_bh+0x38/0x50 [ 37.908722][ C1] addrconf_permanent_addr+0x6e/0x670 [ 37.908922][ C1] addrconf_notify+0x749/0xd60 [ 37.909130][ C1] notifier_call_chain+0xcd/0x150 [ 37.909332][ C1] __dev_notify_flags+0xe6/0x250 [ 37.909532][ C1] dev_change_flags+0xec/0x160 [ 37.909733][ C1] do_setlink+0x7d6/0x21e0 [ 37.909935][ C1] __rtnl_newlink+0xaa7/0xd80 [ 37.910138][ C1] rtnl_newlink+0x63/0xa0 [ 37.910345][ C1] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 37.910547][ C1] netlink_rcv_skb+0x130/0x360 [ 37.910748][ C1] netlink_unicast+0x449/0x710 [ 37.910946][ C1] netlink_sendmsg+0x723/0xbe0 [ 37.911147][ C1] ____sys_sendmsg+0x7b2/0xa10 [ 37.911352][ C1] ___sys_sendmsg+0xee/0x170 [ 37.911558][ C1] __sys_sendmsg+0xcd/0x170 [ 37.911765][ C1] do_syscall_64+0xc6/0x1e0 [ 37.911973][ C1] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 37.912209][ C1] INITIAL READ USE at: [ 37.912328][ C1] __lock_acquire+0x797/0x1570 [ 37.912532][ C1] lock_acquire.part.0+0xeb/0x330 [ 37.912731][ C1] _raw_read_lock_bh+0x44/0x80 [ 37.912934][ C1] inet6_fill_ifla6_attrs+0x516/0x740 [ 37.913173][ C1] inet6_fill_link_af+0x5e/0xe0 [ 37.913372][ C1] rtnl_fill_ifinfo+0x1612/0x29e0 [ 37.913569][ C1] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 37.913806][ C1] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 37.914045][ C1] rtmsg_ifinfo+0x5b/0xa0 [ 37.914266][ C1] register_netdevice+0x1177/0x1690 [ 37.914507][ C1] register_netdev+0x20/0x40 [ 37.914788][ C1] sit_init_net+0x250/0x4f0 [ 37.914988][ C1] ops_init+0x9b/0x560 [ 37.915189][ C1] register_pernet_operations+0x2db/0x710 [ 37.915507][ C1] register_pernet_device+0x2a/0x60 [ 37.915751][ C1] sit_init+0x23/0xe0 [ 37.915949][ C1] do_one_initcall+0x8d/0x1e0 [ 37.916225][ C1] do_initcalls+0x1b2/0x3e0 [ 37.916429][ C1] kernel_init_freeable+0x232/0x310 [ 37.916666][ C1] kernel_init+0x20/0x200 [ 37.917020][ C1] ret_from_fork+0x31/0x70 [ 37.917232][ C1] ret_from_fork_asm+0x1a/0x30 [ 37.917432][ C1] } [ 37.917514][ C1] ... key at: [] __key.37+0x0/0x40 [ 37.917827][ C1] ... acquired at: [ 37.917947][ C1] mark_lock+0x28d/0x3e0 [ 37.918108][ C1] mark_usage+0xd9/0x2a0 [ 37.918269][ C1] __lock_acquire+0x797/0x1570 [ 37.918429][ C1] lock_acquire.part.0+0xeb/0x330 [ 37.918675][ C1] _raw_write_lock+0x30/0x40 [ 37.918836][ C1] addrconf_rs_timer+0xa9/0x730 [ 37.918996][ C1] call_timer_fn+0x13b/0x230 [ 37.919160][ C1] __run_timers+0x545/0x810 [ 37.919394][ C1] run_timer_softirq+0xe8/0x1b0 [ 37.919552][ C1] __do_softirq+0x1f8/0x5df [ 37.919710][ C1] irq_exit_rcu+0x97/0xc0 [ 37.919871][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 37.920140][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 37.920345][ C1] default_idle+0xf/0x20 [ 37.920505][ C1] default_idle_call+0x6d/0xb0 [ 37.920663][ C1] cpuidle_idle_call+0x1f4/0x280 [ 37.920896][ C1] do_idle+0xf9/0x160 [ 37.921017][ C1] cpu_startup_entry+0x54/0x60 [ 37.921174][ C1] start_secondary+0x21c/0x2b0 [ 37.921333][ C1] common_startup_64+0x12c/0x138 [ 37.921567][ C1] [ 37.921651][ C1] [ 37.921651][ C1] stack backtrace: [ 37.921854][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.9.0-rc1-virtme #1 [ 37.922092][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 37.922513][ C1] Call Trace: [ 37.922634][ C1] [ 37.922727][ C1] dump_stack_lvl+0x82/0xd0 [ 37.922897][ C1] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 37.923174][ C1] ? kernel_text_address+0x17/0xe0 [ 37.923340][ C1] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 37.923539][ C1] ? __pfx_usage_skip+0x10/0x10 [ 37.923699][ C1] ? __pfx_usage_match+0x10/0x10 [ 37.923932][ C1] ? arch_stack_walk+0x8c/0xf0 [ 37.924094][ C1] mark_lock_irq+0x4cd/0xa10 [ 37.924275][ C1] ? common_startup_64+0x12c/0x138 [ 37.924441][ C1] ? __pfx_mark_lock_irq+0x10/0x10 [ 37.924746][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 37.924889][ C1] ? save_trace+0x8f/0x5b0 [ 37.925053][ C1] mark_lock+0x28d/0x3e0 [ 37.925177][ C1] ? __pfx_stack_trace_save+0x10/0x10 [ 37.925322][ C1] mark_usage+0xd9/0x2a0 [ 37.925502][ C1] __lock_acquire+0x797/0x1570 [ 37.925648][ C1] ? __pfx_validate_chain+0x10/0x10 [ 37.925794][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 37.925943][ C1] lock_acquire.part.0+0xeb/0x330 [ 37.926170][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 37.926306][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 37.926440][ C1] ? trace_lock_acquire+0x135/0x1c0 [ 37.926594][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 37.926813][ C1] ? lock_acquire+0x32/0xc0 [ 37.926959][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 37.927105][ C1] _raw_write_lock+0x30/0x40 [ 37.927246][ C1] ? addrconf_rs_timer+0xa9/0x730 [ 37.927389][ C1] addrconf_rs_timer+0xa9/0x730 [ 37.927598][ C1] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 37.927731][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 37.927861][ C1] ? call_timer_fn+0xe8/0x230 [ 37.927999][ C1] ? lock_acquire+0x32/0xc0 [ 37.928212][ C1] ? call_timer_fn+0xe8/0x230 [ 37.928343][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 37.928473][ C1] call_timer_fn+0x13b/0x230 [ 37.928638][ C1] ? call_timer_fn+0xe8/0x230 [ 37.928928][ C1] ? call_timer_fn+0xe8/0x230 [ 37.929080][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 37.929215][ C1] ? mark_lock+0x38/0x3e0 [ 37.929316][ C1] __run_timers+0x545/0x810 [ 37.929474][ C1] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 37.929697][ C1] ? __pfx___run_timers+0x10/0x10 [ 37.929847][ C1] ? do_raw_spin_lock+0x131/0x270 [ 37.929984][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 37.930120][ C1] ? lock_acquire+0x32/0xc0 [ 37.930326][ C1] ? run_timer_softirq+0xe0/0x1b0 [ 37.930459][ C1] run_timer_softirq+0xe8/0x1b0 [ 37.930591][ C1] __do_softirq+0x1f8/0x5df [ 37.930722][ C1] irq_exit_rcu+0x97/0xc0 [ 37.930896][ C1] sysvec_apic_timer_interrupt+0x75/0x80 [ 37.931031][ C1] [ 37.931105][ C1] [ 37.931172][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 37.931339][ C1] RIP: 0010:default_idle+0xf/0x20 [ 37.931570][ 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 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.932039][ C1] RSP: 0018:ffffc9000014fdf8 EFLAGS: 00000246 [ 37.932284][ C1] RAX: 00000000000864a3 RBX: 1ffff92000029fc1 RCX: ffffffff8710e9d5 [ 37.932484][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff84aaa4a4 [ 37.932725][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c1709c [ 37.933022][ C1] R10: ffff8880360b84e3 R11: ffff8880360ad9b0 R12: 0000000000000000 [ 37.933244][ C1] R13: ffff888001b7a300 R14: dffffc0000000000 R15: 0000000000000000 [ 37.933467][ C1] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 37.933694][ C1] ? cpuidle_idle_call+0x1f4/0x280 [ 37.933846][ C1] default_idle_call+0x6d/0xb0 [ 37.933991][ C1] cpuidle_idle_call+0x1f4/0x280 [ 37.934153][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 37.934390][ C1] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 37.934568][ C1] do_idle+0xf9/0x160 [ 37.934679][ C1] cpu_startup_entry+0x54/0x60 [ 37.934829][ C1] start_secondary+0x21c/0x2b0 [ 37.934985][ C1] ? __pfx_start_secondary+0x10/0x10 [ 37.935212][ C1] common_startup_64+0x12c/0x138 [ 37.935363][ C1] [ 40.952264][ T355] GACT probability NOT on [ 76.331986][ T271] veth0: left allmulticast mode [ 76.332366][ T271] veth1: left allmulticast mode [ 76.332633][ T271] veth2: left allmulticast mode [ 76.332892][ T271] veth3: left allmulticast mode [ 76.333174][ T271] veth4: left allmulticast mode [ 76.333432][ T271] veth5: left allmulticast mode