[ 28.511050][ C3] [ 28.511187][ C3] ================================ [ 28.511365][ C3] WARNING: inconsistent lock state [ 28.511536][ C3] 6.15.0-virtme #1 Not tainted [ 28.511725][ C3] -------------------------------- [ 28.511895][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 28.512106][ C3] ksoftirqd/3/32 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 28.512317][ C3] ffffffff997c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 28.512640][ C3] {SOFTIRQ-ON-W} state was registered at: [ 28.512810][ C3] __lock_acquire+0x20b/0x7e0 [ 28.512990][ C3] lock_acquire.part.0+0xb6/0x240 [ 28.513162][ C3] _raw_spin_lock+0x33/0x40 [ 28.513339][ C3] simple_pin_fs+0x24/0x150 [ 28.513510][ C3] start_creating.part.0+0x52/0x310 [ 28.513685][ C3] debugfs_create_dir+0x6a/0x540 [ 28.513857][ C3] component_debug_init+0x17/0x30 [ 28.514034][ C3] do_one_initcall+0x8f/0x1e0 [ 28.514209][ C3] do_initcalls+0x176/0x280 [ 28.514382][ C3] kernel_init_freeable+0x22d/0x300 [ 28.514561][ C3] kernel_init+0x20/0x200 [ 28.514738][ C3] ret_from_fork+0x240/0x320 [ 28.514914][ C3] ret_from_fork_asm+0x1a/0x30 [ 28.515086][ C3] irq event stamp: 193356 [ 28.515217][ C3] hardirqs last enabled at (193356): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 28.515558][ C3] hardirqs last disabled at (193355): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 28.515902][ C3] softirqs last enabled at (192956): [] handle_softirqs+0x358/0x620 [ 28.516214][ C3] softirqs last disabled at (192971): [] run_ksoftirqd+0x3f/0x70 [ 28.516527][ C3] [ 28.516527][ C3] other info that might help us debug this: [ 28.516783][ C3] Possible unsafe locking scenario: [ 28.516783][ C3] [ 28.517039][ C3] CPU0 [ 28.517171][ C3] ---- [ 28.517309][ C3] lock(pin_fs_lock); [ 28.517442][ C3] [ 28.517573][ C3] lock(pin_fs_lock); [ 28.517706][ C3] [ 28.517706][ C3] *** DEADLOCK *** [ 28.517706][ C3] [ 28.517964][ C3] 1 lock held by ksoftirqd/3/32: [ 28.518144][ C3] #0: ffffffff995774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 28.518461][ C3] [ 28.518461][ C3] stack backtrace: [ 28.518682][ C3] CPU: 3 UID: 0 PID: 32 Comm: ksoftirqd/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 28.518687][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 28.518690][ C3] Call Trace: [ 28.518692][ C3] [ 28.518694][ C3] dump_stack_lvl+0x82/0xd0 [ 28.518702][ C3] print_usage_bug.part.0+0x25f/0x360 [ 28.518707][ C3] mark_lock_irq+0x343/0x400 [ 28.518711][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 28.518717][ C3] ? save_trace+0x52/0x170 [ 28.518724][ C3] mark_lock+0x174/0x2f0 [ 28.518728][ C3] mark_usage+0x46/0x150 [ 28.518731][ C3] __lock_acquire+0x20b/0x7e0 [ 28.518734][ C3] ? __lock_acquire+0x44d/0x7e0 [ 28.518738][ C3] lock_acquire.part.0+0xb6/0x240 [ 28.518741][ C3] ? simple_pin_fs+0x24/0x150 [ 28.518745][ C3] ? rcu_is_watching+0x12/0xc0 [ 28.518750][ C3] ? lock_acquire+0x10c/0x170 [ 28.518753][ C3] ? simple_pin_fs+0x24/0x150 [ 28.518757][ C3] _raw_spin_lock+0x33/0x40 [ 28.518761][ C3] ? simple_pin_fs+0x24/0x150 [ 28.518764][ C3] simple_pin_fs+0x24/0x150 [ 28.518768][ C3] debugfs_remove+0x35/0x70 [ 28.518771][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 28.518779][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 28.518783][ C3] ? __sk_destruct+0x383/0x780 [ 28.518790][ C3] ? rcu_do_batch+0x34c/0xf20 [ 28.518793][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 28.518796][ C3] ? smpboot_thread_fn+0x30a/0x960 [ 28.518802][ C3] ? kthread+0x37e/0x600 [ 28.518805][ C3] ? ret_from_fork+0x240/0x320 [ 28.518808][ C3] ? ret_from_fork_asm+0x1a/0x30 [ 28.518811][ C3] ? migrate_enable+0x1f2/0x270 [ 28.518817][ C3] ? __pfx_migrate_enable+0x10/0x10 [ 28.518822][ C3] __put_net+0x19/0x60 [ 28.518827][ C3] __sk_destruct+0x58a/0x780 [ 28.518831][ C3] ? rcu_do_batch+0x34a/0xf20 [ 28.518833][ C3] rcu_do_batch+0x34c/0xf20 [ 28.518838][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 28.518842][ C3] ? rcu_is_watching+0x12/0xc0 [ 28.518844][ C3] ? note_gp_changes+0x182/0x1e0 [ 28.518848][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 28.518852][ C3] rcu_core+0x2bb/0x500 [ 28.518857][ C3] handle_softirqs+0x218/0x620 [ 28.518861][ C3] ? __pfx_run_ksoftirqd+0x10/0x10 [ 28.518865][ C3] run_ksoftirqd+0x3f/0x70 [ 28.518867][ C3] smpboot_thread_fn+0x30a/0x960 [ 28.518871][ C3] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 28.518875][ C3] kthread+0x37e/0x600 [ 28.518878][ C3] ? __pfx_kthread+0x10/0x10 [ 28.518880][ C3] ? ret_from_fork+0x1b/0x320 [ 28.518883][ C3] ? __lock_release+0x5d/0x170 [ 28.518886][ C3] ? rcu_is_watching+0x12/0xc0 [ 28.518889][ C3] ? __pfx_kthread+0x10/0x10 [ 28.518892][ C3] ret_from_fork+0x240/0x320 [ 28.518895][ C3] ? __pfx_kthread+0x10/0x10 [ 28.518897][ C3] ret_from_fork_asm+0x1a/0x30 [ 28.518904][ C3] [ 28.528730][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 28.529025][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 32, name: ksoftirqd/3 [ 28.529302][ C3] preempt_count: 100, expected: 0 [ 28.529482][ C3] RCU nest depth: 0, expected: 0 [ 28.529646][ C3] INFO: lockdep is turned off. [ 28.529808][ C3] Preemption disabled at: [ 28.529810][ C3] [] handle_softirqs+0xe5/0x620 [ 28.530138][ C3] CPU: 3 UID: 0 PID: 32 Comm: ksoftirqd/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 28.530142][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 28.530144][ C3] Call Trace: [ 28.530146][ C3] [ 28.530148][ C3] dump_stack_lvl+0xb0/0xd0 [ 28.530157][ C3] __might_resched+0x360/0x5a0 [ 28.530165][ C3] down_write+0x72/0x210 [ 28.530169][ C3] ? __pfx_down_write+0x10/0x10 [ 28.530172][ C3] ? simple_recursive_removal+0x33/0x610 [ 28.530177][ C3] ? rcu_is_watching+0x12/0xc0 [ 28.530181][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 28.530188][ C3] simple_recursive_removal+0x6a/0x610 [ 28.530191][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 28.530194][ C3] ? __pfx_remove_one+0x10/0x10 [ 28.530199][ C3] debugfs_remove+0x44/0x70 [ 28.530202][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 28.530209][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 28.530213][ C3] ? __sk_destruct+0x383/0x780 [ 28.530218][ C3] ? rcu_do_batch+0x34c/0xf20 [ 28.530221][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 28.530225][ C3] ? smpboot_thread_fn+0x30a/0x960 [ 28.530229][ C3] ? kthread+0x37e/0x600 [ 28.530231][ C3] ? ret_from_fork+0x240/0x320 [ 28.530235][ C3] ? ret_from_fork_asm+0x1a/0x30 [ 28.530240][ C3] ? migrate_enable+0x1f2/0x270 [ 28.530244][ C3] ? __pfx_migrate_enable+0x10/0x10 [ 28.530249][ C3] __put_net+0x19/0x60 [ 28.530254][ C3] __sk_destruct+0x58a/0x780 [ 28.530258][ C3] ? rcu_do_batch+0x34a/0xf20 [ 28.530261][ C3] rcu_do_batch+0x34c/0xf20 [ 28.530266][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 28.530269][ C3] ? rcu_is_watching+0x12/0xc0 [ 28.530272][ C3] ? note_gp_changes+0x182/0x1e0 [ 28.530275][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 28.530279][ C3] rcu_core+0x2bb/0x500 [ 28.530284][ C3] handle_softirqs+0x218/0x620 [ 28.530288][ C3] ? __pfx_run_ksoftirqd+0x10/0x10 [ 28.530291][ C3] run_ksoftirqd+0x3f/0x70 [ 28.530294][ C3] smpboot_thread_fn+0x30a/0x960 [ 28.530298][ C3] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 28.530302][ C3] kthread+0x37e/0x600 [ 28.530307][ C3] ? __pfx_kthread+0x10/0x10 [ 28.530309][ C3] ? ret_from_fork+0x1b/0x320 [ 28.530312][ C3] ? __lock_release+0x5d/0x170 [ 28.530315][ C3] ? rcu_is_watching+0x12/0xc0 [ 28.530319][ C3] ? __pfx_kthread+0x10/0x10 [ 28.530322][ C3] ret_from_fork+0x240/0x320 [ 28.530325][ C3] ? __pfx_kthread+0x10/0x10 [ 28.530327][ C3] ret_from_fork_asm+0x1a/0x30 [ 28.530334][ C3] [ 30.856435][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 30.856760][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22, name: ksoftirqd/1 [ 30.857044][ C1] preempt_count: 100, expected: 0 [ 30.857203][ C1] RCU nest depth: 0, expected: 0 [ 30.857375][ C1] INFO: lockdep is turned off. [ 30.857537][ C1] Preemption disabled at: [ 30.857539][ C1] [] handle_softirqs+0xe5/0x620 [ 30.857875][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 30.857882][ C1] Tainted: [W]=WARN [ 30.857883][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.857885][ C1] Call Trace: [ 30.857888][ C1] [ 30.857890][ C1] dump_stack_lvl+0xb0/0xd0 [ 30.857900][ C1] __might_resched+0x360/0x5a0 [ 30.857908][ C1] down_write+0x72/0x210 [ 30.857913][ C1] ? __pfx_down_write+0x10/0x10 [ 30.857917][ C1] ? simple_recursive_removal+0x33/0x610 [ 30.857922][ C1] ? rcu_is_watching+0x12/0xc0 [ 30.857928][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 30.857936][ C1] simple_recursive_removal+0x6a/0x610 [ 30.857939][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 30.857942][ C1] ? __pfx_remove_one+0x10/0x10 [ 30.857949][ C1] debugfs_remove+0x44/0x70 [ 30.857952][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 30.857960][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 30.857963][ C1] ? __sk_destruct+0x383/0x780 [ 30.857971][ C1] ? rcu_do_batch+0x34c/0xf20 [ 30.857975][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 30.857978][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 30.857983][ C1] ? kthread+0x37e/0x600 [ 30.857986][ C1] ? ret_from_fork+0x240/0x320 [ 30.857991][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 30.857999][ C1] ? migrate_enable+0x1f2/0x270 [ 30.858004][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 30.858007][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 30.858012][ C1] ? rcu_is_watching+0x12/0xc0 [ 30.858017][ C1] __put_net+0x19/0x60 [ 30.858022][ C1] __sk_destruct+0x58a/0x780 [ 30.858026][ C1] ? rcu_do_batch+0x34a/0xf20 [ 30.858029][ C1] rcu_do_batch+0x34c/0xf20 [ 30.858033][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 30.858037][ C1] ? rcu_is_watching+0x12/0xc0 [ 30.858040][ C1] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 30.858048][ C1] rcu_core+0x2bb/0x500 [ 30.858054][ C1] handle_softirqs+0x218/0x620 [ 30.858058][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 30.858062][ C1] run_ksoftirqd+0x3f/0x70 [ 30.858064][ C1] smpboot_thread_fn+0x30a/0x960 [ 30.858068][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 30.858072][ C1] kthread+0x37e/0x600 [ 30.858075][ C1] ? __pfx_kthread+0x10/0x10 [ 30.858077][ C1] ? ret_from_fork+0x1b/0x320 [ 30.858081][ C1] ? __lock_release+0x5d/0x170 [ 30.858084][ C1] ? rcu_is_watching+0x12/0xc0 [ 30.858087][ C1] ? __pfx_kthread+0x10/0x10 [ 30.858091][ C1] ret_from_fork+0x240/0x320 [ 30.858093][ C1] ? __pfx_kthread+0x10/0x10 [ 30.858096][ C1] ret_from_fork_asm+0x1a/0x30 [ 30.858103][ C1]