[ 27.213862][ T273] veth0: entered allmulticast mode [ 27.214603][ T273] veth1: entered allmulticast mode [ 27.214997][ T273] veth2: entered allmulticast mode [ 27.215348][ T273] veth3: entered allmulticast mode [ 27.215699][ T273] veth4: entered allmulticast mode [ 27.216493][ T273] veth5: entered allmulticast mode [ 38.136058][ C0] [ 38.136267][ C0] ======================================================== [ 38.136521][ C0] WARNING: possible irq lock inversion dependency detected [ 38.136761][ C0] 6.9.0-rc1-virtme #1 Not tainted [ 38.136924][ C0] -------------------------------------------------------- [ 38.137158][ C0] swapper/0/0 just changed the state of lock: [ 38.137368][ C0] ffff888011688d80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 38.137675][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 38.137920][ C0] (&p->alloc_lock){+.+.}-{2:2} [ 38.137924][ C0] [ 38.137924][ C0] [ 38.137924][ C0] and interrupts could create inverse lock ordering between them. [ 38.137924][ C0] [ 38.138528][ C0] [ 38.138528][ C0] other info that might help us debug this: [ 38.138767][ C0] Possible interrupt unsafe locking scenario: [ 38.138767][ C0] [ 38.139013][ C0] CPU0 CPU1 [ 38.139171][ C0] ---- ---- [ 38.139333][ C0] lock(&p->alloc_lock); [ 38.139461][ C0] local_irq_disable(); [ 38.139665][ C0] lock(&ndev->lock); [ 38.139861][ C0] lock(&p->alloc_lock); [ 38.140061][ C0] [ 38.140183][ C0] lock(&ndev->lock); [ 38.140309][ C0] [ 38.140309][ C0] *** DEADLOCK *** [ 38.140309][ C0] [ 38.140553][ C0] 1 lock held by swapper/0/0: [ 38.140712][ C0] #0: ffffc90000007d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 38.141017][ C0] [ 38.141017][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 38.141305][ C0] -> (&p->alloc_lock){+.+.}-{2:2} { [ 38.141475][ C0] HARDIRQ-ON-W at: [ 38.141611][ C0] __lock_acquire+0x797/0x1570 [ 38.141828][ C0] lock_acquire.part.0+0xeb/0x330 [ 38.142026][ C0] _raw_spin_lock+0x30/0x40 [ 38.142232][ C0] set_mems_allowed+0x1d/0x210 [ 38.142438][ C0] kernel_init_freeable+0x72/0x310 [ 38.142642][ C0] kernel_init+0x20/0x200 [ 38.142886][ C0] ret_from_fork+0x31/0x70 [ 38.143072][ C0] ret_from_fork_asm+0x1a/0x30 [ 38.143253][ C0] SOFTIRQ-ON-W at: [ 38.143361][ C0] __lock_acquire+0x797/0x1570 [ 38.143552][ C0] lock_acquire.part.0+0xeb/0x330 [ 38.143735][ C0] _raw_spin_lock+0x30/0x40 [ 38.143926][ C0] set_mems_allowed+0x1d/0x210 [ 38.144116][ C0] kernel_init_freeable+0x72/0x310 [ 38.144298][ C0] kernel_init+0x20/0x200 [ 38.144483][ C0] ret_from_fork+0x31/0x70 [ 38.144670][ C0] ret_from_fork_asm+0x1a/0x30 [ 38.144883][ C0] INITIAL USE at: [ 38.145001][ C0] __lock_acquire+0x797/0x1570 [ 38.145207][ C0] lock_acquire.part.0+0xeb/0x330 [ 38.145408][ C0] _raw_spin_lock+0x30/0x40 [ 38.145621][ C0] set_mems_allowed+0x1d/0x210 [ 38.145823][ C0] kernel_init_freeable+0x72/0x310 [ 38.146022][ C0] kernel_init+0x20/0x200 [ 38.146222][ C0] ret_from_fork+0x31/0x70 [ 38.146424][ C0] ret_from_fork_asm+0x1a/0x30 [ 38.146636][ C0] } [ 38.146720][ C0] ... key at: [] __key.387+0x0/0x40 [ 38.146961][ C0] ... acquired at: [ 38.147080][ C0] __lock_acquire+0xaf0/0x1570 [ 38.147244][ C0] lock_acquire.part.0+0xeb/0x330 [ 38.147404][ C0] _raw_spin_lock+0x30/0x40 [ 38.147569][ C0] __get_task_comm+0x27/0x70 [ 38.147740][ C0] ref_tracker_alloc+0x2ee/0x490 [ 38.147904][ C0] netdev_get_by_index+0x5e/0x80 [ 38.148065][ C0] fib6_nh_init+0x3d8/0x15b0 [ 38.148226][ C0] ip6_route_info_create+0xf18/0x17d0 [ 38.148384][ C0] addrconf_f6i_alloc+0x265/0x560 [ 38.148555][ C0] __ipv6_dev_ac_inc+0x25f/0xb10 [ 38.148717][ C0] addrconf_join_anycast+0x1c0/0x220 [ 38.148883][ C0] dev_forward_change+0x2a6/0x7b0 [ 38.149045][ C0] addrconf_fixup_forwarding+0x23f/0x460 [ 38.149244][ C0] addrconf_sysctl_forward+0x212/0x2b0 [ 38.149401][ C0] proc_sys_call_handler+0x403/0x5e0 [ 38.149566][ C0] vfs_write+0x9e5/0x10a0 [ 38.149731][ C0] ksys_write+0xf5/0x1e0 [ 38.149891][ C0] do_syscall_64+0xc6/0x1e0 [ 38.150055][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 38.150263][ C0] [ 38.150346][ C0] -> (&ndev->lock){++-.}-{2:2} { [ 38.150520][ C0] HARDIRQ-ON-W at: [ 38.150644][ C0] __lock_acquire+0x797/0x1570 [ 38.150846][ C0] lock_acquire.part.0+0xeb/0x330 [ 38.151045][ C0] _raw_write_lock_bh+0x38/0x50 [ 38.151243][ C0] addrconf_permanent_addr+0x6e/0x670 [ 38.151448][ C0] addrconf_notify+0x749/0xd60 [ 38.151656][ C0] notifier_call_chain+0xcd/0x150 [ 38.151858][ C0] __dev_notify_flags+0xe6/0x250 [ 38.152060][ C0] dev_change_flags+0xec/0x160 [ 38.152260][ C0] do_setlink+0x7d6/0x21e0 [ 38.152459][ C0] __rtnl_newlink+0xaa7/0xd80 [ 38.152664][ C0] rtnl_newlink+0x63/0xa0 [ 38.152884][ C0] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 38.153083][ C0] netlink_rcv_skb+0x130/0x360 [ 38.153283][ C0] netlink_unicast+0x449/0x710 [ 38.153483][ C0] netlink_sendmsg+0x723/0xbe0 [ 38.153685][ C0] ____sys_sendmsg+0x7b2/0xa10 [ 38.153889][ C0] ___sys_sendmsg+0xee/0x170 [ 38.154094][ C0] __sys_sendmsg+0xcd/0x170 [ 38.154298][ C0] do_syscall_64+0xc6/0x1e0 [ 38.154497][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 38.154745][ C0] HARDIRQ-ON-R at: [ 38.154867][ C0] __lock_acquire+0x797/0x1570 [ 38.155069][ C0] lock_acquire.part.0+0xeb/0x330 [ 38.155268][ C0] _raw_read_lock_bh+0x44/0x80 [ 38.155478][ C0] inet6_fill_ifla6_attrs+0x516/0x740 [ 38.155680][ C0] inet6_fill_link_af+0x5e/0xe0 [ 38.155880][ C0] rtnl_fill_ifinfo+0x1612/0x29e0 [ 38.156081][ C0] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 38.156281][ C0] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 38.156529][ C0] rtmsg_ifinfo+0x5b/0xa0 [ 38.156737][ C0] register_netdevice+0x1177/0x1690 [ 38.156940][ C0] register_netdev+0x20/0x40 [ 38.157139][ C0] sit_init_net+0x250/0x4f0 [ 38.157340][ C0] ops_init+0x9b/0x560 [ 38.157502][ C0] register_pernet_operations+0x2db/0x710 [ 38.157757][ C0] register_pernet_device+0x2a/0x60 [ 38.157961][ C0] sit_init+0x23/0xe0 [ 38.158121][ C0] do_one_initcall+0x8d/0x1e0 [ 38.158324][ C0] do_initcalls+0x1b2/0x3e0 [ 38.158525][ C0] kernel_init_freeable+0x232/0x310 [ 38.158725][ C0] kernel_init+0x20/0x200 [ 38.158926][ C0] ret_from_fork+0x31/0x70 [ 38.159129][ C0] ret_from_fork_asm+0x1a/0x30 [ 38.159331][ C0] IN-SOFTIRQ-W at: [ 38.159452][ C0] __lock_acquire+0x797/0x1570 [ 38.159653][ C0] lock_acquire.part.0+0xeb/0x330 [ 38.159854][ C0] _raw_write_lock+0x30/0x40 [ 38.160051][ C0] addrconf_rs_timer+0xa9/0x730 [ 38.160249][ C0] call_timer_fn+0x13b/0x230 [ 38.160451][ C0] __run_timers+0x545/0x810 [ 38.160654][ C0] run_timer_softirq+0xe8/0x1b0 [ 38.160853][ C0] __do_softirq+0x1f8/0x5df [ 38.161054][ C0] irq_exit_rcu+0x97/0xc0 [ 38.161253][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 38.161488][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 38.161730][ C0] default_idle+0xf/0x20 [ 38.161933][ C0] default_idle_call+0x6d/0xb0 [ 38.162131][ C0] cpuidle_idle_call+0x1f4/0x280 [ 38.162332][ C0] do_idle+0xf9/0x160 [ 38.162492][ C0] cpu_startup_entry+0x54/0x60 [ 38.162692][ C0] rest_init+0x14f/0x260 [ 38.162938][ C0] start_kernel+0x318/0x3d0 [ 38.163126][ C0] x86_64_start_reservations+0x18/0x30 [ 38.163316][ C0] x86_64_start_kernel+0xba/0x110 [ 38.163503][ C0] common_startup_64+0x12c/0x138 [ 38.163690][ C0] INITIAL USE at: [ 38.163799][ C0] __lock_acquire+0x797/0x1570 [ 38.164006][ C0] lock_acquire.part.0+0xeb/0x330 [ 38.164189][ C0] _raw_write_lock_bh+0x38/0x50 [ 38.164396][ C0] addrconf_permanent_addr+0x6e/0x670 [ 38.164581][ C0] addrconf_notify+0x749/0xd60 [ 38.164767][ C0] notifier_call_chain+0xcd/0x150 [ 38.164962][ C0] __dev_notify_flags+0xe6/0x250 [ 38.165144][ C0] dev_change_flags+0xec/0x160 [ 38.165325][ C0] do_setlink+0x7d6/0x21e0 [ 38.165512][ C0] __rtnl_newlink+0xaa7/0xd80 [ 38.165695][ C0] rtnl_newlink+0x63/0xa0 [ 38.165890][ C0] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 38.166074][ C0] netlink_rcv_skb+0x130/0x360 [ 38.166259][ C0] netlink_unicast+0x449/0x710 [ 38.166440][ C0] netlink_sendmsg+0x723/0xbe0 [ 38.166621][ C0] ____sys_sendmsg+0x7b2/0xa10 [ 38.166811][ C0] ___sys_sendmsg+0xee/0x170 [ 38.166996][ C0] __sys_sendmsg+0xcd/0x170 [ 38.167177][ C0] do_syscall_64+0xc6/0x1e0 [ 38.167359][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 38.167581][ C0] INITIAL READ USE at: [ 38.167691][ C0] __lock_acquire+0x797/0x1570 [ 38.167873][ C0] lock_acquire.part.0+0xeb/0x330 [ 38.168062][ C0] _raw_read_lock_bh+0x44/0x80 [ 38.168244][ C0] inet6_fill_ifla6_attrs+0x516/0x740 [ 38.168464][ C0] inet6_fill_link_af+0x5e/0xe0 [ 38.168644][ C0] rtnl_fill_ifinfo+0x1612/0x29e0 [ 38.168923][ C0] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 38.169160][ C0] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 38.169382][ C0] rtmsg_ifinfo+0x5b/0xa0 [ 38.169659][ C0] register_netdevice+0x1177/0x1690 [ 38.169883][ C0] register_netdev+0x20/0x40 [ 38.170070][ C0] sit_init_net+0x250/0x4f0 [ 38.170350][ C0] ops_init+0x9b/0x560 [ 38.170543][ C0] register_pernet_operations+0x2db/0x710 [ 38.170763][ C0] register_pernet_device+0x2a/0x60 [ 38.171161][ C0] sit_init+0x23/0xe0 [ 38.171347][ C0] do_one_initcall+0x8d/0x1e0 [ 38.171535][ C0] do_initcalls+0x1b2/0x3e0 [ 38.171727][ C0] kernel_init_freeable+0x232/0x310 [ 38.172041][ C0] kernel_init+0x20/0x200 [ 38.172223][ C0] ret_from_fork+0x31/0x70 [ 38.172417][ C0] ret_from_fork_asm+0x1a/0x30 [ 38.172690][ C0] } [ 38.172765][ C0] ... key at: [] __key.37+0x0/0x40 [ 38.173081][ C0] ... acquired at: [ 38.173190][ C0] mark_lock+0x28d/0x3e0 [ 38.173424][ C0] mark_usage+0xd9/0x2a0 [ 38.173596][ C0] __lock_acquire+0x797/0x1570 [ 38.173742][ C0] lock_acquire.part.0+0xeb/0x330 [ 38.173886][ C0] _raw_write_lock+0x30/0x40 [ 38.174032][ C0] addrconf_rs_timer+0xa9/0x730 [ 38.174278][ C0] call_timer_fn+0x13b/0x230 [ 38.174423][ C0] __run_timers+0x545/0x810 [ 38.174570][ C0] run_timer_softirq+0xe8/0x1b0 [ 38.174713][ C0] __do_softirq+0x1f8/0x5df [ 38.174944][ C0] irq_exit_rcu+0x97/0xc0 [ 38.175095][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 38.175276][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 38.175457][ C0] default_idle+0xf/0x20 [ 38.175687][ C0] default_idle_call+0x6d/0xb0 [ 38.175852][ C0] cpuidle_idle_call+0x1f4/0x280 [ 38.176001][ C0] do_idle+0xf9/0x160 [ 38.176114][ C0] cpu_startup_entry+0x54/0x60 [ 38.176358][ C0] rest_init+0x14f/0x260 [ 38.176521][ C0] start_kernel+0x318/0x3d0 [ 38.176688][ C0] x86_64_start_reservations+0x18/0x30 [ 38.176859][ C0] x86_64_start_kernel+0xba/0x110 [ 38.177101][ C0] common_startup_64+0x12c/0x138 [ 38.177250][ C0] [ 38.177324][ C0] [ 38.177324][ C0] stack backtrace: [ 38.177509][ C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.9.0-rc1-virtme #1 [ 38.177817][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 38.178150][ C0] Call Trace: [ 38.178314][ C0] [ 38.178433][ C0] dump_stack_lvl+0x82/0xd0 [ 38.178821][ C0] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 38.179072][ C0] ? kernel_text_address+0x17/0xe0 [ 38.179280][ C0] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 38.179546][ C0] ? __pfx_usage_skip+0x10/0x10 [ 38.179927][ C0] ? __pfx_usage_match+0x10/0x10 [ 38.180136][ C0] ? arch_stack_walk+0x8c/0xf0 [ 38.180371][ C0] mark_lock_irq+0x4cd/0xa10 [ 38.180604][ C0] ? common_startup_64+0x12c/0x138 [ 38.180992][ C0] ? __pfx_mark_lock_irq+0x10/0x10 [ 38.181229][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 38.181477][ C0] ? save_trace+0x8f/0x5b0 [ 38.181716][ C0] mark_lock+0x28d/0x3e0 [ 38.181904][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 38.182301][ C0] mark_usage+0xd9/0x2a0 [ 38.182482][ C0] __lock_acquire+0x797/0x1570 [ 38.182721][ C0] ? __pfx_validate_chain+0x10/0x10 [ 38.182966][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 38.183200][ C0] lock_acquire.part.0+0xeb/0x330 [ 38.183439][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 38.183674][ C0] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 38.183921][ C0] ? trace_lock_acquire+0x135/0x1c0 [ 38.184298][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 38.184536][ C0] ? lock_acquire+0x32/0xc0 [ 38.184774][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 38.185009][ C0] _raw_write_lock+0x30/0x40 [ 38.185249][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 38.185824][ C0] addrconf_rs_timer+0xa9/0x730 [ 38.186045][ C0] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 38.186286][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 38.186519][ C0] ? call_timer_fn+0xe8/0x230 [ 38.186945][ C0] ? lock_acquire+0x32/0xc0 [ 38.187185][ C0] ? call_timer_fn+0xe8/0x230 [ 38.187415][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 38.187641][ C0] call_timer_fn+0x13b/0x230 [ 38.188022][ C0] ? call_timer_fn+0xe8/0x230 [ 38.188257][ C0] ? call_timer_fn+0xe8/0x230 [ 38.188485][ C0] ? __pfx_call_timer_fn+0x10/0x10 [ 38.188731][ C0] ? mark_lock+0x38/0x3e0 [ 38.188912][ C0] __run_timers+0x545/0x810 [ 38.189307][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 38.189543][ C0] ? __pfx___run_timers+0x10/0x10 [ 38.189777][ C0] ? do_raw_spin_lock+0x131/0x270 [ 38.190012][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 38.190412][ C0] ? lock_acquire+0x32/0xc0 [ 38.190636][ C0] ? run_timer_softirq+0xe0/0x1b0 [ 38.190881][ C0] run_timer_softirq+0xe8/0x1b0 [ 38.191113][ C0] __do_softirq+0x1f8/0x5df [ 38.191509][ C0] irq_exit_rcu+0x97/0xc0 [ 38.191688][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 38.191930][ C0] [ 38.192056][ C0] [ 38.192181][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 38.192635][ C0] RIP: 0010:default_idle+0xf/0x20 [ 38.192918][ C0] 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 [ 38.193956][ C0] RSP: 0018:ffffffff93407e00 EFLAGS: 00000242 [ 38.194255][ C0] RAX: 00000000000aa4d5 RBX: 1ffffffff2680fc2 RCX: ffffffff9250e9d5 [ 38.194610][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8feaa4a4 [ 38.195131][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0709c [ 38.195492][ C0] R10: ffff8880360384e3 R11: ffff88803602d9b0 R12: 0000000000000000 [ 38.195852][ C0] R13: ffffffff9341d000 R14: dffffc0000000000 R15: 0000000000014770 [ 38.196378][ C0] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 38.196617][ C0] ? cpuidle_idle_call+0x1f4/0x280 [ 38.196846][ C0] default_idle_call+0x6d/0xb0 [ 38.197074][ C0] cpuidle_idle_call+0x1f4/0x280 [ 38.197466][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 38.197695][ C0] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 38.197946][ C0] do_idle+0xf9/0x160 [ 38.198117][ C0] cpu_startup_entry+0x54/0x60 [ 38.198375][ C0] rest_init+0x14f/0x260 [ 38.198705][ C0] start_kernel+0x318/0x3d0 [ 38.198935][ C0] x86_64_start_reservations+0x18/0x30 [ 38.199176][ C0] x86_64_start_kernel+0xba/0x110 [ 38.199408][ C0] common_startup_64+0x12c/0x138 [ 38.199788][ C0] [ 41.068714][ T357] GACT probability NOT on [ 76.577352][ T273] veth0: left allmulticast mode [ 76.582734][ T273] veth1: left allmulticast mode [ 76.582951][ T273] veth2: left allmulticast mode [ 76.583128][ T273] veth3: left allmulticast mode [ 76.583305][ T273] veth4: left allmulticast mode [ 76.583515][ T273] veth5: left allmulticast mode