[ 14.329936][ C3] [ 14.330164][ C3] ================================ [ 14.330492][ C3] WARNING: inconsistent lock state [ 14.330823][ C3] 6.15.0-rc7-virtme #1 Not tainted [ 14.331139][ C3] -------------------------------- [ 14.331460][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.331855][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.332181][ C3] ffffffffb95bff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.332573][ C3] {SOFTIRQ-ON-W} state was registered at: [ 14.332781][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.332997][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.333203][ C3] _raw_spin_lock+0x33/0x40 [ 14.333421][ C3] simple_pin_fs+0x24/0x150 [ 14.333628][ C3] start_creating.part.0+0x3f/0x2f0 [ 14.333839][ C3] debugfs_create_dir+0x6a/0x540 [ 14.334062][ C3] component_debug_init+0x17/0x30 [ 14.334275][ C3] do_one_initcall+0x8f/0x1e0 [ 14.334494][ C3] do_initcalls+0x176/0x280 [ 14.334700][ C3] kernel_init_freeable+0x22d/0x300 [ 14.334906][ C3] kernel_init+0x20/0x200 [ 14.335119][ C3] ret_from_fork+0x31/0x70 [ 14.335335][ C3] ret_from_fork_asm+0x1a/0x30 [ 14.335547][ C3] irq event stamp: 219746 [ 14.335705][ C3] hardirqs last enabled at (219746): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.336127][ C3] hardirqs last disabled at (219745): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.336549][ C3] softirqs last enabled at (219676): [] handle_softirqs+0x358/0x620 [ 14.336915][ C3] softirqs last disabled at (219695): [] __irq_exit_rcu+0xfa/0x160 [ 14.337281][ C3] [ 14.337281][ C3] other info that might help us debug this: [ 14.337586][ C3] Possible unsafe locking scenario: [ 14.337586][ C3] [ 14.337887][ C3] CPU0 [ 14.338037][ C3] ---- [ 14.338187][ C3] lock(pin_fs_lock); [ 14.338348][ C3] [ 14.338510][ C3] lock(pin_fs_lock); [ 14.338668][ C3] [ 14.338668][ C3] *** DEADLOCK *** [ 14.338668][ C3] [ 14.338980][ C3] 1 lock held by swapper/3/0: [ 14.339197][ C3] #0: ffffffffb93749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.339651][ C3] [ 14.339651][ C3] stack backtrace: [ 14.340022][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 14.340028][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.340030][ C3] Call Trace: [ 14.340032][ C3] [ 14.340036][ C3] dump_stack_lvl+0x82/0xd0 [ 14.340045][ C3] print_usage_bug.part.0+0x25f/0x360 [ 14.340051][ C3] mark_lock_irq+0x343/0x400 [ 14.340056][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.340061][ C3] ? save_trace+0x52/0x170 [ 14.340067][ C3] mark_lock+0x174/0x2f0 [ 14.340070][ C3] mark_usage+0x46/0x150 [ 14.340073][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.340078][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.340081][ C3] ? simple_pin_fs+0x24/0x150 [ 14.340086][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.340089][ C3] ? lock_acquire+0x10c/0x170 [ 14.340092][ C3] ? simple_pin_fs+0x24/0x150 [ 14.340095][ C3] _raw_spin_lock+0x33/0x40 [ 14.340099][ C3] ? simple_pin_fs+0x24/0x150 [ 14.340102][ C3] simple_pin_fs+0x24/0x150 [ 14.340105][ C3] debugfs_remove+0x35/0x70 [ 14.340110][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.340115][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.340119][ C3] ? __sk_destruct+0x383/0x780 [ 14.340123][ C3] ? rcu_do_batch+0x34f/0xf20 [ 14.340129][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.340132][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.340135][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.340139][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.340143][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.340146][ C3] ? default_idle+0x9/0x10 [ 14.340149][ C3] ? default_idle_call+0x6d/0xb0 [ 14.340151][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.340154][ C3] ? do_idle+0xf6/0x160 [ 14.340156][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.340159][ C3] ? start_secondary+0x213/0x2a0 [ 14.340162][ C3] ? common_startup_64+0x13e/0x148 [ 14.340169][ C3] __put_net+0x19/0x60 [ 14.340173][ C3] __sk_destruct+0x58a/0x780 [ 14.340177][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.340180][ C3] rcu_do_batch+0x34f/0xf20 [ 14.340185][ C3] ? find_held_lock+0x2b/0x80 [ 14.340189][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.340193][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.340197][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.340200][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.340205][ C3] rcu_core+0x2bb/0x500 [ 14.340208][ C3] handle_softirqs+0x218/0x620 [ 14.340213][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.340216][ C3] irq_exit_rcu+0xe/0x30 [ 14.340219][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.340222][ C3] [ 14.340223][ C3] [ 14.340225][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.340227][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.340232][ C3] Code: 50 b7 00 e9 c3 57 02 00 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 c3 45 12 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.340235][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.340238][ C3] RAX: 0000000000035a2d RBX: 1ffff9200002afc1 RCX: ffffffffb836ea19 [ 14.340240][ C3] RDX: 0000000000000000 RSI: ffffffffb8e89a45 RDI: ffffffffb86513a0 [ 14.340242][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 14.340244][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.340245][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.340249][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.340255][ C3] default_idle+0x9/0x10 [ 14.340257][ C3] default_idle_call+0x6d/0xb0 [ 14.340259][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.340262][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.340266][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.340270][ C3] do_idle+0xf6/0x160 [ 14.340274][ C3] cpu_startup_entry+0x54/0x60 [ 14.340277][ C3] start_secondary+0x213/0x2a0 [ 14.340279][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.340284][ C3] common_startup_64+0x13e/0x148 [ 14.340291][ C3] [ 14.357269][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.357639][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 14.358185][ C3] preempt_count: 101, expected: 0 [ 14.358394][ C3] RCU nest depth: 0, expected: 0 [ 14.358607][ C3] INFO: lockdep is turned off. [ 14.359019][ C3] Preemption disabled at: [ 14.359022][ C3] [<0000000000000000>] 0x0 [ 14.359435][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 14.359441][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.359443][ C3] Call Trace: [ 14.359445][ C3] [ 14.359448][ C3] dump_stack_lvl+0xb0/0xd0 [ 14.359457][ C3] __might_resched+0x360/0x5a0 [ 14.359464][ C3] down_write+0x72/0x210 [ 14.359468][ C3] ? __pfx_down_write+0x10/0x10 [ 14.359471][ C3] ? simple_recursive_removal+0x3a/0x860 [ 14.359476][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.359480][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.359485][ C3] simple_recursive_removal+0x166/0x860 [ 14.359488][ C3] ? __pfx_remove_one+0x10/0x10 [ 14.359493][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.359498][ C3] debugfs_remove+0x44/0x70 [ 14.359501][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.359507][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.359510][ C3] ? __sk_destruct+0x383/0x780 [ 14.359515][ C3] ? rcu_do_batch+0x34f/0xf20 [ 14.359520][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.359524][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.359528][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.359532][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.359536][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.359539][ C3] ? default_idle+0x9/0x10 [ 14.359541][ C3] ? default_idle_call+0x6d/0xb0 [ 14.359544][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.359547][ C3] ? do_idle+0xf6/0x160 [ 14.359549][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.359551][ C3] ? start_secondary+0x213/0x2a0 [ 14.359555][ C3] ? common_startup_64+0x13e/0x148 [ 14.359561][ C3] __put_net+0x19/0x60 [ 14.359565][ C3] __sk_destruct+0x58a/0x780 [ 14.359569][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.359572][ C3] rcu_do_batch+0x34f/0xf20 [ 14.359576][ C3] ? find_held_lock+0x2b/0x80 [ 14.359582][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.359586][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.359591][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.359594][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.359599][ C3] rcu_core+0x2bb/0x500 [ 14.359603][ C3] handle_softirqs+0x218/0x620 [ 14.359608][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.359611][ C3] irq_exit_rcu+0xe/0x30 [ 14.359614][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.359617][ C3] [ 14.359618][ C3] [ 14.359620][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.359623][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.359627][ C3] Code: 50 b7 00 e9 c3 57 02 00 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 c3 45 12 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.359630][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.359634][ C3] RAX: 0000000000035a2d RBX: 1ffff9200002afc1 RCX: ffffffffb836ea19 [ 14.359636][ C3] RDX: 0000000000000000 RSI: ffffffffb8e89a45 RDI: ffffffffb86513a0 [ 14.359638][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 14.359640][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.359641][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.359645][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.359651][ C3] default_idle+0x9/0x10 [ 14.359653][ C3] default_idle_call+0x6d/0xb0 [ 14.359656][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.359658][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.359662][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.359667][ C3] do_idle+0xf6/0x160 [ 14.359670][ C3] cpu_startup_entry+0x54/0x60 [ 14.359673][ C3] start_secondary+0x213/0x2a0 [ 14.359675][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.359680][ C3] common_startup_64+0x13e/0x148 [ 14.359687][ C3]