[ 14.672292][ T232] modprobe (232) used greatest stack depth: 24576 bytes left [ 14.723065][ C1] [ 14.723284][ C1] ================================ [ 14.723572][ C1] WARNING: inconsistent lock state [ 14.723863][ C1] 6.15.0-rc7-virtme #1 Not tainted [ 14.724152][ C1] -------------------------------- [ 14.724430][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.724787][ C1] ksoftirqd/1/22 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.725150][ C1] ffffffff8c9bff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.725663][ C1] {SOFTIRQ-ON-W} state was registered at: [ 14.725956][ C1] __lock_acquire+0x3eb/0x9d0 [ 14.726253][ C1] lock_acquire.part.0+0xb6/0x240 [ 14.726541][ C1] _raw_spin_lock+0x33/0x40 [ 14.726840][ C1] simple_pin_fs+0x24/0x150 [ 14.727146][ C1] start_creating.part.0+0x3f/0x2f0 [ 14.727456][ C1] debugfs_create_dir+0x6a/0x540 [ 14.727768][ C1] component_debug_init+0x17/0x30 [ 14.728078][ C1] do_one_initcall+0x8f/0x1e0 [ 14.728388][ C1] do_initcalls+0x176/0x280 [ 14.728694][ C1] kernel_init_freeable+0x22d/0x300 [ 14.729005][ C1] kernel_init+0x20/0x200 [ 14.729317][ C1] ret_from_fork+0x31/0x70 [ 14.729627][ C1] ret_from_fork_asm+0x1a/0x30 [ 14.729933][ C1] irq event stamp: 239482 [ 14.730166][ C1] hardirqs last enabled at (239482): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.730782][ C1] hardirqs last disabled at (239481): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.731340][ C1] softirqs last enabled at (239044): [] handle_softirqs+0x358/0x620 [ 14.731763][ C1] softirqs last disabled at (239049): [] run_ksoftirqd+0x3f/0x70 [ 14.732187][ C1] [ 14.732187][ C1] other info that might help us debug this: [ 14.732544][ C1] Possible unsafe locking scenario: [ 14.732544][ C1] [ 14.732895][ C1] CPU0 [ 14.733092][ C1] ---- [ 14.733268][ C1] lock(pin_fs_lock); [ 14.733453][ C1] [ 14.733637][ C1] lock(pin_fs_lock); [ 14.733826][ C1] [ 14.733826][ C1] *** DEADLOCK *** [ 14.733826][ C1] [ 14.734174][ C1] 1 lock held by ksoftirqd/1/22: [ 14.734409][ C1] #0: ffffffff8c7749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.734841][ C1] [ 14.734841][ C1] stack backtrace: [ 14.735141][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 14.735147][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.735150][ C1] Call Trace: [ 14.735153][ C1] [ 14.735158][ C1] dump_stack_lvl+0x82/0xd0 [ 14.735167][ C1] print_usage_bug.part.0+0x25f/0x360 [ 14.735175][ C1] mark_lock_irq+0x343/0x400 [ 14.735180][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.735187][ C1] ? save_trace+0x52/0x170 [ 14.735195][ C1] mark_lock+0x174/0x2f0 [ 14.735199][ C1] mark_usage+0x46/0x150 [ 14.735203][ C1] __lock_acquire+0x3eb/0x9d0 [ 14.735209][ C1] lock_acquire.part.0+0xb6/0x240 [ 14.735213][ C1] ? simple_pin_fs+0x24/0x150 [ 14.735219][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.735223][ C1] ? lock_acquire+0x10c/0x170 [ 14.735226][ C1] ? simple_pin_fs+0x24/0x150 [ 14.735231][ C1] _raw_spin_lock+0x33/0x40 [ 14.735235][ C1] ? simple_pin_fs+0x24/0x150 [ 14.735239][ C1] simple_pin_fs+0x24/0x150 [ 14.735243][ C1] debugfs_remove+0x35/0x70 [ 14.735249][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 14.735257][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.735261][ C1] ? __sk_destruct+0x383/0x780 [ 14.735269][ C1] ? rcu_do_batch+0x34f/0xf20 [ 14.735273][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.735277][ C1] ? smpboot_thread_fn+0x307/0x960 [ 14.735284][ C1] ? kthread+0x37b/0x600 [ 14.735290][ C1] ? ret_from_fork+0x31/0x70 [ 14.735295][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 14.735301][ C1] ? migrate_enable+0x1f2/0x270 [ 14.735305][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 14.735313][ C1] __put_net+0x19/0x60 [ 14.735318][ C1] __sk_destruct+0x58a/0x780 [ 14.735322][ C1] ? rcu_do_batch+0x34a/0xf20 [ 14.735327][ C1] rcu_do_batch+0x34f/0xf20 [ 14.735334][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.735339][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.735343][ C1] ? note_gp_changes+0x182/0x1e0 [ 14.735346][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.735354][ C1] rcu_core+0x2bb/0x500 [ 14.735359][ C1] handle_softirqs+0x218/0x620 [ 14.735365][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 14.735369][ C1] run_ksoftirqd+0x3f/0x70 [ 14.735373][ C1] smpboot_thread_fn+0x307/0x960 [ 14.735377][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 14.735383][ C1] kthread+0x37b/0x600 [ 14.735387][ C1] ? __pfx_kthread+0x10/0x10 [ 14.735391][ C1] ? ret_from_fork+0x1b/0x70 [ 14.735394][ C1] ? __lock_release+0x5d/0x170 [ 14.735398][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.735401][ C1] ? __pfx_kthread+0x10/0x10 [ 14.735407][ C1] ret_from_fork+0x31/0x70 [ 14.735411][ C1] ? __pfx_kthread+0x10/0x10 [ 14.735415][ C1] ret_from_fork_asm+0x1a/0x30 [ 14.735425][ C1] [ 14.746459][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.746782][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22, name: ksoftirqd/1 [ 14.747181][ C1] preempt_count: 100, expected: 0 [ 14.747356][ C1] RCU nest depth: 0, expected: 0 [ 14.747552][ C1] INFO: lockdep is turned off. [ 14.747728][ C1] Preemption disabled at: [ 14.747730][ C1] [] handle_softirqs+0xe5/0x620 [ 14.748186][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 14.748192][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.748194][ C1] Call Trace: [ 14.748197][ C1] [ 14.748200][ C1] dump_stack_lvl+0xb0/0xd0 [ 14.748209][ C1] __might_resched+0x360/0x5a0 [ 14.748217][ C1] down_write+0x72/0x210 [ 14.748222][ C1] ? __pfx_down_write+0x10/0x10 [ 14.748225][ C1] ? simple_recursive_removal+0x3a/0x860 [ 14.748231][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.748237][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 14.748243][ C1] simple_recursive_removal+0x166/0x860 [ 14.748246][ C1] ? __pfx_remove_one+0x10/0x10 [ 14.748253][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 14.748258][ C1] debugfs_remove+0x44/0x70 [ 14.748261][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 14.748268][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.748272][ C1] ? __sk_destruct+0x383/0x780 [ 14.748278][ C1] ? rcu_do_batch+0x34f/0xf20 [ 14.748284][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.748287][ C1] ? smpboot_thread_fn+0x307/0x960 [ 14.748294][ C1] ? kthread+0x37b/0x600 [ 14.748299][ C1] ? ret_from_fork+0x31/0x70 [ 14.748304][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 14.748310][ C1] ? migrate_enable+0x1f2/0x270 [ 14.748314][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 14.748320][ C1] __put_net+0x19/0x60 [ 14.748325][ C1] __sk_destruct+0x58a/0x780 [ 14.748329][ C1] ? rcu_do_batch+0x34a/0xf20 [ 14.748332][ C1] rcu_do_batch+0x34f/0xf20 [ 14.748338][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.748343][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.748345][ C1] ? note_gp_changes+0x182/0x1e0 [ 14.748348][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.748354][ C1] rcu_core+0x2bb/0x500 [ 14.748358][ C1] handle_softirqs+0x218/0x620 [ 14.748363][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 14.748366][ C1] run_ksoftirqd+0x3f/0x70 [ 14.748369][ C1] smpboot_thread_fn+0x307/0x960 [ 14.748373][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 14.748377][ C1] kthread+0x37b/0x600 [ 14.748381][ C1] ? __pfx_kthread+0x10/0x10 [ 14.748384][ C1] ? ret_from_fork+0x1b/0x70 [ 14.748387][ C1] ? __lock_release+0x5d/0x170 [ 14.748390][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.748393][ C1] ? __pfx_kthread+0x10/0x10 [ 14.748397][ C1] ret_from_fork+0x31/0x70 [ 14.748400][ C1] ? __pfx_kthread+0x10/0x10 [ 14.748406][ C1] ret_from_fork_asm+0x1a/0x30 [ 14.748418][ C1] [ 17.152712][ T231] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 17.153830][ T231] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 17.154950][ T231] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 17.156042][ T231] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 17.156980][ T231] TCP: AO key ifindex 200 != sk bound ifindex 3