[ 15.748305][ C1] [ 15.748439][ C1] ================================ [ 15.748672][ C1] WARNING: inconsistent lock state [ 15.748875][ C1] 6.15.0-virtme #1 Not tainted [ 15.749058][ C1] -------------------------------- [ 15.749294][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.749520][ C1] ksoftirqd/1/22 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.749749][ C1] ffffffff97dc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.750107][ C1] {SOFTIRQ-ON-W} state was registered at: [ 15.750292][ C1] __lock_acquire+0x20b/0x7e0 [ 15.750519][ C1] lock_acquire.part.0+0xb6/0x240 [ 15.750746][ C1] _raw_spin_lock+0x33/0x40 [ 15.750960][ C1] simple_pin_fs+0x24/0x150 [ 15.751141][ C1] start_creating.part.0+0x52/0x310 [ 15.751330][ C1] debugfs_create_dir+0x6a/0x540 [ 15.751517][ C1] component_debug_init+0x17/0x30 [ 15.751703][ C1] do_one_initcall+0x8f/0x1e0 [ 15.751897][ C1] do_initcalls+0x176/0x280 [ 15.752084][ C1] kernel_init_freeable+0x22d/0x300 [ 15.752293][ C1] kernel_init+0x20/0x200 [ 15.752488][ C1] ret_from_fork+0x240/0x320 [ 15.752691][ C1] ret_from_fork_asm+0x1a/0x30 [ 15.752899][ C1] irq event stamp: 233376 [ 15.753049][ C1] hardirqs last enabled at (233376): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.753444][ C1] hardirqs last disabled at (233375): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.753864][ C1] softirqs last enabled at (233080): [] handle_softirqs+0x358/0x620 [ 15.754231][ C1] softirqs last disabled at (233085): [] run_ksoftirqd+0x3f/0x70 [ 15.754580][ C1] [ 15.754580][ C1] other info that might help us debug this: [ 15.754895][ C1] Possible unsafe locking scenario: [ 15.754895][ C1] [ 15.755198][ C1] CPU0 [ 15.755358][ C1] ---- [ 15.755516][ C1] lock(pin_fs_lock); [ 15.755675][ C1] [ 15.755864][ C1] lock(pin_fs_lock); [ 15.756076][ C1] [ 15.756076][ C1] *** DEADLOCK *** [ 15.756076][ C1] [ 15.756410][ C1] 1 lock held by ksoftirqd/1/22: [ 15.756621][ C1] #0: ffffffff97b774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.757057][ C1] [ 15.757057][ C1] stack backtrace: [ 15.757348][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.757356][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.757359][ C1] Call Trace: [ 15.757362][ C1] [ 15.757366][ C1] dump_stack_lvl+0x82/0xd0 [ 15.757378][ C1] print_usage_bug.part.0+0x25f/0x360 [ 15.757387][ C1] mark_lock_irq+0x343/0x400 [ 15.757395][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.757404][ C1] ? save_trace+0x52/0x170 [ 15.757411][ C1] mark_lock+0x174/0x2f0 [ 15.757418][ C1] mark_usage+0x46/0x150 [ 15.757424][ C1] __lock_acquire+0x20b/0x7e0 [ 15.757430][ C1] ? __lock_acquire+0x44d/0x7e0 [ 15.757437][ C1] lock_acquire.part.0+0xb6/0x240 [ 15.757442][ C1] ? simple_pin_fs+0x24/0x150 [ 15.757449][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.757457][ C1] ? lock_acquire+0x10c/0x170 [ 15.757460][ C1] ? simple_pin_fs+0x24/0x150 [ 15.757463][ C1] _raw_spin_lock+0x33/0x40 [ 15.757467][ C1] ? simple_pin_fs+0x24/0x150 [ 15.757470][ C1] simple_pin_fs+0x24/0x150 [ 15.757473][ C1] debugfs_remove+0x35/0x70 [ 15.757477][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 15.757483][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.757486][ C1] ? __sk_destruct+0x383/0x780 [ 15.757493][ C1] ? rcu_do_batch+0x34c/0xf20 [ 15.757496][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.757499][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 15.757503][ C1] ? kthread+0x37e/0x600 [ 15.757508][ C1] ? ret_from_fork+0x240/0x320 [ 15.757512][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 15.757515][ C1] ? migrate_enable+0x1f2/0x270 [ 15.757521][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 15.757527][ C1] __put_net+0x19/0x60 [ 15.757532][ C1] __sk_destruct+0x58a/0x780 [ 15.757536][ C1] ? rcu_do_batch+0x34a/0xf20 [ 15.757539][ C1] rcu_do_batch+0x34c/0xf20 [ 15.757542][ C1] ? __schedule+0x87b/0x1b00 [ 15.757549][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.757553][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.757556][ C1] ? note_gp_changes+0x182/0x1e0 [ 15.757560][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.757566][ C1] rcu_core+0x2bb/0x500 [ 15.757571][ C1] handle_softirqs+0x218/0x620 [ 15.757577][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 15.757581][ C1] run_ksoftirqd+0x3f/0x70 [ 15.757584][ C1] smpboot_thread_fn+0x30a/0x960 [ 15.757587][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 15.757590][ C1] kthread+0x37e/0x600 [ 15.757593][ C1] ? __pfx_kthread+0x10/0x10 [ 15.757595][ C1] ? ret_from_fork+0x1b/0x320 [ 15.757598][ C1] ? __lock_release+0x5d/0x170 [ 15.757602][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.757605][ C1] ? __pfx_kthread+0x10/0x10 [ 15.757608][ C1] ret_from_fork+0x240/0x320 [ 15.757612][ C1] ? __pfx_kthread+0x10/0x10 [ 15.757614][ C1] ret_from_fork_asm+0x1a/0x30 [ 15.757621][ C1] [ 15.770354][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.770769][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22, name: ksoftirqd/1 [ 15.771220][ C1] preempt_count: 100, expected: 0 [ 15.771439][ C1] RCU nest depth: 0, expected: 0 [ 15.771622][ C1] INFO: lockdep is turned off. [ 15.771855][ C1] Preemption disabled at: [ 15.771857][ C1] [] handle_softirqs+0xe5/0x620 [ 15.772275][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.772280][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.772283][ C1] Call Trace: [ 15.772285][ C1] [ 15.772288][ C1] dump_stack_lvl+0xb0/0xd0 [ 15.772295][ C1] __might_resched+0x360/0x5a0 [ 15.772304][ C1] down_write+0x72/0x210 [ 15.772308][ C1] ? __pfx_down_write+0x10/0x10 [ 15.772311][ C1] ? simple_recursive_removal+0x33/0x610 [ 15.772316][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.772322][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 15.772326][ C1] simple_recursive_removal+0x6a/0x610 [ 15.772329][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 15.772331][ C1] ? __pfx_remove_one+0x10/0x10 [ 15.772338][ C1] debugfs_remove+0x44/0x70 [ 15.772342][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 15.772349][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.772353][ C1] ? __sk_destruct+0x383/0x780 [ 15.772359][ C1] ? rcu_do_batch+0x34c/0xf20 [ 15.772365][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.772370][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 15.772375][ C1] ? kthread+0x37e/0x600 [ 15.772380][ C1] ? ret_from_fork+0x240/0x320 [ 15.772386][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 15.772391][ C1] ? migrate_enable+0x1f2/0x270 [ 15.772397][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 15.772408][ C1] __put_net+0x19/0x60 [ 15.772414][ C1] __sk_destruct+0x58a/0x780 [ 15.772420][ C1] ? rcu_do_batch+0x34a/0xf20 [ 15.772425][ C1] rcu_do_batch+0x34c/0xf20 [ 15.772431][ C1] ? __schedule+0x87b/0x1b00 [ 15.772439][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.772444][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.772448][ C1] ? note_gp_changes+0x182/0x1e0 [ 15.772451][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.772457][ C1] rcu_core+0x2bb/0x500 [ 15.772461][ C1] handle_softirqs+0x218/0x620 [ 15.772467][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 15.772471][ C1] run_ksoftirqd+0x3f/0x70 [ 15.772474][ C1] smpboot_thread_fn+0x30a/0x960 [ 15.772477][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 15.772480][ C1] kthread+0x37e/0x600 [ 15.772484][ C1] ? __pfx_kthread+0x10/0x10 [ 15.772486][ C1] ? ret_from_fork+0x1b/0x320 [ 15.772489][ C1] ? __lock_release+0x5d/0x170 [ 15.772493][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.772497][ C1] ? __pfx_kthread+0x10/0x10 [ 15.772500][ C1] ret_from_fork+0x240/0x320 [ 15.772503][ C1] ? __pfx_kthread+0x10/0x10 [ 15.772506][ C1] ret_from_fork_asm+0x1a/0x30 [ 15.772513][ C1] [ 18.179116][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 18.180118][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 18.181039][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 18.182089][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 18.183005][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 18.333888][ T228] key-management_ (228) used greatest stack depth: 24272 bytes left