[ 15.457437][ C0] [ 15.457591][ C0] ================================ [ 15.457797][ C0] WARNING: inconsistent lock state [ 15.458004][ C0] 6.15.0-virtme #1 Not tainted [ 15.458206][ C0] -------------------------------- [ 15.458405][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.458654][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.458912][ C0] ffffffff881c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.459273][ C0] {SOFTIRQ-ON-W} state was registered at: [ 15.459471][ C0] __lock_acquire+0x20b/0x7e0 [ 15.459678][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.459877][ C0] _raw_spin_lock+0x33/0x40 [ 15.460079][ C0] simple_pin_fs+0x24/0x150 [ 15.460282][ C0] start_creating.part.0+0x52/0x310 [ 15.460484][ C0] debugfs_create_dir+0x6a/0x540 [ 15.460682][ C0] component_debug_init+0x17/0x30 [ 15.460884][ C0] do_one_initcall+0x8f/0x1e0 [ 15.461087][ C0] do_initcalls+0x176/0x280 [ 15.461285][ C0] kernel_init_freeable+0x22d/0x300 [ 15.461512][ C0] kernel_init+0x20/0x200 [ 15.461711][ C0] ret_from_fork+0x240/0x320 [ 15.461912][ C0] ret_from_fork_asm+0x1a/0x30 [ 15.462112][ C0] irq event stamp: 438728 [ 15.462279][ C0] hardirqs last enabled at (438728): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.462693][ C0] hardirqs last disabled at (438727): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.463088][ C0] softirqs last enabled at (436552): [] handle_softirqs+0x358/0x620 [ 15.463463][ C0] softirqs last disabled at (436571): [] __irq_exit_rcu+0xfa/0x160 [ 15.463830][ C0] [ 15.463830][ C0] other info that might help us debug this: [ 15.464128][ C0] Possible unsafe locking scenario: [ 15.464128][ C0] [ 15.464424][ C0] CPU0 [ 15.464576][ C0] ---- [ 15.464727][ C0] lock(pin_fs_lock); [ 15.464894][ C0] [ 15.465041][ C0] lock(pin_fs_lock); [ 15.465190][ C0] [ 15.465190][ C0] *** DEADLOCK *** [ 15.465190][ C0] [ 15.465480][ C0] 1 lock held by swapper/0/0: [ 15.465681][ C0] #0: ffffffff87f774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.466038][ C0] [ 15.466038][ C0] stack backtrace: [ 15.466282][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.466286][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.466288][ C0] Call Trace: [ 15.466290][ C0] [ 15.466292][ C0] dump_stack_lvl+0x82/0xd0 [ 15.466297][ C0] print_usage_bug.part.0+0x25f/0x360 [ 15.466302][ C0] mark_lock_irq+0x343/0x400 [ 15.466305][ C0] ? is_bpf_text_address+0x67/0x120 [ 15.466310][ C0] ? __lock_release+0x5d/0x170 [ 15.466314][ C0] ? save_trace+0x52/0x170 [ 15.466320][ C0] mark_lock+0x174/0x2f0 [ 15.466323][ C0] mark_usage+0x46/0x150 [ 15.466326][ C0] __lock_acquire+0x20b/0x7e0 [ 15.466329][ C0] ? __lock_acquire+0x44d/0x7e0 [ 15.466333][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.466336][ C0] ? simple_pin_fs+0x24/0x150 [ 15.466340][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.466344][ C0] ? lock_acquire+0x10c/0x170 [ 15.466346][ C0] ? simple_pin_fs+0x24/0x150 [ 15.466351][ C0] _raw_spin_lock+0x33/0x40 [ 15.466354][ C0] ? simple_pin_fs+0x24/0x150 [ 15.466357][ C0] simple_pin_fs+0x24/0x150 [ 15.466361][ C0] debugfs_remove+0x35/0x70 [ 15.466364][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.466370][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.466374][ C0] ? __sk_destruct+0x383/0x780 [ 15.466379][ C0] ? rcu_do_batch+0x34c/0xf20 [ 15.466382][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.466385][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.466387][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.466392][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.466396][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.466399][ C0] ? default_idle+0x9/0x10 [ 15.466402][ C0] ? default_idle_call+0x6d/0xb0 [ 15.466404][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.466407][ C0] ? do_idle+0xf6/0x160 [ 15.466410][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.466412][ C0] ? rest_init+0x14b/0x260 [ 15.466415][ C0] ? start_kernel+0x350/0x410 [ 15.466420][ C0] __put_net+0x19/0x60 [ 15.466423][ C0] __sk_destruct+0x58a/0x780 [ 15.466427][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.466430][ C0] rcu_do_batch+0x34c/0xf20 [ 15.466433][ C0] ? find_held_lock+0x2b/0x80 [ 15.466437][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.466440][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.466444][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.466446][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.466451][ C0] rcu_core+0x2bb/0x500 [ 15.466455][ C0] handle_softirqs+0x218/0x620 [ 15.466460][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.466463][ C0] irq_exit_rcu+0xe/0x30 [ 15.466466][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.466470][ C0] [ 15.466471][ C0] [ 15.466472][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.466475][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.466479][ C0] 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.466481][ C0] RSP: 0000:ffffffff87c07df8 EFLAGS: 00000246 [ 15.466484][ C0] RAX: 000000000006a959 RBX: 1ffffffff0f80fc3 RCX: ffffffff86f905d9 [ 15.466486][ C0] RDX: 0000000000000000 RSI: ffffffff87a8f4e4 RDI: ffffffff87253be0 [ 15.466488][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 15.466489][ C0] R10: ffff8880360337d3 R11: ffffffff87c11288 R12: 0000000000000000 [ 15.466491][ C0] R13: ffffffff87c1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.466495][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.466499][ C0] default_idle+0x9/0x10 [ 15.466502][ C0] default_idle_call+0x6d/0xb0 [ 15.466504][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.466507][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.466511][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.466515][ C0] do_idle+0xf6/0x160 [ 15.466518][ C0] cpu_startup_entry+0x54/0x60 [ 15.466521][ C0] rest_init+0x14b/0x260 [ 15.466525][ C0] start_kernel+0x350/0x410 [ 15.466528][ C0] x86_64_start_reservations+0x18/0x30 [ 15.466533][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.466536][ C0] common_startup_64+0x13e/0x148 [ 15.466545][ C0] [ 15.483190][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.483516][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 15.483875][ C0] preempt_count: 101, expected: 0 [ 15.484070][ C0] RCU nest depth: 0, expected: 0 [ 15.484261][ C0] INFO: lockdep is turned off. [ 15.484450][ C0] Preemption disabled at: [ 15.484452][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 15.484893][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.484897][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.484899][ C0] Call Trace: [ 15.484900][ C0] [ 15.484901][ C0] dump_stack_lvl+0xb0/0xd0 [ 15.484907][ C0] __might_resched+0x360/0x5a0 [ 15.484913][ C0] down_write+0x72/0x210 [ 15.484917][ C0] ? __pfx_down_write+0x10/0x10 [ 15.484920][ C0] ? simple_recursive_removal+0x33/0x610 [ 15.484924][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.484928][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.484933][ C0] simple_recursive_removal+0x6a/0x610 [ 15.484936][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.484939][ C0] ? __pfx_remove_one+0x10/0x10 [ 15.484944][ C0] debugfs_remove+0x44/0x70 [ 15.484947][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.484952][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.484956][ C0] ? __sk_destruct+0x383/0x780 [ 15.484960][ C0] ? rcu_do_batch+0x34c/0xf20 [ 15.484963][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.484966][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.484970][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.484974][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.484978][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.484981][ C0] ? default_idle+0x9/0x10 [ 15.484984][ C0] ? default_idle_call+0x6d/0xb0 [ 15.484986][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.484989][ C0] ? do_idle+0xf6/0x160 [ 15.484991][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.484994][ C0] ? rest_init+0x14b/0x260 [ 15.484997][ C0] ? start_kernel+0x350/0x410 [ 15.485004][ C0] __put_net+0x19/0x60 [ 15.485008][ C0] __sk_destruct+0x58a/0x780 [ 15.485012][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.485014][ C0] rcu_do_batch+0x34c/0xf20 [ 15.485018][ C0] ? find_held_lock+0x2b/0x80 [ 15.485023][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.485026][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.485030][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.485033][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.485037][ C0] rcu_core+0x2bb/0x500 [ 15.485041][ C0] handle_softirqs+0x218/0x620 [ 15.485047][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.485050][ C0] irq_exit_rcu+0xe/0x30 [ 15.485052][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.485056][ C0] [ 15.485057][ C0] [ 15.485059][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.485061][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.485065][ C0] 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.485068][ C0] RSP: 0000:ffffffff87c07df8 EFLAGS: 00000246 [ 15.485070][ C0] RAX: 000000000006a959 RBX: 1ffffffff0f80fc3 RCX: ffffffff86f905d9 [ 15.485072][ C0] RDX: 0000000000000000 RSI: ffffffff87a8f4e4 RDI: ffffffff87253be0 [ 15.485074][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 15.485075][ C0] R10: ffff8880360337d3 R11: ffffffff87c11288 R12: 0000000000000000 [ 15.485077][ C0] R13: ffffffff87c1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.485081][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.485086][ C0] default_idle+0x9/0x10 [ 15.485088][ C0] default_idle_call+0x6d/0xb0 [ 15.485091][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.485094][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.485098][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.485103][ C0] do_idle+0xf6/0x160 [ 15.485106][ C0] cpu_startup_entry+0x54/0x60 [ 15.485109][ C0] rest_init+0x14b/0x260 [ 15.485113][ C0] start_kernel+0x350/0x410 [ 15.485117][ C0] x86_64_start_reservations+0x18/0x30 [ 15.485121][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.485125][ C0] common_startup_64+0x13e/0x148 [ 15.485133][ C0] [ 17.277500][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.277849][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 17.278168][ C3] preempt_count: 101, expected: 0 [ 17.278342][ C3] RCU nest depth: 0, expected: 0 [ 17.278513][ C3] INFO: lockdep is turned off. [ 17.278689][ C3] Preemption disabled at: [ 17.278691][ C3] [<0000000000000000>] 0x0 [ 17.278997][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.279002][ C3] Tainted: [W]=WARN [ 17.279003][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.279005][ C3] Call Trace: [ 17.279007][ C3] [ 17.279009][ C3] dump_stack_lvl+0xb0/0xd0 [ 17.279017][ C3] __might_resched+0x360/0x5a0 [ 17.279025][ C3] down_write+0x72/0x210 [ 17.279029][ C3] ? __pfx_down_write+0x10/0x10 [ 17.279032][ C3] ? simple_recursive_removal+0x33/0x610 [ 17.279036][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.279041][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.279047][ C3] simple_recursive_removal+0x6a/0x610 [ 17.279050][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.279053][ C3] ? __pfx_remove_one+0x10/0x10 [ 17.279059][ C3] debugfs_remove+0x44/0x70 [ 17.279062][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.279068][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.279072][ C3] ? __sk_destruct+0x383/0x780 [ 17.279077][ C3] ? rcu_do_batch+0x34c/0xf20 [ 17.279081][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.279084][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.279089][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.279094][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.279098][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.279101][ C3] ? default_idle+0x9/0x10 [ 17.279104][ C3] ? default_idle_call+0x6d/0xb0 [ 17.279107][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.279110][ C3] ? do_idle+0xf6/0x160 [ 17.279112][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.279115][ C3] ? start_secondary+0x213/0x2a0 [ 17.279119][ C3] ? common_startup_64+0x13e/0x148 [ 17.279124][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.279128][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.279132][ C3] __put_net+0x19/0x60 [ 17.279136][ C3] __sk_destruct+0x58a/0x780 [ 17.279140][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.279143][ C3] rcu_do_batch+0x34c/0xf20 [ 17.279147][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.279151][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.279157][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.279163][ C3] rcu_core+0x2bb/0x500 [ 17.279167][ C3] handle_softirqs+0x218/0x620 [ 17.279173][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.279176][ C3] irq_exit_rcu+0xe/0x30 [ 17.279179][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.279182][ C3] [ 17.279184][ C3] [ 17.279185][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.279188][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.279192][ 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 [ 17.279195][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 17.279199][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffff86f905d9 [ 17.279201][ C3] RDX: ffffed1006c366fb RSI: ffffffff87253b60 RDI: ffffffff8478d18f [ 17.279202][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 17.279204][ C3] R10: ffff8880361b37d3 R11: ffffc900001579c0 R12: 0000000000000000 [ 17.279206][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 17.279210][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.279213][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.279217][ C3] default_idle+0x9/0x10 [ 17.279219][ C3] default_idle_call+0x6d/0xb0 [ 17.279222][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.279225][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.279229][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.279233][ C3] do_idle+0xf6/0x160 [ 17.279236][ C3] cpu_startup_entry+0x54/0x60 [ 17.279239][ C3] start_secondary+0x213/0x2a0 [ 17.279242][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.279246][ C3] common_startup_64+0x13e/0x148 [ 17.279253][ C3]