[ 13.957850][ C2] [ 13.957994][ C2] ================================ [ 13.958176][ C2] WARNING: inconsistent lock state [ 13.958366][ C2] 6.15.0-rc5-virtme #1 Not tainted [ 13.958564][ C2] -------------------------------- [ 13.958749][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.958981][ C2] ksoftirqd/2/27 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.959209][ C2] ffffffff983bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 13.959550][ C2] {SOFTIRQ-ON-W} state was registered at: [ 13.959732][ C2] __lock_acquire+0x3eb/0x9d0 [ 13.959934][ C2] lock_acquire.part.0+0xb6/0x240 [ 13.960118][ C2] _raw_spin_lock+0x33/0x40 [ 13.960309][ C2] simple_pin_fs+0x24/0x150 [ 13.960495][ C2] start_creating.part.0+0x3f/0x2f0 [ 13.960680][ C2] debugfs_create_dir+0x6a/0x540 [ 13.960863][ C2] component_debug_init+0x17/0x30 [ 13.961059][ C2] do_one_initcall+0x8c/0x1e0 [ 13.961243][ C2] do_initcalls+0x176/0x280 [ 13.961426][ C2] kernel_init_freeable+0x22d/0x300 [ 13.961615][ C2] kernel_init+0x20/0x200 [ 13.961813][ C2] ret_from_fork+0x31/0x70 [ 13.962000][ C2] ret_from_fork_asm+0x1a/0x30 [ 13.962179][ C2] irq event stamp: 201580 [ 13.962315][ C2] hardirqs last enabled at (201580): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.962675][ C2] hardirqs last disabled at (201579): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.963035][ C2] softirqs last enabled at (201026): [] handle_softirqs+0x358/0x620 [ 13.963364][ C2] softirqs last disabled at (201031): [] run_ksoftirqd+0x3f/0x70 [ 13.963700][ C2] [ 13.963700][ C2] other info that might help us debug this: [ 13.963982][ C2] Possible unsafe locking scenario: [ 13.963982][ C2] [ 13.964265][ C2] CPU0 [ 13.964407][ C2] ---- [ 13.964552][ C2] lock(pin_fs_lock); [ 13.964694][ C2] [ 13.964848][ C2] lock(pin_fs_lock); [ 13.964992][ C2] [ 13.964992][ C2] *** DEADLOCK *** [ 13.964992][ C2] [ 13.965276][ C2] 1 lock held by ksoftirqd/2/27: [ 13.965459][ C2] #0: ffffffff98174480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.965799][ C2] [ 13.965799][ C2] stack backtrace: [ 13.966030][ C2] CPU: 2 UID: 0 PID: 27 Comm: ksoftirqd/2 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 13.966034][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.966036][ C2] Call Trace: [ 13.966038][ C2] [ 13.966041][ C2] dump_stack_lvl+0x82/0xd0 [ 13.966047][ C2] print_usage_bug.part.0+0x25f/0x360 [ 13.966051][ C2] mark_lock_irq+0x343/0x400 [ 13.966056][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 13.966060][ C2] ? save_trace+0x52/0x170 [ 13.966065][ C2] mark_lock+0x174/0x2f0 [ 13.966068][ C2] mark_usage+0x46/0x150 [ 13.966071][ C2] __lock_acquire+0x3eb/0x9d0 [ 13.966075][ C2] lock_acquire.part.0+0xb6/0x240 [ 13.966078][ C2] ? simple_pin_fs+0x24/0x150 [ 13.966081][ C2] ? rcu_is_watching+0x12/0xc0 [ 13.966084][ C2] ? lock_acquire+0x10c/0x170 [ 13.966087][ C2] ? simple_pin_fs+0x24/0x150 [ 13.966090][ C2] _raw_spin_lock+0x33/0x40 [ 13.966093][ C2] ? simple_pin_fs+0x24/0x150 [ 13.966095][ C2] simple_pin_fs+0x24/0x150 [ 13.966098][ C2] debugfs_remove+0x35/0x70 [ 13.966102][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 13.966108][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.966111][ C2] ? __sk_destruct+0x383/0x780 [ 13.966116][ C2] ? rcu_do_batch+0x34c/0xf20 [ 13.966120][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.966123][ C2] ? smpboot_thread_fn+0x307/0x960 [ 13.966128][ C2] ? kthread+0x37b/0x600 [ 13.966132][ C2] ? ret_from_fork+0x31/0x70 [ 13.966134][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 13.966138][ C2] ? migrate_enable+0x1f2/0x270 [ 13.966141][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 13.966145][ C2] __put_net+0x19/0x60 [ 13.966149][ C2] __sk_destruct+0x58a/0x780 [ 13.966152][ C2] ? rcu_do_batch+0x34a/0xf20 [ 13.966156][ C2] rcu_do_batch+0x34c/0xf20 [ 13.966161][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.966165][ C2] ? rcu_is_watching+0x12/0xc0 [ 13.966168][ C2] ? note_gp_changes+0x182/0x1e0 [ 13.966171][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.966176][ C2] rcu_core+0x2bb/0x500 [ 13.966180][ C2] handle_softirqs+0x218/0x620 [ 13.966184][ C2] ? __pfx_run_ksoftirqd+0x10/0x10 [ 13.966187][ C2] run_ksoftirqd+0x3f/0x70 [ 13.966190][ C2] smpboot_thread_fn+0x307/0x960 [ 13.966193][ C2] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 13.966197][ C2] kthread+0x37b/0x600 [ 13.966200][ C2] ? __pfx_kthread+0x10/0x10 [ 13.966203][ C2] ? ret_from_fork+0x1b/0x70 [ 13.966205][ C2] ? __lock_release+0x5d/0x170 [ 13.966208][ C2] ? rcu_is_watching+0x12/0xc0 [ 13.966211][ C2] ? __pfx_kthread+0x10/0x10 [ 13.966215][ C2] ret_from_fork+0x31/0x70 [ 13.966217][ C2] ? __pfx_kthread+0x10/0x10 [ 13.966220][ C2] ret_from_fork_asm+0x1a/0x30 [ 13.966227][ C2] [ 13.977112][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 13.977577][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 27, name: ksoftirqd/2 [ 13.977895][ C2] preempt_count: 100, expected: 0 [ 13.978176][ C2] RCU nest depth: 0, expected: 0 [ 13.978377][ C2] INFO: lockdep is turned off. [ 13.978573][ C2] Preemption disabled at: [ 13.978575][ C2] [] handle_softirqs+0xe5/0x620 [ 13.978967][ C2] CPU: 2 UID: 0 PID: 27 Comm: ksoftirqd/2 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 13.978971][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.978973][ C2] Call Trace: [ 13.978975][ C2] [ 13.978977][ C2] dump_stack_lvl+0xb0/0xd0 [ 13.978984][ C2] __might_resched+0x360/0x5a0 [ 13.978990][ C2] down_write+0x72/0x210 [ 13.978994][ C2] ? __pfx_down_write+0x10/0x10 [ 13.978996][ C2] ? simple_recursive_removal+0x3a/0x860 [ 13.979001][ C2] ? rcu_is_watching+0x12/0xc0 [ 13.979005][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 13.979010][ C2] simple_recursive_removal+0x166/0x860 [ 13.979013][ C2] ? __pfx_remove_one+0x10/0x10 [ 13.979018][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 13.979023][ C2] debugfs_remove+0x44/0x70 [ 13.979026][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 13.979032][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.979035][ C2] ? __sk_destruct+0x383/0x780 [ 13.979040][ C2] ? rcu_do_batch+0x34c/0xf20 [ 13.979044][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.979047][ C2] ? smpboot_thread_fn+0x307/0x960 [ 13.979052][ C2] ? kthread+0x37b/0x600 [ 13.979056][ C2] ? ret_from_fork+0x31/0x70 [ 13.979060][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 13.979065][ C2] ? migrate_enable+0x1f2/0x270 [ 13.979068][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 13.979073][ C2] __put_net+0x19/0x60 [ 13.979076][ C2] __sk_destruct+0x58a/0x780 [ 13.979080][ C2] ? rcu_do_batch+0x34a/0xf20 [ 13.979083][ C2] rcu_do_batch+0x34c/0xf20 [ 13.979089][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.979093][ C2] ? rcu_is_watching+0x12/0xc0 [ 13.979095][ C2] ? note_gp_changes+0x182/0x1e0 [ 13.979099][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.979104][ C2] rcu_core+0x2bb/0x500 [ 13.979108][ C2] handle_softirqs+0x218/0x620 [ 13.979112][ C2] ? __pfx_run_ksoftirqd+0x10/0x10 [ 13.979115][ C2] run_ksoftirqd+0x3f/0x70 [ 13.979118][ C2] smpboot_thread_fn+0x307/0x960 [ 13.979121][ C2] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 13.979125][ C2] kthread+0x37b/0x600 [ 13.979129][ C2] ? __pfx_kthread+0x10/0x10 [ 13.979132][ C2] ? ret_from_fork+0x1b/0x70 [ 13.979134][ C2] ? __lock_release+0x5d/0x170 [ 13.979137][ C2] ? rcu_is_watching+0x12/0xc0 [ 13.979140][ C2] ? __pfx_kthread+0x10/0x10 [ 13.979144][ C2] ret_from_fork+0x31/0x70 [ 13.979146][ C2] ? __pfx_kthread+0x10/0x10 [ 13.979149][ C2] ret_from_fork_asm+0x1a/0x30 [ 13.979156][ C2] [ 16.262632][ T229] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 16.264015][ T229] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 16.264956][ T229] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 16.265747][ T229] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 16.266637][ T229] TCP: AO key ifindex 200 != sk bound ifindex 3