[ 16.308636][ C0] [ 16.308777][ C0] ================================ [ 16.308969][ C0] WARNING: inconsistent lock state [ 16.309157][ C0] 6.15.0-virtme #1 Not tainted [ 16.309351][ C0] -------------------------------- [ 16.309539][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.309769][ C0] ksoftirqd/0/14 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.310006][ C0] ffffffffb51c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.310349][ C0] {SOFTIRQ-ON-W} state was registered at: [ 16.310531][ C0] __lock_acquire+0x20b/0x7e0 [ 16.310728][ C0] lock_acquire.part.0+0xb6/0x240 [ 16.310911][ C0] _raw_spin_lock+0x33/0x40 [ 16.311109][ C0] simple_pin_fs+0x24/0x150 [ 16.311293][ C0] start_creating.part.0+0x52/0x310 [ 16.311486][ C0] debugfs_create_dir+0x6a/0x540 [ 16.311677][ C0] component_debug_init+0x17/0x30 [ 16.311874][ C0] do_one_initcall+0x8f/0x1e0 [ 16.312062][ C0] do_initcalls+0x176/0x280 [ 16.312253][ C0] kernel_init_freeable+0x22d/0x300 [ 16.312439][ C0] kernel_init+0x20/0x200 [ 16.312625][ C0] ret_from_fork+0x240/0x320 [ 16.312813][ C0] ret_from_fork_asm+0x1a/0x30 [ 16.313000][ C0] irq event stamp: 215238 [ 16.313140][ C0] hardirqs last enabled at (215238): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.313511][ C0] hardirqs last disabled at (215237): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.313878][ C0] softirqs last enabled at (214080): [] handle_softirqs+0x358/0x620 [ 16.314206][ C0] softirqs last disabled at (214083): [] run_ksoftirqd+0x3f/0x70 [ 16.314532][ C0] [ 16.314532][ C0] other info that might help us debug this: [ 16.314804][ C0] Possible unsafe locking scenario: [ 16.314804][ C0] [ 16.315077][ C0] CPU0 [ 16.315219][ C0] ---- [ 16.315355][ C0] lock(pin_fs_lock); [ 16.315499][ C0] [ 16.315636][ C0] lock(pin_fs_lock); [ 16.315777][ C0] [ 16.315777][ C0] *** DEADLOCK *** [ 16.315777][ C0] [ 16.316052][ C0] 1 lock held by ksoftirqd/0/14: [ 16.316237][ C0] #0: ffffffffb4f774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.316569][ C0] [ 16.316569][ C0] stack backtrace: [ 16.316804][ C0] CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.316808][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.316811][ C0] Call Trace: [ 16.316813][ C0] [ 16.316816][ C0] dump_stack_lvl+0x82/0xd0 [ 16.316824][ C0] print_usage_bug.part.0+0x25f/0x360 [ 16.316830][ C0] mark_lock_irq+0x343/0x400 [ 16.316834][ C0] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.316840][ C0] ? save_trace+0x52/0x170 [ 16.316846][ C0] mark_lock+0x174/0x2f0 [ 16.316850][ C0] mark_usage+0x46/0x150 [ 16.316853][ C0] __lock_acquire+0x20b/0x7e0 [ 16.316856][ C0] ? __lock_acquire+0x44d/0x7e0 [ 16.316860][ C0] lock_acquire.part.0+0xb6/0x240 [ 16.316864][ C0] ? simple_pin_fs+0x24/0x150 [ 16.316868][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.316873][ C0] ? lock_acquire+0x10c/0x170 [ 16.316876][ C0] ? simple_pin_fs+0x24/0x150 [ 16.316880][ C0] _raw_spin_lock+0x33/0x40 [ 16.316884][ C0] ? simple_pin_fs+0x24/0x150 [ 16.316887][ C0] simple_pin_fs+0x24/0x150 [ 16.316892][ C0] debugfs_remove+0x35/0x70 [ 16.316895][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 16.316904][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.316907][ C0] ? __sk_destruct+0x383/0x780 [ 16.316915][ C0] ? rcu_do_batch+0x34c/0xf20 [ 16.316918][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.316921][ C0] ? smpboot_thread_fn+0x30a/0x960 [ 16.316927][ C0] ? kthread+0x37e/0x600 [ 16.316930][ C0] ? ret_from_fork+0x240/0x320 [ 16.316934][ C0] ? ret_from_fork_asm+0x1a/0x30 [ 16.316937][ C0] ? migrate_enable+0x1f2/0x270 [ 16.316942][ C0] ? __pfx_migrate_enable+0x10/0x10 [ 16.316947][ C0] __put_net+0x19/0x60 [ 16.316952][ C0] __sk_destruct+0x58a/0x780 [ 16.316956][ C0] ? rcu_do_batch+0x34a/0xf20 [ 16.316958][ C0] rcu_do_batch+0x34c/0xf20 [ 16.316963][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.316967][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.316969][ C0] ? note_gp_changes+0x182/0x1e0 [ 16.316973][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.316978][ C0] rcu_core+0x2bb/0x500 [ 16.316982][ C0] handle_softirqs+0x218/0x620 [ 16.316986][ C0] ? __pfx_run_ksoftirqd+0x10/0x10 [ 16.316990][ C0] run_ksoftirqd+0x3f/0x70 [ 16.316993][ C0] smpboot_thread_fn+0x30a/0x960 [ 16.316997][ C0] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 16.317001][ C0] kthread+0x37e/0x600 [ 16.317004][ C0] ? __pfx_kthread+0x10/0x10 [ 16.317006][ C0] ? ret_from_fork+0x1b/0x320 [ 16.317009][ C0] ? __lock_release+0x5d/0x170 [ 16.317012][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.317015][ C0] ? __pfx_kthread+0x10/0x10 [ 16.317018][ C0] ret_from_fork+0x240/0x320 [ 16.317021][ C0] ? __pfx_kthread+0x10/0x10 [ 16.317023][ C0] ret_from_fork_asm+0x1a/0x30 [ 16.317030][ C0] [ 16.327429][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.327732][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14, name: ksoftirqd/0 [ 16.328029][ C0] preempt_count: 100, expected: 0 [ 16.328214][ C0] RCU nest depth: 0, expected: 0 [ 16.328384][ C0] INFO: lockdep is turned off. [ 16.328551][ C0] Preemption disabled at: [ 16.328553][ C0] [] handle_softirqs+0xe5/0x620 [ 16.328903][ C0] CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.328908][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.328910][ C0] Call Trace: [ 16.328912][ C0] [ 16.328914][ C0] dump_stack_lvl+0xb0/0xd0 [ 16.328924][ C0] __might_resched+0x360/0x5a0 [ 16.328932][ C0] down_write+0x72/0x210 [ 16.328938][ C0] ? __pfx_down_write+0x10/0x10 [ 16.328941][ C0] ? simple_recursive_removal+0x33/0x610 [ 16.328946][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.328952][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.328959][ C0] simple_recursive_removal+0x6a/0x610 [ 16.328962][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.328966][ C0] ? __pfx_remove_one+0x10/0x10 [ 16.328972][ C0] debugfs_remove+0x44/0x70 [ 16.328975][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 16.328982][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.328985][ C0] ? __sk_destruct+0x383/0x780 [ 16.328992][ C0] ? rcu_do_batch+0x34c/0xf20 [ 16.328996][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.328999][ C0] ? smpboot_thread_fn+0x30a/0x960 [ 16.329004][ C0] ? kthread+0x37e/0x600 [ 16.329007][ C0] ? ret_from_fork+0x240/0x320 [ 16.329012][ C0] ? ret_from_fork_asm+0x1a/0x30 [ 16.329019][ C0] ? migrate_enable+0x1f2/0x270 [ 16.329024][ C0] ? __pfx_migrate_enable+0x10/0x10 [ 16.329029][ C0] __put_net+0x19/0x60 [ 16.329034][ C0] __sk_destruct+0x58a/0x780 [ 16.329040][ C0] ? rcu_do_batch+0x34a/0xf20 [ 16.329043][ C0] rcu_do_batch+0x34c/0xf20 [ 16.329048][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.329052][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.329055][ C0] ? note_gp_changes+0x182/0x1e0 [ 16.329058][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.329063][ C0] rcu_core+0x2bb/0x500 [ 16.329067][ C0] handle_softirqs+0x218/0x620 [ 16.329071][ C0] ? __pfx_run_ksoftirqd+0x10/0x10 [ 16.329075][ C0] run_ksoftirqd+0x3f/0x70 [ 16.329078][ C0] smpboot_thread_fn+0x30a/0x960 [ 16.329082][ C0] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 16.329086][ C0] kthread+0x37e/0x600 [ 16.329088][ C0] ? __pfx_kthread+0x10/0x10 [ 16.329090][ C0] ? ret_from_fork+0x1b/0x320 [ 16.329093][ C0] ? __lock_release+0x5d/0x170 [ 16.329097][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.329100][ C0] ? __pfx_kthread+0x10/0x10 [ 16.329103][ C0] ret_from_fork+0x240/0x320 [ 16.329106][ C0] ? __pfx_kthread+0x10/0x10 [ 16.329108][ C0] ret_from_fork_asm+0x1a/0x30 [ 16.329115][ C0] [ 18.739563][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.739936][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 27, name: ksoftirqd/2 [ 18.740257][ C2] preempt_count: 100, expected: 0 [ 18.740440][ C2] RCU nest depth: 0, expected: 0 [ 18.740620][ C2] INFO: lockdep is turned off. [ 18.740805][ C2] Preemption disabled at: [ 18.740806][ C2] [] handle_softirqs+0xe5/0x620 [ 18.741192][ C2] CPU: 2 UID: 0 PID: 27 Comm: ksoftirqd/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.741198][ C2] Tainted: [W]=WARN [ 18.741200][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.741202][ C2] Call Trace: [ 18.741205][ C2] [ 18.741207][ C2] dump_stack_lvl+0xb0/0xd0 [ 18.741217][ C2] __might_resched+0x360/0x5a0 [ 18.741225][ C2] down_write+0x72/0x210 [ 18.741231][ C2] ? __pfx_down_write+0x10/0x10 [ 18.741234][ C2] ? simple_recursive_removal+0x33/0x610 [ 18.741239][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.741246][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.741254][ C2] simple_recursive_removal+0x6a/0x610 [ 18.741257][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.741260][ C2] ? __pfx_remove_one+0x10/0x10 [ 18.741267][ C2] debugfs_remove+0x44/0x70 [ 18.741270][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 18.741277][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.741281][ C2] ? __sk_destruct+0x383/0x780 [ 18.741287][ C2] ? rcu_do_batch+0x34c/0xf20 [ 18.741291][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.741294][ C2] ? smpboot_thread_fn+0x30a/0x960 [ 18.741300][ C2] ? kthread+0x37e/0x600 [ 18.741303][ C2] ? ret_from_fork+0x240/0x320 [ 18.741308][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 18.741316][ C2] ? migrate_enable+0x1f2/0x270 [ 18.741320][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 18.741323][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.741329][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.741334][ C2] __put_net+0x19/0x60 [ 18.741338][ C2] __sk_destruct+0x58a/0x780 [ 18.741342][ C2] ? rcu_do_batch+0x34a/0xf20 [ 18.741345][ C2] rcu_do_batch+0x34c/0xf20 [ 18.741350][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.741354][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.741356][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 18.741365][ C2] rcu_core+0x2bb/0x500 [ 18.741370][ C2] handle_softirqs+0x218/0x620 [ 18.741375][ C2] ? __pfx_run_ksoftirqd+0x10/0x10 [ 18.741378][ C2] run_ksoftirqd+0x3f/0x70 [ 18.741381][ C2] smpboot_thread_fn+0x30a/0x960 [ 18.741385][ C2] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 18.741389][ C2] kthread+0x37e/0x600 [ 18.741392][ C2] ? __pfx_kthread+0x10/0x10 [ 18.741394][ C2] ? ret_from_fork+0x1b/0x320 [ 18.741397][ C2] ? __lock_release+0x5d/0x170 [ 18.741401][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.741404][ C2] ? __pfx_kthread+0x10/0x10 [ 18.741407][ C2] ret_from_fork+0x240/0x320 [ 18.741410][ C2] ? __pfx_kthread+0x10/0x10 [ 18.741412][ C2] ret_from_fork_asm+0x1a/0x30 [ 18.741420][ C2]