[ 15.108808][ C1] [ 15.108956][ C1] ================================ [ 15.109148][ C1] WARNING: inconsistent lock state [ 15.109337][ C1] 6.15.0-virtme #1 Not tainted [ 15.109528][ C1] -------------------------------- [ 15.109713][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.109944][ C1] swapper/1/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.110174][ C1] ffffffff8f9c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.110509][ C1] {SOFTIRQ-ON-W} state was registered at: [ 15.110696][ C1] __lock_acquire+0x20b/0x7e0 [ 15.110889][ C1] lock_acquire.part.0+0xb6/0x240 [ 15.111077][ C1] _raw_spin_lock+0x33/0x40 [ 15.111267][ C1] simple_pin_fs+0x24/0x150 [ 15.111457][ C1] start_creating.part.0+0x52/0x310 [ 15.111643][ C1] debugfs_create_dir+0x6a/0x540 [ 15.111829][ C1] component_debug_init+0x17/0x30 [ 15.112017][ C1] do_one_initcall+0x8f/0x1e0 [ 15.112205][ C1] do_initcalls+0x176/0x280 [ 15.112391][ C1] kernel_init_freeable+0x22d/0x300 [ 15.112581][ C1] kernel_init+0x20/0x200 [ 15.112767][ C1] ret_from_fork+0x240/0x320 [ 15.112954][ C1] ret_from_fork_asm+0x1a/0x30 [ 15.113141][ C1] irq event stamp: 517414 [ 15.113283][ C1] hardirqs last enabled at (517414): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.113656][ C1] hardirqs last disabled at (517413): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.114031][ C1] softirqs last enabled at (516842): [] handle_softirqs+0x358/0x620 [ 15.114366][ C1] softirqs last disabled at (516891): [] __irq_exit_rcu+0xfa/0x160 [ 15.114692][ C1] [ 15.114692][ C1] other info that might help us debug this: [ 15.114970][ C1] Possible unsafe locking scenario: [ 15.114970][ C1] [ 15.115241][ C1] CPU0 [ 15.115379][ C1] ---- [ 15.115519][ C1] lock(pin_fs_lock); [ 15.115665][ C1] [ 15.115803][ C1] lock(pin_fs_lock); [ 15.115945][ C1] [ 15.115945][ C1] *** DEADLOCK *** [ 15.115945][ C1] [ 15.116222][ C1] 1 lock held by swapper/1/0: [ 15.116413][ C1] #0: ffffffff8f7774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.116759][ C1] [ 15.116759][ C1] stack backtrace: [ 15.116992][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.116997][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.116999][ C1] Call Trace: [ 15.117000][ C1] [ 15.117003][ C1] dump_stack_lvl+0x82/0xd0 [ 15.117009][ C1] print_usage_bug.part.0+0x25f/0x360 [ 15.117013][ C1] mark_lock_irq+0x343/0x400 [ 15.117017][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.117022][ C1] ? save_trace+0x52/0x170 [ 15.117028][ C1] mark_lock+0x174/0x2f0 [ 15.117032][ C1] mark_usage+0x46/0x150 [ 15.117035][ C1] __lock_acquire+0x20b/0x7e0 [ 15.117038][ C1] ? __lock_acquire+0x44d/0x7e0 [ 15.117042][ C1] lock_acquire.part.0+0xb6/0x240 [ 15.117045][ C1] ? simple_pin_fs+0x24/0x150 [ 15.117049][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.117053][ C1] ? lock_acquire+0x10c/0x170 [ 15.117056][ C1] ? simple_pin_fs+0x24/0x150 [ 15.117060][ C1] _raw_spin_lock+0x33/0x40 [ 15.117064][ C1] ? simple_pin_fs+0x24/0x150 [ 15.117067][ C1] simple_pin_fs+0x24/0x150 [ 15.117071][ C1] debugfs_remove+0x35/0x70 [ 15.117074][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 15.117080][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.117083][ C1] ? __sk_destruct+0x383/0x780 [ 15.117090][ C1] ? rcu_do_batch+0x34c/0xf20 [ 15.117092][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.117096][ C1] ? irq_exit_rcu+0xe/0x30 [ 15.117099][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.117104][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.117107][ C1] ? pv_native_safe_halt+0xf/0x20 [ 15.117111][ C1] ? default_idle+0x9/0x10 [ 15.117113][ C1] ? default_idle_call+0x6d/0xb0 [ 15.117116][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.117119][ C1] ? do_idle+0xf6/0x160 [ 15.117122][ C1] ? cpu_startup_entry+0x54/0x60 [ 15.117124][ C1] ? start_secondary+0x213/0x2a0 [ 15.117128][ C1] ? common_startup_64+0x13e/0x148 [ 15.117135][ C1] __put_net+0x19/0x60 [ 15.117139][ C1] __sk_destruct+0x58a/0x780 [ 15.117143][ C1] ? rcu_do_batch+0x34a/0xf20 [ 15.117146][ C1] rcu_do_batch+0x34c/0xf20 [ 15.117149][ C1] ? find_held_lock+0x2b/0x80 [ 15.117153][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.117156][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.117160][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.117163][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.117168][ C1] rcu_core+0x2bb/0x500 [ 15.117172][ C1] handle_softirqs+0x218/0x620 [ 15.117177][ C1] __irq_exit_rcu+0xfa/0x160 [ 15.117180][ C1] irq_exit_rcu+0xe/0x30 [ 15.117183][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.117187][ C1] [ 15.117188][ C1] [ 15.117189][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.117192][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.117196][ C1] Code: 92 b5 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 83 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.117199][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000242 [ 15.117202][ C1] RAX: 000000000007e319 RBX: 1ffff92000026fc1 RCX: ffffffff8e7905d9 [ 15.117204][ C1] RDX: 0000000000000000 RSI: ffffffff8f28f4e4 RDI: ffffffff8ea53be0 [ 15.117206][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c166fa [ 15.117207][ C1] R10: ffff8880360b37d3 R11: ffffffff8f411288 R12: 0000000000000000 [ 15.117209][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 15.117213][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.117218][ C1] default_idle+0x9/0x10 [ 15.117220][ C1] default_idle_call+0x6d/0xb0 [ 15.117223][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 15.117226][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.117230][ C1] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.117234][ C1] do_idle+0xf6/0x160 [ 15.117237][ C1] cpu_startup_entry+0x54/0x60 [ 15.117240][ C1] start_secondary+0x213/0x2a0 [ 15.117243][ C1] ? __pfx_start_secondary+0x10/0x10 [ 15.117248][ C1] common_startup_64+0x13e/0x148 [ 15.117255][ C1] [ 15.132209][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.132521][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 15.132822][ C1] preempt_count: 101, expected: 0 [ 15.132992][ C1] RCU nest depth: 0, expected: 0 [ 15.133166][ C1] INFO: lockdep is turned off. [ 15.133350][ C1] Preemption disabled at: [ 15.133352][ C1] [<0000000000000000>] 0x0 [ 15.133653][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.133657][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.133659][ C1] Call Trace: [ 15.133661][ C1] [ 15.133663][ C1] dump_stack_lvl+0xb0/0xd0 [ 15.133669][ C1] __might_resched+0x360/0x5a0 [ 15.133675][ C1] down_write+0x72/0x210 [ 15.133680][ C1] ? __pfx_down_write+0x10/0x10 [ 15.133683][ C1] ? simple_recursive_removal+0x33/0x610 [ 15.133687][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.133691][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 15.133697][ C1] simple_recursive_removal+0x6a/0x610 [ 15.133700][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 15.133703][ C1] ? __pfx_remove_one+0x10/0x10 [ 15.133708][ C1] debugfs_remove+0x44/0x70 [ 15.133711][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 15.133716][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.133719][ C1] ? __sk_destruct+0x383/0x780 [ 15.133724][ C1] ? rcu_do_batch+0x34c/0xf20 [ 15.133727][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.133730][ C1] ? irq_exit_rcu+0xe/0x30 [ 15.133734][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.133739][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.133742][ C1] ? pv_native_safe_halt+0xf/0x20 [ 15.133746][ C1] ? default_idle+0x9/0x10 [ 15.133748][ C1] ? default_idle_call+0x6d/0xb0 [ 15.133751][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.133754][ C1] ? do_idle+0xf6/0x160 [ 15.133756][ C1] ? cpu_startup_entry+0x54/0x60 [ 15.133759][ C1] ? start_secondary+0x213/0x2a0 [ 15.133762][ C1] ? common_startup_64+0x13e/0x148 [ 15.133769][ C1] __put_net+0x19/0x60 [ 15.133773][ C1] __sk_destruct+0x58a/0x780 [ 15.133777][ C1] ? rcu_do_batch+0x34a/0xf20 [ 15.133779][ C1] rcu_do_batch+0x34c/0xf20 [ 15.133783][ C1] ? find_held_lock+0x2b/0x80 [ 15.133789][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.133792][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.133797][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.133800][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.133804][ C1] rcu_core+0x2bb/0x500 [ 15.133809][ C1] handle_softirqs+0x218/0x620 [ 15.133814][ C1] __irq_exit_rcu+0xfa/0x160 [ 15.133817][ C1] irq_exit_rcu+0xe/0x30 [ 15.133819][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.133823][ C1] [ 15.133824][ C1] [ 15.133826][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.133829][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.133833][ C1] Code: 92 b5 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 83 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.133835][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000242 [ 15.133838][ C1] RAX: 000000000007e319 RBX: 1ffff92000026fc1 RCX: ffffffff8e7905d9 [ 15.133840][ C1] RDX: 0000000000000000 RSI: ffffffff8f28f4e4 RDI: ffffffff8ea53be0 [ 15.133842][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c166fa [ 15.133843][ C1] R10: ffff8880360b37d3 R11: ffffffff8f411288 R12: 0000000000000000 [ 15.133845][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 15.133849][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.133854][ C1] default_idle+0x9/0x10 [ 15.133856][ C1] default_idle_call+0x6d/0xb0 [ 15.133859][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 15.133862][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.133866][ C1] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.133870][ C1] do_idle+0xf6/0x160 [ 15.133873][ C1] cpu_startup_entry+0x54/0x60 [ 15.133876][ C1] start_secondary+0x213/0x2a0 [ 15.133879][ C1] ? __pfx_start_secondary+0x10/0x10 [ 15.133883][ C1] common_startup_64+0x13e/0x148 [ 15.133890][ C1] [ 16.798591][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.799001][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.799304][ C3] preempt_count: 101, expected: 0 [ 16.799486][ C3] RCU nest depth: 0, expected: 0 [ 16.799659][ C3] INFO: lockdep is turned off. [ 16.799832][ C3] Preemption disabled at: [ 16.799834][ C3] [<0000000000000000>] 0x0 [ 16.800144][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.800150][ C3] Tainted: [W]=WARN [ 16.800151][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.800153][ C3] Call Trace: [ 16.800155][ C3] [ 16.800157][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.800167][ C3] __might_resched+0x360/0x5a0 [ 16.800174][ C3] down_write+0x72/0x210 [ 16.800178][ C3] ? __pfx_down_write+0x10/0x10 [ 16.800181][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.800185][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.800190][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.800197][ C3] simple_recursive_removal+0x6a/0x610 [ 16.800200][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.800203][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.800209][ C3] debugfs_remove+0x44/0x70 [ 16.800212][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.800217][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.800221][ C3] ? __sk_destruct+0x383/0x780 [ 16.800226][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.800229][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.800233][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.800237][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.800243][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.800247][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.800250][ C3] ? default_idle+0x9/0x10 [ 16.800253][ C3] ? default_idle_call+0x6d/0xb0 [ 16.800255][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.800259][ C3] ? do_idle+0xf6/0x160 [ 16.800261][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.800263][ C3] ? start_secondary+0x213/0x2a0 [ 16.800267][ C3] ? common_startup_64+0x13e/0x148 [ 16.800272][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.800276][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.800281][ C3] __put_net+0x19/0x60 [ 16.800284][ C3] __sk_destruct+0x58a/0x780 [ 16.800288][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.800291][ C3] rcu_do_batch+0x34c/0xf20 [ 16.800296][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.800299][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.800309][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.800315][ C3] rcu_core+0x2bb/0x500 [ 16.800319][ C3] handle_softirqs+0x218/0x620 [ 16.800324][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.800327][ C3] irq_exit_rcu+0xe/0x30 [ 16.800330][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.800334][ C3] [ 16.800335][ C3] [ 16.800336][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.800339][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.800344][ C3] Code: 92 b5 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 83 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 16.800346][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.800350][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffff8e7905d9 [ 16.800352][ C3] RDX: ffffed1006c366fb RSI: ffffffff8ea53b60 RDI: ffffffff8bf8d18f [ 16.800354][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 16.800356][ C3] R10: ffff8880361b37d3 R11: ffff888001ef8558 R12: 0000000000000000 [ 16.800358][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.800362][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.800365][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.800369][ C3] default_idle+0x9/0x10 [ 16.800371][ C3] default_idle_call+0x6d/0xb0 [ 16.800374][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.800377][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.800381][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.800385][ C3] do_idle+0xf6/0x160 [ 16.800388][ C3] cpu_startup_entry+0x54/0x60 [ 16.800391][ C3] start_secondary+0x213/0x2a0 [ 16.800394][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.800398][ C3] common_startup_64+0x13e/0x148 [ 16.800406][ C3]