[ 21.654099][ T236] xdummy0: entered promiscuous mode [ 21.669407][ T236] xdummy0: left promiscuous mode [ 21.674471][ C3] [ 21.674555][ C3] ======================================================== [ 21.674749][ C3] WARNING: possible irq lock inversion dependency detected [ 21.674963][ C3] 6.9.0-rc1-virtme #1 Not tainted [ 21.675097][ C3] -------------------------------------------------------- [ 21.675292][ C3] swapper/3/0 just changed the state of lock: [ 21.675459][ C3] ffff88802f7bf218 (&ul->lock){+.-.}-{2:2}, at: rt6_uncached_list_del+0x77/0x200 [ 21.675705][ C3] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 21.675902][ C3] (&p->alloc_lock){+.+.}-{2:2} [ 21.675906][ C3] [ 21.675906][ C3] [ 21.675906][ C3] and interrupts could create inverse lock ordering between them. [ 21.675906][ C3] [ 21.676478][ C3] [ 21.676478][ C3] other info that might help us debug this: [ 21.676750][ C3] Possible interrupt unsafe locking scenario: [ 21.676750][ C3] [ 21.676950][ C3] CPU0 CPU1 [ 21.677153][ C3] ---- ---- [ 21.677288][ C3] lock(&p->alloc_lock); [ 21.677391][ C3] local_irq_disable(); [ 21.677565][ C3] lock(&ul->lock); [ 21.677817][ C3] lock(&p->alloc_lock); [ 21.677982][ C3] [ 21.678158][ C3] lock(&ul->lock); [ 21.678261][ C3] [ 21.678261][ C3] *** DEADLOCK *** [ 21.678261][ C3] [ 21.678457][ C3] 1 lock held by swapper/3/0: [ 21.678591][ C3] #0: ffffffffa0566240 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x358/0xfb0 [ 21.678906][ C3] [ 21.678906][ C3] the shortest dependencies between 2nd lock and 1st lock: [ 21.679219][ C3] -> (&p->alloc_lock){+.+.}-{2:2} { [ 21.679359][ C3] HARDIRQ-ON-W at: [ 21.679469][ C3] __lock_acquire+0x797/0x1570 [ 21.679726][ C3] lock_acquire.part.0+0xeb/0x330 [ 21.679908][ C3] _raw_spin_lock+0x30/0x40 [ 21.680081][ C3] set_mems_allowed+0x1d/0x210 [ 21.680250][ C3] kernel_init_freeable+0x72/0x310 [ 21.680421][ C3] kernel_init+0x20/0x200 [ 21.680666][ C3] ret_from_fork+0x31/0x70 [ 21.680838][ C3] ret_from_fork_asm+0x1a/0x30 [ 21.681086][ C3] SOFTIRQ-ON-W at: [ 21.681187][ C3] __lock_acquire+0x797/0x1570 [ 21.681363][ C3] lock_acquire.part.0+0xeb/0x330 [ 21.681536][ C3] _raw_spin_lock+0x30/0x40 [ 21.681709][ C3] set_mems_allowed+0x1d/0x210 [ 21.681874][ C3] kernel_init_freeable+0x72/0x310 [ 21.682123][ C3] kernel_init+0x20/0x200 [ 21.682373][ C3] ret_from_fork+0x31/0x70 [ 21.682543][ C3] ret_from_fork_asm+0x1a/0x30 [ 21.682718][ C3] INITIAL USE at: [ 21.682820][ C3] __lock_acquire+0x797/0x1570 [ 21.682989][ C3] lock_acquire.part.0+0xeb/0x330 [ 21.683232][ C3] _raw_spin_lock+0x30/0x40 [ 21.683477][ C3] set_mems_allowed+0x1d/0x210 [ 21.683656][ C3] kernel_init_freeable+0x72/0x310 [ 21.683825][ C3] kernel_init+0x20/0x200 [ 21.684069][ C3] ret_from_fork+0x31/0x70 [ 21.684238][ C3] ret_from_fork_asm+0x1a/0x30 [ 21.684492][ C3] } [ 21.684562][ C3] ... key at: [] __key.388+0x0/0x40 [ 21.684767][ C3] ... acquired at: [ 21.684868][ C3] __lock_acquire+0xaf0/0x1570 [ 21.685006][ C3] lock_acquire.part.0+0xeb/0x330 [ 21.685138][ C3] _raw_spin_lock+0x30/0x40 [ 21.685272][ C3] __get_task_comm+0x27/0x70 [ 21.685573][ C3] ref_tracker_alloc+0x2ee/0x490 [ 21.685707][ C3] rt6_uncached_list_flush_dev+0x494/0x840 [ 21.685878][ C3] rt6_disable_ip+0xd9/0x140 [ 21.686022][ C3] addrconf_ifdown.isra.0+0x103/0x1560 [ 21.686158][ C3] addrconf_notify+0xd1/0xd60 [ 21.686291][ C3] notifier_call_chain+0xcd/0x150 [ 21.686426][ C3] dev_close_many+0x2d8/0x650 [ 21.686567][ C3] unregister_netdevice_many_notify+0x3d5/0x1190 [ 21.686822][ C3] rtnl_dellink+0x330/0xa30 [ 21.686965][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 21.687098][ C3] netlink_rcv_skb+0x130/0x360 [ 21.687243][ C3] netlink_unicast+0x449/0x710 [ 21.687462][ C3] netlink_sendmsg+0x723/0xbe0 [ 21.687599][ C3] __sys_sendto+0x37d/0x410 [ 21.687734][ C3] __x64_sys_sendto+0xe0/0x1c0 [ 21.687875][ C3] do_syscall_64+0xc6/0x1e0 [ 21.688010][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 21.688259][ C3] [ 21.688330][ C3] -> (&ul->lock){+.-.}-{2:2} { [ 21.688477][ C3] HARDIRQ-ON-W at: [ 21.688581][ C3] __lock_acquire+0x797/0x1570 [ 21.688838][ C3] lock_acquire.part.0+0xeb/0x330 [ 21.689007][ C3] _raw_spin_lock_bh+0x38/0x50 [ 21.689178][ C3] rt6_uncached_list_add+0x55/0x1b0 [ 21.689510][ C3] icmp6_dst_alloc+0x2c0/0x450 [ 21.689680][ C3] mld_sendpack+0x529/0xbc0 [ 21.689854][ C3] mld_ifc_work+0x32/0x1f0 [ 21.690023][ C3] process_one_work+0xe2c/0x1730 [ 21.690191][ C3] worker_thread+0x587/0xd30 [ 21.690355][ C3] kthread+0x28a/0x350 [ 21.690490][ C3] ret_from_fork+0x31/0x70 [ 21.690741][ C3] ret_from_fork_asm+0x1a/0x30 [ 21.690919][ C3] IN-SOFTIRQ-W at: [ 21.691018][ C3] __lock_acquire+0x797/0x1570 [ 21.691192][ C3] lock_acquire.part.0+0xeb/0x330 [ 21.691367][ C3] _raw_spin_lock_bh+0x38/0x50 [ 21.691619][ C3] rt6_uncached_list_del+0x77/0x200 [ 21.691785][ C3] ip6_dst_destroy+0x74/0x1e0 [ 21.691953][ C3] dst_destroy+0xbc/0x370 [ 21.692127][ C3] rcu_do_batch+0x3c0/0xfb0 [ 21.692300][ C3] rcu_core+0x2be/0x500 [ 21.692471][ C3] __do_softirq+0x1f8/0x5df [ 21.692723][ C3] irq_exit_rcu+0x97/0xc0 [ 21.692890][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 21.693104][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.693467][ C3] default_idle+0xf/0x20 [ 21.693634][ C3] default_idle_call+0x6d/0xb0 [ 21.693802][ C3] cpuidle_idle_call+0x1f4/0x280 [ 21.693971][ C3] do_idle+0xf9/0x160 [ 21.694108][ C3] cpu_startup_entry+0x54/0x60 [ 21.694370][ C3] start_secondary+0x21c/0x2b0 [ 21.694539][ C3] common_startup_64+0x12c/0x138 [ 21.694874][ C3] INITIAL USE at: [ 21.694977][ C3] __lock_acquire+0x797/0x1570 [ 21.695145][ C3] lock_acquire.part.0+0xeb/0x330 [ 21.695317][ C3] _raw_spin_lock_bh+0x38/0x50 [ 21.695494][ C3] rt6_uncached_list_add+0x55/0x1b0 [ 21.695750][ C3] icmp6_dst_alloc+0x2c0/0x450 [ 21.695921][ C3] mld_sendpack+0x529/0xbc0 [ 21.696086][ C3] mld_ifc_work+0x32/0x1f0 [ 21.696256][ C3] process_one_work+0xe2c/0x1730 [ 21.696430][ C3] worker_thread+0x587/0xd30 [ 21.696685][ C3] kthread+0x28a/0x350 [ 21.696822][ C3] ret_from_fork+0x31/0x70 [ 21.696988][ C3] ret_from_fork_asm+0x1a/0x30 [ 21.697157][ C3] } [ 21.697302][ C3] ... key at: [] __key.15+0x0/0x40 [ 21.697506][ C3] ... acquired at: [ 21.697613][ C3] mark_lock+0x28d/0x3e0 [ 21.697834][ C3] mark_usage+0xd9/0x2a0 [ 21.697967][ C3] __lock_acquire+0x797/0x1570 [ 21.698180][ C3] lock_acquire.part.0+0xeb/0x330 [ 21.698316][ C3] _raw_spin_lock_bh+0x38/0x50 [ 21.698452][ C3] rt6_uncached_list_del+0x77/0x200 [ 21.698581][ C3] ip6_dst_destroy+0x74/0x1e0 [ 21.698803][ C3] dst_destroy+0xbc/0x370 [ 21.698946][ C3] rcu_do_batch+0x3c0/0xfb0 [ 21.699087][ C3] rcu_core+0x2be/0x500 [ 21.699189][ C3] __do_softirq+0x1f8/0x5df [ 21.699322][ C3] irq_exit_rcu+0x97/0xc0 [ 21.699460][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 21.699706][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.699872][ C3] default_idle+0xf/0x20 [ 21.700004][ C3] default_idle_call+0x6d/0xb0 [ 21.700139][ C3] cpuidle_idle_call+0x1f4/0x280 [ 21.700361][ C3] do_idle+0xf9/0x160 [ 21.700463][ C3] cpu_startup_entry+0x54/0x60 [ 21.700596][ C3] start_secondary+0x21c/0x2b0 [ 21.700732][ C3] common_startup_64+0x12c/0x138 [ 21.700865][ C3] [ 21.700932][ C3] [ 21.700932][ C3] stack backtrace: [ 21.701095][ C3] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.9.0-rc1-virtme #1 [ 21.701370][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 21.701751][ C3] Call Trace: [ 21.701853][ C3] [ 21.701925][ C3] dump_stack_lvl+0x82/0xd0 [ 21.702065][ C3] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 21.702234][ C3] ? kernel_text_address+0x17/0xe0 [ 21.702370][ C3] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 21.702536][ C3] ? __pfx_usage_skip+0x10/0x10 [ 21.702672][ C3] ? __pfx_usage_match+0x10/0x10 [ 21.702809][ C3] ? arch_stack_walk+0x8c/0xf0 [ 21.702943][ C3] mark_lock_irq+0x4cd/0xa10 [ 21.703154][ C3] ? common_startup_64+0x12c/0x138 [ 21.703363][ C3] ? __pfx_mark_lock_irq+0x10/0x10 [ 21.703499][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 21.703641][ C3] ? save_trace+0x8f/0x5b0 [ 21.703783][ C3] mark_lock+0x28d/0x3e0 [ 21.703962][ C3] ? default_idle_call+0x6d/0xb0 [ 21.704104][ C3] mark_usage+0xd9/0x2a0 [ 21.704210][ C3] __lock_acquire+0x797/0x1570 [ 21.704346][ C3] lock_acquire.part.0+0xeb/0x330 [ 21.704563][ C3] ? rt6_uncached_list_del+0x77/0x200 [ 21.704700][ C3] ? __pfx___debug_check_no_obj_freed+0x10/0x10 [ 21.704871][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 21.705008][ C3] ? trace_lock_acquire+0x135/0x1c0 [ 21.705164][ C3] ? rt6_uncached_list_del+0x77/0x200 [ 21.705312][ C3] ? lock_acquire+0x32/0xc0 [ 21.705446][ C3] ? rt6_uncached_list_del+0x77/0x200 [ 21.705576][ C3] _raw_spin_lock_bh+0x38/0x50 [ 21.705712][ C3] ? rt6_uncached_list_del+0x77/0x200 [ 21.705924][ C3] rt6_uncached_list_del+0x77/0x200 [ 21.706061][ C3] ip6_dst_destroy+0x74/0x1e0 [ 21.706198][ C3] dst_destroy+0xbc/0x370 [ 21.706301][ C3] ? rcu_do_batch+0x3be/0xfb0 [ 21.706524][ C3] rcu_do_batch+0x3c0/0xfb0 [ 21.706660][ C3] ? __pfx___lock_release+0x10/0x10 [ 21.706794][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 21.706930][ C3] rcu_core+0x2be/0x500 [ 21.707036][ C3] __do_softirq+0x1f8/0x5df [ 21.707180][ C3] irq_exit_rcu+0x97/0xc0 [ 21.707280][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 21.707412][ C3] [ 21.707481][ C3] [ 21.707552][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.707728][ C3] RIP: 0010:default_idle+0xf/0x20 [ 21.707869][ C3] 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 [ 21.708514][ C3] RSP: 0018:ffffc9000016fdf8 EFLAGS: 00000246 [ 21.708693][ C3] RAX: 0000000000045abd RBX: 1ffff9200002dfc1 RCX: ffffffff9f332ea5 [ 21.708901][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9caac1d4 [ 21.709262][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ef709c [ 21.709471][ C3] R10: ffff88802f7b84e3 R11: 1ffff110003ac34c R12: 0000000000000000 [ 21.709670][ C3] R13: ffff888001b98040 R14: dffffc0000000000 R15: 0000000000000000 [ 21.709873][ C3] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 21.710005][ C3] ? cpuidle_idle_call+0x1f4/0x280 [ 21.710147][ C3] default_idle_call+0x6d/0xb0 [ 21.710364][ C3] cpuidle_idle_call+0x1f4/0x280 [ 21.710498][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 21.710633][ C3] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 21.710867][ C3] do_idle+0xf9/0x160 [ 21.710971][ C3] cpu_startup_entry+0x54/0x60 [ 21.711103][ C3] start_secondary+0x21c/0x2b0 [ 21.711237][ C3] ? __pfx_start_secondary+0x10/0x10 [ 21.711370][ C3] common_startup_64+0x12c/0x138 [ 21.711507][ C3] [ 21.754292][ T238] xdummy0: entered promiscuous mode [ 21.761876][ T238] xdummy0: left promiscuous mode [ 21.791747][ T244] xdummy0: entered promiscuous mode [ 21.803925][ T244] xdummy0: left promiscuous mode