[ 11.994900][ T228] ip (228) used greatest stack depth: 24840 bytes left [ 14.154234][ C3] [ 14.154446][ C3] ================================ [ 14.154649][ C3] WARNING: inconsistent lock state [ 14.154845][ C3] 6.15.0-rc5-virtme #1 Not tainted [ 14.155033][ C3] -------------------------------- [ 14.155222][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.155447][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.155680][ C3] ffffffff8e3bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.156028][ C3] {SOFTIRQ-ON-W} state was registered at: [ 14.156214][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.156407][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.156593][ C3] _raw_spin_lock+0x33/0x40 [ 14.156790][ C3] simple_pin_fs+0x24/0x150 [ 14.156983][ C3] start_creating.part.0+0x3f/0x2f0 [ 14.157173][ C3] debugfs_create_dir+0x6a/0x540 [ 14.157355][ C3] component_debug_init+0x17/0x30 [ 14.157539][ C3] do_one_initcall+0x8c/0x1e0 [ 14.157722][ C3] do_initcalls+0x176/0x280 [ 14.157907][ C3] kernel_init_freeable+0x22d/0x300 [ 14.158084][ C3] kernel_init+0x20/0x200 [ 14.158266][ C3] ret_from_fork+0x31/0x70 [ 14.158453][ C3] ret_from_fork_asm+0x1a/0x30 [ 14.158632][ C3] irq event stamp: 228382 [ 14.158770][ C3] hardirqs last enabled at (228382): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.159127][ C3] hardirqs last disabled at (228381): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.159489][ C3] softirqs last enabled at (227820): [] handle_softirqs+0x358/0x620 [ 14.159807][ C3] softirqs last disabled at (227863): [] __irq_exit_rcu+0xfa/0x160 [ 14.160126][ C3] [ 14.160126][ C3] other info that might help us debug this: [ 14.160396][ C3] Possible unsafe locking scenario: [ 14.160396][ C3] [ 14.160660][ C3] CPU0 [ 14.160797][ C3] ---- [ 14.160935][ C3] lock(pin_fs_lock); [ 14.161074][ C3] [ 14.161207][ C3] lock(pin_fs_lock); [ 14.161345][ C3] [ 14.161345][ C3] *** DEADLOCK *** [ 14.161345][ C3] [ 14.161614][ C3] 1 lock held by swapper/3/0: [ 14.161795][ C3] #0: ffffffff8e174480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.162121][ C3] [ 14.162121][ C3] stack backtrace: [ 14.162346][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.162351][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.162353][ C3] Call Trace: [ 14.162355][ C3] [ 14.162357][ C3] dump_stack_lvl+0x82/0xd0 [ 14.162365][ C3] print_usage_bug.part.0+0x25f/0x360 [ 14.162370][ C3] mark_lock_irq+0x343/0x400 [ 14.162375][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.162382][ C3] ? save_trace+0x52/0x170 [ 14.162386][ C3] mark_lock+0x174/0x2f0 [ 14.162390][ C3] mark_usage+0x46/0x150 [ 14.162394][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.162399][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.162403][ C3] ? simple_pin_fs+0x24/0x150 [ 14.162407][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.162414][ C3] ? lock_acquire+0x10c/0x170 [ 14.162417][ C3] ? simple_pin_fs+0x24/0x150 [ 14.162421][ C3] _raw_spin_lock+0x33/0x40 [ 14.162424][ C3] ? simple_pin_fs+0x24/0x150 [ 14.162427][ C3] simple_pin_fs+0x24/0x150 [ 14.162431][ C3] debugfs_remove+0x35/0x70 [ 14.162434][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.162440][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.162443][ C3] ? __sk_destruct+0x383/0x780 [ 14.162451][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.162454][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.162457][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.162459][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.162465][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.162469][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.162472][ C3] ? default_idle+0x9/0x10 [ 14.162474][ C3] ? default_idle_call+0x6d/0xb0 [ 14.162476][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.162480][ C3] ? do_idle+0xf6/0x160 [ 14.162483][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.162486][ C3] ? start_secondary+0x213/0x2a0 [ 14.162491][ C3] ? common_startup_64+0x13e/0x148 [ 14.162498][ C3] __put_net+0x19/0x60 [ 14.162502][ C3] __sk_destruct+0x58a/0x780 [ 14.162506][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.162509][ C3] rcu_do_batch+0x34c/0xf20 [ 14.162513][ C3] ? find_held_lock+0x2b/0x80 [ 14.162517][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.162520][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.162524][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.162527][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.162532][ C3] rcu_core+0x2bb/0x500 [ 14.162535][ C3] handle_softirqs+0x218/0x620 [ 14.162539][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.162542][ C3] irq_exit_rcu+0xe/0x30 [ 14.162544][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.162547][ C3] [ 14.162548][ C3] [ 14.162550][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.162553][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.162557][ C3] Code: b0 b8 00 c3 cc cc cc cc 0f 1f 00 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 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 14.162561][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 14.162564][ C3] RAX: 0000000000037a15 RBX: 1ffff9200002afc1 RCX: ffffffff8d155a19 [ 14.162566][ C3] RDX: 0000000000000000 RSI: ffffffff8dc85f31 RDI: ffffffff8d450ce0 [ 14.162568][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 14.162570][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.162571][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.162575][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.162581][ C3] default_idle+0x9/0x10 [ 14.162583][ C3] default_idle_call+0x6d/0xb0 [ 14.162585][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.162589][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.162593][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.162598][ C3] do_idle+0xf6/0x160 [ 14.162601][ C3] cpu_startup_entry+0x54/0x60 [ 14.162605][ C3] start_secondary+0x213/0x2a0 [ 14.162608][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.162613][ C3] common_startup_64+0x13e/0x148 [ 14.162620][ C3] [ 14.176821][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.177119][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 14.177407][ C3] preempt_count: 101, expected: 0 [ 14.177576][ C3] RCU nest depth: 0, expected: 0 [ 14.177759][ C3] INFO: lockdep is turned off. [ 14.177929][ C3] Preemption disabled at: [ 14.177930][ C3] [<0000000000000000>] 0x0 [ 14.178226][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.178231][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.178233][ C3] Call Trace: [ 14.178234][ C3] [ 14.178236][ C3] dump_stack_lvl+0xb0/0xd0 [ 14.178243][ C3] __might_resched+0x360/0x5a0 [ 14.178249][ C3] down_write+0x72/0x210 [ 14.178253][ C3] ? __pfx_down_write+0x10/0x10 [ 14.178255][ C3] ? simple_recursive_removal+0x3a/0x860 [ 14.178260][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.178265][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.178270][ C3] simple_recursive_removal+0x166/0x860 [ 14.178273][ C3] ? __pfx_remove_one+0x10/0x10 [ 14.178277][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.178281][ C3] debugfs_remove+0x44/0x70 [ 14.178284][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.178289][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.178292][ C3] ? __sk_destruct+0x383/0x780 [ 14.178297][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.178301][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.178304][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.178308][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.178312][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.178315][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.178318][ C3] ? default_idle+0x9/0x10 [ 14.178320][ C3] ? default_idle_call+0x6d/0xb0 [ 14.178323][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.178327][ C3] ? do_idle+0xf6/0x160 [ 14.178330][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.178333][ C3] ? start_secondary+0x213/0x2a0 [ 14.178338][ C3] ? common_startup_64+0x13e/0x148 [ 14.178344][ C3] __put_net+0x19/0x60 [ 14.178347][ C3] __sk_destruct+0x58a/0x780 [ 14.178350][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.178353][ C3] rcu_do_batch+0x34c/0xf20 [ 14.178357][ C3] ? find_held_lock+0x2b/0x80 [ 14.178361][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.178365][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.178369][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.178373][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.178377][ C3] rcu_core+0x2bb/0x500 [ 14.178381][ C3] handle_softirqs+0x218/0x620 [ 14.178385][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.178388][ C3] irq_exit_rcu+0xe/0x30 [ 14.178390][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.178393][ C3] [ 14.178394][ C3] [ 14.178396][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.178399][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.178402][ C3] Code: b0 b8 00 c3 cc cc cc cc 0f 1f 00 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 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 14.178404][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 14.178407][ C3] RAX: 0000000000037a15 RBX: 1ffff9200002afc1 RCX: ffffffff8d155a19 [ 14.178409][ C3] RDX: 0000000000000000 RSI: ffffffff8dc85f31 RDI: ffffffff8d450ce0 [ 14.178411][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 14.178413][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.178415][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.178418][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.178424][ C3] default_idle+0x9/0x10 [ 14.178426][ C3] default_idle_call+0x6d/0xb0 [ 14.178428][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.178432][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.178436][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.178441][ C3] do_idle+0xf6/0x160 [ 14.178445][ C3] cpu_startup_entry+0x54/0x60 [ 14.178448][ C3] start_secondary+0x213/0x2a0 [ 14.178452][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.178457][ C3] common_startup_64+0x13e/0x148 [ 14.178464][ C3] [ 15.774886][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.775246][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 15.775571][ C1] preempt_count: 101, expected: 0 [ 15.775766][ C1] RCU nest depth: 0, expected: 0 [ 15.775956][ C1] INFO: lockdep is turned off. [ 15.776137][ C1] Preemption disabled at: [ 15.776139][ C1] [<0000000000000000>] 0x0 [ 15.776501][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G W 6.15.0-rc5-virtme #1 PREEMPT(full) [ 15.776507][ C1] Tainted: [W]=WARN [ 15.776508][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.776510][ C1] Call Trace: [ 15.776513][ C1] [ 15.776515][ C1] dump_stack_lvl+0xb0/0xd0 [ 15.776527][ C1] __might_resched+0x360/0x5a0 [ 15.776535][ C1] down_write+0x72/0x210 [ 15.776540][ C1] ? __pfx_down_write+0x10/0x10 [ 15.776543][ C1] ? simple_recursive_removal+0x3a/0x860 [ 15.776549][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.776558][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 15.776564][ C1] simple_recursive_removal+0x166/0x860 [ 15.776567][ C1] ? __pfx_remove_one+0x10/0x10 [ 15.776572][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 15.776576][ C1] debugfs_remove+0x44/0x70 [ 15.776579][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 15.776586][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.776589][ C1] ? __sk_destruct+0x383/0x780 [ 15.776596][ C1] ? rcu_do_batch+0x34c/0xf20 [ 15.776602][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.776605][ C1] ? irq_exit_rcu+0xe/0x30 [ 15.776610][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.776616][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.776621][ C1] ? pv_native_safe_halt+0xf/0x20 [ 15.776624][ C1] ? default_idle+0x9/0x10 [ 15.776626][ C1] ? default_idle_call+0x6d/0xb0 [ 15.776629][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.776635][ C1] ? do_idle+0xf6/0x160 [ 15.776638][ C1] ? cpu_startup_entry+0x54/0x60 [ 15.776641][ C1] ? start_secondary+0x213/0x2a0 [ 15.776648][ C1] ? common_startup_64+0x13e/0x148 [ 15.776654][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 15.776658][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.776663][ C1] __put_net+0x19/0x60 [ 15.776666][ C1] __sk_destruct+0x58a/0x780 [ 15.776670][ C1] ? rcu_do_batch+0x34a/0xf20 [ 15.776673][ C1] rcu_do_batch+0x34c/0xf20 [ 15.776678][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.776682][ C1] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 15.776687][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.776693][ C1] rcu_core+0x2bb/0x500 [ 15.776697][ C1] handle_softirqs+0x218/0x620 [ 15.776702][ C1] __irq_exit_rcu+0xfa/0x160 [ 15.776704][ C1] irq_exit_rcu+0xe/0x30 [ 15.776706][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.776709][ C1] [ 15.776710][ C1] [ 15.776712][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.776715][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.776719][ C1] Code: b0 b8 00 c3 cc cc cc cc 0f 1f 00 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 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.776721][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246 [ 15.776725][ C1] RAX: 0000000000000001 RBX: 1ffff92000026fc1 RCX: ffffffff8d155a19 [ 15.776727][ C1] RDX: ffffed1006c1667b RSI: ffffffff8d450c60 RDI: ffffffff8a984d8f [ 15.776729][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c1667a [ 15.776731][ C1] R10: ffff8880360b33d3 R11: ffff888008fa0558 R12: 0000000000000000 [ 15.776733][ C1] R13: ffff888001bb0040 R14: dffffc0000000000 R15: 0000000000000000 [ 15.776737][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.776741][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.776745][ C1] default_idle+0x9/0x10 [ 15.776747][ C1] default_idle_call+0x6d/0xb0 [ 15.776753][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 15.776756][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.776760][ C1] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.776765][ C1] do_idle+0xf6/0x160 [ 15.776769][ C1] cpu_startup_entry+0x54/0x60 [ 15.776773][ C1] start_secondary+0x213/0x2a0 [ 15.776776][ C1] ? __pfx_start_secondary+0x10/0x10 [ 15.776781][ C1] common_startup_64+0x13e/0x148 [ 15.776788][ C1]