[ 15.373097][ C3] [ 15.373297][ C3] ================================ [ 15.373594][ C3] WARNING: inconsistent lock state [ 15.373886][ C3] 6.15.0-virtme #1 Not tainted [ 15.374181][ C3] -------------------------------- [ 15.374474][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.374838][ C3] ksoftirqd/3/32 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.375208][ C3] ffffffff8d7c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.375743][ C3] {SOFTIRQ-ON-W} state was registered at: [ 15.376035][ C3] __lock_acquire+0x20b/0x7e0 [ 15.376339][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.376634][ C3] _raw_spin_lock+0x33/0x40 [ 15.376936][ C3] simple_pin_fs+0x24/0x150 [ 15.377225][ C3] start_creating.part.0+0x52/0x310 [ 15.377523][ C3] debugfs_create_dir+0x6a/0x540 [ 15.377819][ C3] component_debug_init+0x17/0x30 [ 15.378125][ C3] do_one_initcall+0x8f/0x1e0 [ 15.378417][ C3] do_initcalls+0x176/0x280 [ 15.378712][ C3] kernel_init_freeable+0x22d/0x300 [ 15.379011][ C3] kernel_init+0x20/0x200 [ 15.379305][ C3] ret_from_fork+0x240/0x320 [ 15.379601][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.379890][ C3] irq event stamp: 171836 [ 15.380106][ C3] hardirqs last enabled at (171836): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.380690][ C3] hardirqs last disabled at (171835): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.381275][ C3] softirqs last enabled at (171620): [] handle_softirqs+0x358/0x620 [ 15.381804][ C3] softirqs last disabled at (171625): [] run_ksoftirqd+0x3f/0x70 [ 15.382322][ C3] [ 15.382322][ C3] other info that might help us debug this: [ 15.382756][ C3] Possible unsafe locking scenario: [ 15.382756][ C3] [ 15.383186][ C3] CPU0 [ 15.383405][ C3] ---- [ 15.383651][ C3] lock(pin_fs_lock); [ 15.383880][ C3] [ 15.384116][ C3] lock(pin_fs_lock); [ 15.384339][ C3] [ 15.384339][ C3] *** DEADLOCK *** [ 15.384339][ C3] [ 15.384779][ C3] 1 lock held by ksoftirqd/3/32: [ 15.385071][ C3] #0: ffffffff8d5774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.385592][ C3] [ 15.385592][ C3] stack backtrace: [ 15.385956][ C3] CPU: 3 UID: 0 PID: 32 Comm: ksoftirqd/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.385964][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.385967][ C3] Call Trace: [ 15.385970][ C3] [ 15.385974][ C3] dump_stack_lvl+0x82/0xd0 [ 15.385984][ C3] print_usage_bug.part.0+0x25f/0x360 [ 15.385993][ C3] mark_lock_irq+0x343/0x400 [ 15.386002][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.386010][ C3] ? save_trace+0x52/0x170 [ 15.386017][ C3] mark_lock+0x174/0x2f0 [ 15.386024][ C3] mark_usage+0x46/0x150 [ 15.386030][ C3] __lock_acquire+0x20b/0x7e0 [ 15.386036][ C3] ? __lock_acquire+0x44d/0x7e0 [ 15.386044][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.386049][ C3] ? simple_pin_fs+0x24/0x150 [ 15.386056][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.386063][ C3] ? lock_acquire+0x10c/0x170 [ 15.386067][ C3] ? simple_pin_fs+0x24/0x150 [ 15.386074][ C3] _raw_spin_lock+0x33/0x40 [ 15.386080][ C3] ? simple_pin_fs+0x24/0x150 [ 15.386085][ C3] simple_pin_fs+0x24/0x150 [ 15.386090][ C3] debugfs_remove+0x35/0x70 [ 15.386097][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.386106][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.386110][ C3] ? __sk_destruct+0x383/0x780 [ 15.386119][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.386125][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.386129][ C3] ? smpboot_thread_fn+0x30a/0x960 [ 15.386134][ C3] ? kthread+0x37e/0x600 [ 15.386140][ C3] ? ret_from_fork+0x240/0x320 [ 15.386146][ C3] ? ret_from_fork_asm+0x1a/0x30 [ 15.386151][ C3] ? migrate_enable+0x1f2/0x270 [ 15.386157][ C3] ? __pfx_migrate_enable+0x10/0x10 [ 15.386168][ C3] __put_net+0x19/0x60 [ 15.386175][ C3] __sk_destruct+0x58a/0x780 [ 15.386182][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.386186][ C3] rcu_do_batch+0x34c/0xf20 [ 15.386195][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.386202][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.386208][ C3] ? note_gp_changes+0x182/0x1e0 [ 15.386212][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.386222][ C3] rcu_core+0x2bb/0x500 [ 15.386231][ C3] handle_softirqs+0x218/0x620 [ 15.386240][ C3] ? __pfx_run_ksoftirqd+0x10/0x10 [ 15.386247][ C3] run_ksoftirqd+0x3f/0x70 [ 15.386252][ C3] smpboot_thread_fn+0x30a/0x960 [ 15.386258][ C3] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 15.386264][ C3] kthread+0x37e/0x600 [ 15.386270][ C3] ? __pfx_kthread+0x10/0x10 [ 15.386274][ C3] ? ret_from_fork+0x1b/0x320 [ 15.386279][ C3] ? __lock_release+0x5d/0x170 [ 15.386285][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.386291][ C3] ? __pfx_kthread+0x10/0x10 [ 15.386297][ C3] ret_from_fork+0x240/0x320 [ 15.386302][ C3] ? __pfx_kthread+0x10/0x10 [ 15.386306][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.386318][ C3] [ 15.404336][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.404815][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 32, name: ksoftirqd/3 [ 15.405283][ C3] preempt_count: 100, expected: 0 [ 15.405572][ C3] RCU nest depth: 0, expected: 0 [ 15.406355][ C3] INFO: lockdep is turned off. [ 15.406653][ C3] Preemption disabled at: [ 15.406657][ C3] [] handle_softirqs+0xe5/0x620 [ 15.407222][ C3] CPU: 3 UID: 0 PID: 32 Comm: ksoftirqd/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.407230][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.407234][ C3] Call Trace: [ 15.407236][ C3] [ 15.407240][ C3] dump_stack_lvl+0xb0/0xd0 [ 15.407250][ C3] __might_resched+0x360/0x5a0 [ 15.407261][ C3] down_write+0x72/0x210 [ 15.407267][ C3] ? __pfx_down_write+0x10/0x10 [ 15.407272][ C3] ? simple_recursive_removal+0x33/0x610 [ 15.407279][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.407287][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.407293][ C3] simple_recursive_removal+0x6a/0x610 [ 15.407299][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.407304][ C3] ? __pfx_remove_one+0x10/0x10 [ 15.407313][ C3] debugfs_remove+0x44/0x70 [ 15.407318][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.407325][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.407330][ C3] ? __sk_destruct+0x383/0x780 [ 15.407336][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.407342][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.407347][ C3] ? smpboot_thread_fn+0x30a/0x960 [ 15.407351][ C3] ? kthread+0x37e/0x600 [ 15.407357][ C3] ? ret_from_fork+0x240/0x320 [ 15.407363][ C3] ? ret_from_fork_asm+0x1a/0x30 [ 15.407368][ C3] ? migrate_enable+0x1f2/0x270 [ 15.407375][ C3] ? __pfx_migrate_enable+0x10/0x10 [ 15.407386][ C3] __put_net+0x19/0x60 [ 15.407392][ C3] __sk_destruct+0x58a/0x780 [ 15.407398][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.407403][ C3] rcu_do_batch+0x34c/0xf20 [ 15.407413][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.407420][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.407425][ C3] ? note_gp_changes+0x182/0x1e0 [ 15.407430][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.407440][ C3] rcu_core+0x2bb/0x500 [ 15.407447][ C3] handle_softirqs+0x218/0x620 [ 15.407455][ C3] ? __pfx_run_ksoftirqd+0x10/0x10 [ 15.407461][ C3] run_ksoftirqd+0x3f/0x70 [ 15.407466][ C3] smpboot_thread_fn+0x30a/0x960 [ 15.407471][ C3] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 15.407477][ C3] kthread+0x37e/0x600 [ 15.407483][ C3] ? __pfx_kthread+0x10/0x10 [ 15.407487][ C3] ? ret_from_fork+0x1b/0x320 [ 15.407492][ C3] ? __lock_release+0x5d/0x170 [ 15.407499][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.407504][ C3] ? __pfx_kthread+0x10/0x10 [ 15.407511][ C3] ret_from_fork+0x240/0x320 [ 15.407516][ C3] ? __pfx_kthread+0x10/0x10 [ 15.407521][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.407535][ C3] [ 17.713896][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 17.714781][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 17.716082][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 17.716867][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 17.723906][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3