[ 12.980564][ C1] [ 12.980701][ C1] ================================ [ 12.980891][ C1] WARNING: inconsistent lock state [ 12.981079][ C1] 6.15.0-virtme #1 Not tainted [ 12.981269][ C1] -------------------------------- [ 12.981459][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.981692][ C1] ksoftirqd/1/22 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.981926][ C1] ffffffffb27c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.982261][ C1] {SOFTIRQ-ON-W} state was registered at: [ 12.982445][ C1] __lock_acquire+0x20b/0x7e0 [ 12.982637][ C1] lock_acquire.part.0+0xb6/0x240 [ 12.982821][ C1] _raw_spin_lock+0x33/0x40 [ 12.983007][ C1] simple_pin_fs+0x24/0x150 [ 12.983194][ C1] start_creating.part.0+0x52/0x310 [ 12.983385][ C1] debugfs_create_dir+0x6a/0x540 [ 12.983571][ C1] component_debug_init+0x17/0x30 [ 12.983762][ C1] do_one_initcall+0x8f/0x1e0 [ 12.983949][ C1] do_initcalls+0x176/0x280 [ 12.984140][ C1] kernel_init_freeable+0x22d/0x300 [ 12.984334][ C1] kernel_init+0x20/0x200 [ 12.984527][ C1] ret_from_fork+0x240/0x320 [ 12.984717][ C1] ret_from_fork_asm+0x1a/0x30 [ 12.984904][ C1] irq event stamp: 228362 [ 12.985052][ C1] hardirqs last enabled at (228362): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.985423][ C1] hardirqs last disabled at (228361): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.985789][ C1] softirqs last enabled at (226936): [] handle_softirqs+0x358/0x620 [ 12.986117][ C1] softirqs last disabled at (226941): [] run_ksoftirqd+0x3f/0x70 [ 12.986444][ C1] [ 12.986444][ C1] other info that might help us debug this: [ 12.986724][ C1] Possible unsafe locking scenario: [ 12.986724][ C1] [ 12.987002][ C1] CPU0 [ 12.987141][ C1] ---- [ 12.987280][ C1] lock(pin_fs_lock); [ 12.987423][ C1] [ 12.987565][ C1] lock(pin_fs_lock); [ 12.987708][ C1] [ 12.987708][ C1] *** DEADLOCK *** [ 12.987708][ C1] [ 12.987981][ C1] 1 lock held by ksoftirqd/1/22: [ 12.988171][ C1] #0: ffffffffb25774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.988507][ C1] [ 12.988507][ C1] stack backtrace: [ 12.988749][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.988754][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.988757][ C1] Call Trace: [ 12.988759][ C1] [ 12.988762][ C1] dump_stack_lvl+0x82/0xd0 [ 12.988769][ C1] print_usage_bug.part.0+0x25f/0x360 [ 12.988773][ C1] mark_lock_irq+0x343/0x400 [ 12.988778][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 12.988784][ C1] ? save_trace+0x52/0x170 [ 12.988789][ C1] mark_lock+0x174/0x2f0 [ 12.988793][ C1] mark_usage+0x46/0x150 [ 12.988796][ C1] __lock_acquire+0x20b/0x7e0 [ 12.988800][ C1] ? __lock_acquire+0x44d/0x7e0 [ 12.988804][ C1] lock_acquire.part.0+0xb6/0x240 [ 12.988808][ C1] ? simple_pin_fs+0x24/0x150 [ 12.988811][ C1] ? rcu_is_watching+0x12/0xc0 [ 12.988817][ C1] ? lock_acquire+0x10c/0x170 [ 12.988820][ C1] ? simple_pin_fs+0x24/0x150 [ 12.988823][ C1] _raw_spin_lock+0x33/0x40 [ 12.988827][ C1] ? simple_pin_fs+0x24/0x150 [ 12.988829][ C1] simple_pin_fs+0x24/0x150 [ 12.988833][ C1] debugfs_remove+0x35/0x70 [ 12.988836][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 12.988841][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.988844][ C1] ? __sk_destruct+0x383/0x780 [ 12.988851][ C1] ? rcu_do_batch+0x34c/0xf20 [ 12.988854][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.988856][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 12.988860][ C1] ? kthread+0x37e/0x600 [ 12.988865][ C1] ? ret_from_fork+0x240/0x320 [ 12.988868][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 12.988870][ C1] ? migrate_enable+0x1f2/0x270 [ 12.988875][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 12.988881][ C1] __put_net+0x19/0x60 [ 12.988886][ C1] __sk_destruct+0x58a/0x780 [ 12.988891][ C1] ? rcu_do_batch+0x34a/0xf20 [ 12.988893][ C1] rcu_do_batch+0x34c/0xf20 [ 12.988899][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.988902][ C1] ? rcu_is_watching+0x12/0xc0 [ 12.988905][ C1] ? note_gp_changes+0x182/0x1e0 [ 12.988909][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.988915][ C1] rcu_core+0x2bb/0x500 [ 12.988921][ C1] handle_softirqs+0x218/0x620 [ 12.988925][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 12.988929][ C1] run_ksoftirqd+0x3f/0x70 [ 12.988932][ C1] smpboot_thread_fn+0x30a/0x960 [ 12.988935][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 12.988938][ C1] kthread+0x37e/0x600 [ 12.988941][ C1] ? __pfx_kthread+0x10/0x10 [ 12.988944][ C1] ? ret_from_fork+0x1b/0x320 [ 12.988947][ C1] ? __lock_release+0x5d/0x170 [ 12.988950][ C1] ? rcu_is_watching+0x12/0xc0 [ 12.988954][ C1] ? __pfx_kthread+0x10/0x10 [ 12.988957][ C1] ret_from_fork+0x240/0x320 [ 12.988960][ C1] ? __pfx_kthread+0x10/0x10 [ 12.988963][ C1] ret_from_fork_asm+0x1a/0x30 [ 12.988970][ C1] [ 12.999400][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.999699][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22, name: ksoftirqd/1 [ 12.999997][ C1] preempt_count: 100, expected: 0 [ 13.000180][ C1] RCU nest depth: 0, expected: 0 [ 13.000353][ C1] INFO: lockdep is turned off. [ 13.000526][ C1] Preemption disabled at: [ 13.000528][ C1] [] handle_softirqs+0xe5/0x620 [ 13.000871][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.000876][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.000877][ C1] Call Trace: [ 13.000879][ C1] [ 13.000881][ C1] dump_stack_lvl+0xb0/0xd0 [ 13.000886][ C1] __might_resched+0x360/0x5a0 [ 13.000894][ C1] down_write+0x72/0x210 [ 13.000899][ C1] ? __pfx_down_write+0x10/0x10 [ 13.000902][ C1] ? simple_recursive_removal+0x33/0x610 [ 13.000907][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.000912][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 13.000916][ C1] simple_recursive_removal+0x6a/0x610 [ 13.000919][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 13.000921][ C1] ? __pfx_remove_one+0x10/0x10 [ 13.000927][ C1] debugfs_remove+0x44/0x70 [ 13.000930][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 13.000934][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.000936][ C1] ? __sk_destruct+0x383/0x780 [ 13.000940][ C1] ? rcu_do_batch+0x34c/0xf20 [ 13.000943][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.000946][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 13.000948][ C1] ? kthread+0x37e/0x600 [ 13.000951][ C1] ? ret_from_fork+0x240/0x320 [ 13.000955][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 13.000958][ C1] ? migrate_enable+0x1f2/0x270 [ 13.000962][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 13.000968][ C1] __put_net+0x19/0x60 [ 13.000971][ C1] __sk_destruct+0x58a/0x780 [ 13.000976][ C1] ? rcu_do_batch+0x34a/0xf20 [ 13.000979][ C1] rcu_do_batch+0x34c/0xf20 [ 13.000984][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.000988][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.000991][ C1] ? note_gp_changes+0x182/0x1e0 [ 13.000994][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.001000][ C1] rcu_core+0x2bb/0x500 [ 13.001005][ C1] handle_softirqs+0x218/0x620 [ 13.001009][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 13.001013][ C1] run_ksoftirqd+0x3f/0x70 [ 13.001016][ C1] smpboot_thread_fn+0x30a/0x960 [ 13.001019][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 13.001023][ C1] kthread+0x37e/0x600 [ 13.001026][ C1] ? __pfx_kthread+0x10/0x10 [ 13.001028][ C1] ? ret_from_fork+0x1b/0x320 [ 13.001031][ C1] ? __lock_release+0x5d/0x170 [ 13.001035][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.001038][ C1] ? __pfx_kthread+0x10/0x10 [ 13.001041][ C1] ret_from_fork+0x240/0x320 [ 13.001044][ C1] ? __pfx_kthread+0x10/0x10 [ 13.001047][ C1] ret_from_fork_asm+0x1a/0x30 [ 13.001054][ C1] [ 13.671184][ T226] self-connect_ip (226) used greatest stack depth: 24272 bytes left