[ 12.396279][ C1] [ 12.396403][ C1] ================================ [ 12.396576][ C1] WARNING: inconsistent lock state [ 12.396747][ C1] 6.15.0-virtme #1 Not tainted [ 12.396917][ C1] -------------------------------- [ 12.397087][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.397299][ C1] ksoftirqd/1/22 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.397511][ C1] ffffffffb49c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.397818][ C1] {SOFTIRQ-ON-W} state was registered at: [ 12.397989][ C1] __lock_acquire+0x20b/0x7e0 [ 12.398165][ C1] lock_acquire.part.0+0xb6/0x240 [ 12.398337][ C1] _raw_spin_lock+0x33/0x40 [ 12.398512][ C1] simple_pin_fs+0x24/0x150 [ 12.398682][ C1] start_creating.part.0+0x52/0x310 [ 12.398854][ C1] debugfs_create_dir+0x6a/0x540 [ 12.399026][ C1] component_debug_init+0x17/0x30 [ 12.399198][ C1] do_one_initcall+0x8f/0x1e0 [ 12.399369][ C1] do_initcalls+0x176/0x280 [ 12.399542][ C1] kernel_init_freeable+0x22d/0x300 [ 12.399714][ C1] kernel_init+0x20/0x200 [ 12.399886][ C1] ret_from_fork+0x240/0x320 [ 12.400058][ C1] ret_from_fork_asm+0x1a/0x30 [ 12.400226][ C1] irq event stamp: 264982 [ 12.400358][ C1] hardirqs last enabled at (264982): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.400700][ C1] hardirqs last disabled at (264981): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.401039][ C1] softirqs last enabled at (264076): [] handle_softirqs+0x358/0x620 [ 12.401341][ C1] softirqs last disabled at (264081): [] run_ksoftirqd+0x3f/0x70 [ 12.401641][ C1] [ 12.401641][ C1] other info that might help us debug this: [ 12.401892][ C1] Possible unsafe locking scenario: [ 12.401892][ C1] [ 12.402140][ C1] CPU0 [ 12.402265][ C1] ---- [ 12.402393][ C1] lock(pin_fs_lock); [ 12.402527][ C1] [ 12.402655][ C1] lock(pin_fs_lock); [ 12.402785][ C1] [ 12.402785][ C1] *** DEADLOCK *** [ 12.402785][ C1] [ 12.403034][ C1] 1 lock held by ksoftirqd/1/22: [ 12.403206][ C1] #0: ffffffffb47774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.403516][ C1] [ 12.403516][ C1] stack backtrace: [ 12.403729][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.403733][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.403735][ C1] Call Trace: [ 12.403737][ C1] [ 12.403740][ C1] dump_stack_lvl+0x82/0xd0 [ 12.403745][ C1] print_usage_bug.part.0+0x25f/0x360 [ 12.403750][ C1] mark_lock_irq+0x343/0x400 [ 12.403754][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 12.403759][ C1] ? save_trace+0x52/0x170 [ 12.403763][ C1] mark_lock+0x174/0x2f0 [ 12.403767][ C1] mark_usage+0x46/0x150 [ 12.403771][ C1] __lock_acquire+0x20b/0x7e0 [ 12.403774][ C1] ? __lock_acquire+0x44d/0x7e0 [ 12.403778][ C1] lock_acquire.part.0+0xb6/0x240 [ 12.403782][ C1] ? simple_pin_fs+0x24/0x150 [ 12.403785][ C1] ? rcu_is_watching+0x12/0xc0 [ 12.403790][ C1] ? lock_acquire+0x10c/0x170 [ 12.403793][ C1] ? simple_pin_fs+0x24/0x150 [ 12.403796][ C1] _raw_spin_lock+0x33/0x40 [ 12.403799][ C1] ? simple_pin_fs+0x24/0x150 [ 12.403802][ C1] simple_pin_fs+0x24/0x150 [ 12.403805][ C1] debugfs_remove+0x35/0x70 [ 12.403808][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 12.403813][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.403816][ C1] ? __sk_destruct+0x383/0x780 [ 12.403821][ C1] ? rcu_do_batch+0x34c/0xf20 [ 12.403824][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.403826][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 12.403829][ C1] ? kthread+0x37e/0x600 [ 12.403833][ C1] ? ret_from_fork+0x240/0x320 [ 12.403836][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 12.403838][ C1] ? migrate_enable+0x1f2/0x270 [ 12.403842][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 12.403848][ C1] __put_net+0x19/0x60 [ 12.403852][ C1] __sk_destruct+0x58a/0x780 [ 12.403856][ C1] ? rcu_do_batch+0x34a/0xf20 [ 12.403859][ C1] rcu_do_batch+0x34c/0xf20 [ 12.403864][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.403868][ C1] ? rcu_is_watching+0x12/0xc0 [ 12.403871][ C1] ? note_gp_changes+0x182/0x1e0 [ 12.403874][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.403880][ C1] rcu_core+0x2bb/0x500 [ 12.403884][ C1] handle_softirqs+0x218/0x620 [ 12.403889][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 12.403893][ C1] run_ksoftirqd+0x3f/0x70 [ 12.403896][ C1] smpboot_thread_fn+0x30a/0x960 [ 12.403899][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 12.403902][ C1] kthread+0x37e/0x600 [ 12.403905][ C1] ? __pfx_kthread+0x10/0x10 [ 12.403908][ C1] ? ret_from_fork+0x1b/0x320 [ 12.403911][ C1] ? __lock_release+0x5d/0x170 [ 12.403914][ C1] ? rcu_is_watching+0x12/0xc0 [ 12.403917][ C1] ? __pfx_kthread+0x10/0x10 [ 12.403921][ C1] ret_from_fork+0x240/0x320 [ 12.403924][ C1] ? __pfx_kthread+0x10/0x10 [ 12.403926][ C1] ret_from_fork_asm+0x1a/0x30 [ 12.403933][ C1] [ 12.413563][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.413839][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22, name: ksoftirqd/1 [ 12.414111][ C1] preempt_count: 100, expected: 0 [ 12.414274][ C1] RCU nest depth: 0, expected: 0 [ 12.414440][ C1] INFO: lockdep is turned off. [ 12.414598][ C1] Preemption disabled at: [ 12.414600][ C1] [] handle_softirqs+0xe5/0x620 [ 12.414920][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.414924][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.414925][ C1] Call Trace: [ 12.414927][ C1] [ 12.414929][ C1] dump_stack_lvl+0xb0/0xd0 [ 12.414933][ C1] __might_resched+0x360/0x5a0 [ 12.414940][ C1] down_write+0x72/0x210 [ 12.414944][ C1] ? __pfx_down_write+0x10/0x10 [ 12.414947][ C1] ? simple_recursive_removal+0x33/0x610 [ 12.414951][ C1] ? rcu_is_watching+0x12/0xc0 [ 12.414956][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 12.414960][ C1] simple_recursive_removal+0x6a/0x610 [ 12.414963][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 12.414965][ C1] ? __pfx_remove_one+0x10/0x10 [ 12.414971][ C1] debugfs_remove+0x44/0x70 [ 12.414974][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 12.414977][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.414980][ C1] ? __sk_destruct+0x383/0x780 [ 12.414984][ C1] ? rcu_do_batch+0x34c/0xf20 [ 12.414987][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.414990][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 12.414992][ C1] ? kthread+0x37e/0x600 [ 12.414995][ C1] ? ret_from_fork+0x240/0x320 [ 12.414999][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 12.415001][ C1] ? migrate_enable+0x1f2/0x270 [ 12.415005][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 12.415011][ C1] __put_net+0x19/0x60 [ 12.415014][ C1] __sk_destruct+0x58a/0x780 [ 12.415018][ C1] ? rcu_do_batch+0x34a/0xf20 [ 12.415020][ C1] rcu_do_batch+0x34c/0xf20 [ 12.415026][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.415029][ C1] ? rcu_is_watching+0x12/0xc0 [ 12.415032][ C1] ? note_gp_changes+0x182/0x1e0 [ 12.415035][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.415040][ C1] rcu_core+0x2bb/0x500 [ 12.415044][ C1] handle_softirqs+0x218/0x620 [ 12.415049][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 12.415053][ C1] run_ksoftirqd+0x3f/0x70 [ 12.415056][ C1] smpboot_thread_fn+0x30a/0x960 [ 12.415059][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 12.415062][ C1] kthread+0x37e/0x600 [ 12.415065][ C1] ? __pfx_kthread+0x10/0x10 [ 12.415068][ C1] ? ret_from_fork+0x1b/0x320 [ 12.415071][ C1] ? __lock_release+0x5d/0x170 [ 12.415075][ C1] ? rcu_is_watching+0x12/0xc0 [ 12.415079][ C1] ? __pfx_kthread+0x10/0x10 [ 12.415082][ C1] ret_from_fork+0x240/0x320 [ 12.415085][ C1] ? __pfx_kthread+0x10/0x10 [ 12.415087][ C1] ret_from_fork_asm+0x1a/0x30 [ 12.415094][ C1] [ 12.957131][ T228] connect_ipv6 (228) used greatest stack depth: 24784 bytes left