[ 14.698065][ C3] [ 14.698202][ C3] ================================ [ 14.698394][ C3] WARNING: inconsistent lock state [ 14.698585][ C3] 6.15.0-virtme #1 Not tainted [ 14.698778][ C3] -------------------------------- [ 14.698964][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.699195][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.699425][ C3] ffffffffb53c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.699760][ C3] {SOFTIRQ-ON-W} state was registered at: [ 14.699945][ C3] __lock_acquire+0x20b/0x7e0 [ 14.700136][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.700320][ C3] _raw_spin_lock+0x33/0x40 [ 14.700512][ C3] simple_pin_fs+0x24/0x150 [ 14.700700][ C3] start_creating.part.0+0x52/0x310 [ 14.700890][ C3] debugfs_create_dir+0x6a/0x540 [ 14.701074][ C3] component_debug_init+0x17/0x30 [ 14.701266][ C3] do_one_initcall+0x8f/0x1e0 [ 14.701466][ C3] do_initcalls+0x176/0x280 [ 14.701650][ C3] kernel_init_freeable+0x22d/0x300 [ 14.701832][ C3] kernel_init+0x20/0x200 [ 14.702015][ C3] ret_from_fork+0x240/0x320 [ 14.702197][ C3] ret_from_fork_asm+0x1a/0x30 [ 14.702380][ C3] irq event stamp: 251392 [ 14.702518][ C3] hardirqs last enabled at (251392): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.702905][ C3] hardirqs last disabled at (251391): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.703276][ C3] softirqs last enabled at (250808): [] handle_softirqs+0x358/0x620 [ 14.703611][ C3] softirqs last disabled at (250821): [] __irq_exit_rcu+0xfa/0x160 [ 14.703939][ C3] [ 14.703939][ C3] other info that might help us debug this: [ 14.704203][ C3] Possible unsafe locking scenario: [ 14.704203][ C3] [ 14.704470][ C3] CPU0 [ 14.704605][ C3] ---- [ 14.704740][ C3] lock(pin_fs_lock); [ 14.704878][ C3] [ 14.705015][ C3] lock(pin_fs_lock); [ 14.705153][ C3] [ 14.705153][ C3] *** DEADLOCK *** [ 14.705153][ C3] [ 14.705415][ C3] 1 lock held by swapper/3/0: [ 14.705594][ C3] #0: ffffffffb51774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.705920][ C3] [ 14.705920][ C3] stack backtrace: [ 14.706143][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.706148][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.706150][ C3] Call Trace: [ 14.706152][ C3] [ 14.706154][ C3] dump_stack_lvl+0x82/0xd0 [ 14.706160][ C3] print_usage_bug.part.0+0x25f/0x360 [ 14.706165][ C3] mark_lock_irq+0x343/0x400 [ 14.706169][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.706174][ C3] ? save_trace+0x52/0x170 [ 14.706179][ C3] mark_lock+0x174/0x2f0 [ 14.706182][ C3] mark_usage+0x46/0x150 [ 14.706185][ C3] __lock_acquire+0x20b/0x7e0 [ 14.706188][ C3] ? __lock_acquire+0x44d/0x7e0 [ 14.706192][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.706195][ C3] ? simple_pin_fs+0x24/0x150 [ 14.706200][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.706203][ C3] ? lock_acquire+0x10c/0x170 [ 14.706206][ C3] ? simple_pin_fs+0x24/0x150 [ 14.706210][ C3] _raw_spin_lock+0x33/0x40 [ 14.706214][ C3] ? simple_pin_fs+0x24/0x150 [ 14.706217][ C3] simple_pin_fs+0x24/0x150 [ 14.706221][ C3] debugfs_remove+0x35/0x70 [ 14.706224][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.706230][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.706233][ C3] ? __sk_destruct+0x383/0x780 [ 14.706239][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.706241][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.706244][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.706247][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.706252][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.706255][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.706258][ C3] ? default_idle+0x9/0x10 [ 14.706261][ C3] ? default_idle_call+0x6d/0xb0 [ 14.706263][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.706267][ C3] ? do_idle+0xf6/0x160 [ 14.706269][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.706271][ C3] ? start_secondary+0x213/0x2a0 [ 14.706275][ C3] ? common_startup_64+0x13e/0x148 [ 14.706282][ C3] __put_net+0x19/0x60 [ 14.706286][ C3] __sk_destruct+0x58a/0x780 [ 14.706290][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.706292][ C3] rcu_do_batch+0x34c/0xf20 [ 14.706295][ C3] ? find_held_lock+0x2b/0x80 [ 14.706299][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.706302][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.706306][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.706309][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.706314][ C3] rcu_core+0x2bb/0x500 [ 14.706318][ C3] handle_softirqs+0x218/0x620 [ 14.706323][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.706326][ C3] irq_exit_rcu+0xe/0x30 [ 14.706328][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.706332][ C3] [ 14.706333][ C3] [ 14.706335][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.706337][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.706341][ 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 [ 14.706344][ C3] RSP: 0000:ffffc90000157de8 EFLAGS: 00000246 [ 14.706347][ C3] RAX: 000000000003d3c3 RBX: 1ffff9200002afc1 RCX: ffffffffb41905d9 [ 14.706349][ C3] RDX: 0000000000000000 RSI: ffffffffb4c8f4e4 RDI: ffffffffb4453be0 [ 14.706351][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 14.706352][ C3] R10: ffff8880361b37d3 R11: ffffffffb4e11288 R12: 0000000000000000 [ 14.706354][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 14.706358][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.706362][ C3] default_idle+0x9/0x10 [ 14.706365][ C3] default_idle_call+0x6d/0xb0 [ 14.706367][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.706370][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.706374][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.706378][ C3] do_idle+0xf6/0x160 [ 14.706382][ C3] cpu_startup_entry+0x54/0x60 [ 14.706385][ C3] start_secondary+0x213/0x2a0 [ 14.706387][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.706392][ C3] common_startup_64+0x13e/0x148 [ 14.706399][ C3] [ 14.721271][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.721577][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 14.721879][ C3] preempt_count: 101, expected: 0 [ 14.722050][ C3] RCU nest depth: 0, expected: 0 [ 14.722222][ C3] INFO: lockdep is turned off. [ 14.722394][ C3] Preemption disabled at: [ 14.722396][ C3] [<0000000000000000>] 0x0 [ 14.722705][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.722709][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.722710][ C3] Call Trace: [ 14.722712][ C3] [ 14.722714][ C3] dump_stack_lvl+0xb0/0xd0 [ 14.722720][ C3] __might_resched+0x360/0x5a0 [ 14.722727][ C3] down_write+0x72/0x210 [ 14.722731][ C3] ? __pfx_down_write+0x10/0x10 [ 14.722734][ C3] ? simple_recursive_removal+0x33/0x610 [ 14.722737][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.722741][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.722747][ C3] simple_recursive_removal+0x6a/0x610 [ 14.722749][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.722753][ C3] ? __pfx_remove_one+0x10/0x10 [ 14.722758][ C3] debugfs_remove+0x44/0x70 [ 14.722761][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.722766][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.722769][ C3] ? __sk_destruct+0x383/0x780 [ 14.722773][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.722776][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.722779][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.722783][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.722787][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.722790][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.722794][ C3] ? default_idle+0x9/0x10 [ 14.722796][ C3] ? default_idle_call+0x6d/0xb0 [ 14.722799][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.722802][ C3] ? do_idle+0xf6/0x160 [ 14.722804][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.722806][ C3] ? start_secondary+0x213/0x2a0 [ 14.722810][ C3] ? common_startup_64+0x13e/0x148 [ 14.722816][ C3] __put_net+0x19/0x60 [ 14.722819][ C3] __sk_destruct+0x58a/0x780 [ 14.722823][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.722825][ C3] rcu_do_batch+0x34c/0xf20 [ 14.722829][ C3] ? find_held_lock+0x2b/0x80 [ 14.722834][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.722837][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.722841][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.722844][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.722849][ C3] rcu_core+0x2bb/0x500 [ 14.722853][ C3] handle_softirqs+0x218/0x620 [ 14.722858][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.722861][ C3] irq_exit_rcu+0xe/0x30 [ 14.722864][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.722867][ C3] [ 14.722868][ C3] [ 14.722870][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.722873][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.722876][ 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 [ 14.722879][ C3] RSP: 0000:ffffc90000157de8 EFLAGS: 00000246 [ 14.722882][ C3] RAX: 000000000003d3c3 RBX: 1ffff9200002afc1 RCX: ffffffffb41905d9 [ 14.722884][ C3] RDX: 0000000000000000 RSI: ffffffffb4c8f4e4 RDI: ffffffffb4453be0 [ 14.722886][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 14.722887][ C3] R10: ffff8880361b37d3 R11: ffffffffb4e11288 R12: 0000000000000000 [ 14.722889][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 14.722892][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.722897][ C3] default_idle+0x9/0x10 [ 14.722900][ C3] default_idle_call+0x6d/0xb0 [ 14.722902][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.722905][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.722909][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.722913][ C3] do_idle+0xf6/0x160 [ 14.722917][ C3] cpu_startup_entry+0x54/0x60 [ 14.722920][ C3] start_secondary+0x213/0x2a0 [ 14.722922][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.722927][ C3] common_startup_64+0x13e/0x148 [ 14.722934][ C3] [ 16.358224][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.358635][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.358929][ C3] preempt_count: 101, expected: 0 [ 16.359099][ C3] RCU nest depth: 0, expected: 0 [ 16.359268][ C3] INFO: lockdep is turned off. [ 16.359438][ C3] Preemption disabled at: [ 16.359440][ C3] [<0000000000000000>] 0x0 [ 16.359750][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.359755][ C3] Tainted: [W]=WARN [ 16.359757][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.359759][ C3] Call Trace: [ 16.359761][ C3] [ 16.359763][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.359772][ C3] __might_resched+0x360/0x5a0 [ 16.359779][ C3] down_write+0x72/0x210 [ 16.359783][ C3] ? __pfx_down_write+0x10/0x10 [ 16.359786][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.359790][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.359795][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.359801][ C3] simple_recursive_removal+0x6a/0x610 [ 16.359804][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.359807][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.359812][ C3] debugfs_remove+0x44/0x70 [ 16.359815][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.359821][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.359824][ C3] ? __sk_destruct+0x383/0x780 [ 16.359830][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.359833][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.359836][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.359841][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.359846][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.359850][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.359853][ C3] ? default_idle+0x9/0x10 [ 16.359856][ C3] ? default_idle_call+0x6d/0xb0 [ 16.359858][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.359862][ C3] ? do_idle+0xf6/0x160 [ 16.359864][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.359866][ C3] ? start_secondary+0x213/0x2a0 [ 16.359870][ C3] ? common_startup_64+0x13e/0x148 [ 16.359875][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.359879][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.359883][ C3] __put_net+0x19/0x60 [ 16.359887][ C3] __sk_destruct+0x58a/0x780 [ 16.359891][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.359893][ C3] rcu_do_batch+0x34c/0xf20 [ 16.359898][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.359901][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.359907][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.359913][ C3] rcu_core+0x2bb/0x500 [ 16.359917][ C3] handle_softirqs+0x218/0x620 [ 16.359922][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.359925][ C3] irq_exit_rcu+0xe/0x30 [ 16.359928][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.359931][ C3] [ 16.359932][ C3] [ 16.359934][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.359937][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.359941][ 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.359943][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.359947][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffb41905d9 [ 16.359949][ C3] RDX: ffffed1006c366fb RSI: ffffffffb4453b60 RDI: ffffffffb198d18f [ 16.359951][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 16.359952][ C3] R10: ffff8880361b37d3 R11: ffffffffb7a910f0 R12: 0000000000000000 [ 16.359954][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.359958][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.359961][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.359965][ C3] default_idle+0x9/0x10 [ 16.359967][ C3] default_idle_call+0x6d/0xb0 [ 16.359970][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.359973][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.359976][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.359980][ C3] do_idle+0xf6/0x160 [ 16.359984][ C3] cpu_startup_entry+0x54/0x60 [ 16.359987][ C3] start_secondary+0x213/0x2a0 [ 16.359989][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.359994][ C3] common_startup_64+0x13e/0x148 [ 16.360000][ C3]