[ 13.051558][ C3] [ 13.051709][ C3] ================================ [ 13.051914][ C3] WARNING: inconsistent lock state [ 13.052128][ C3] 6.15.0-virtme #1 Not tainted [ 13.052332][ C3] -------------------------------- [ 13.052541][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.052795][ C3] ksoftirqd/3/32 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.053050][ C3] ffffffffb8dc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 13.053412][ C3] {SOFTIRQ-ON-W} state was registered at: [ 13.053618][ C3] __lock_acquire+0x20b/0x7e0 [ 13.053830][ C3] lock_acquire.part.0+0xb6/0x240 [ 13.054032][ C3] _raw_spin_lock+0x33/0x40 [ 13.054240][ C3] simple_pin_fs+0x24/0x150 [ 13.054442][ C3] start_creating.part.0+0x52/0x310 [ 13.054651][ C3] debugfs_create_dir+0x6a/0x540 [ 13.054857][ C3] component_debug_init+0x17/0x30 [ 13.055060][ C3] do_one_initcall+0x8f/0x1e0 [ 13.055268][ C3] do_initcalls+0x176/0x280 [ 13.055475][ C3] kernel_init_freeable+0x22d/0x300 [ 13.055684][ C3] kernel_init+0x20/0x200 [ 13.055884][ C3] ret_from_fork+0x240/0x320 [ 13.056091][ C3] ret_from_fork_asm+0x1a/0x30 [ 13.056293][ C3] irq event stamp: 197982 [ 13.056449][ C3] hardirqs last enabled at (197982): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.056845][ C3] hardirqs last disabled at (197981): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.057242][ C3] softirqs last enabled at (196916): [] handle_softirqs+0x358/0x620 [ 13.057598][ C3] softirqs last disabled at (196921): [] run_ksoftirqd+0x3f/0x70 [ 13.057960][ C3] [ 13.057960][ C3] other info that might help us debug this: [ 13.058266][ C3] Possible unsafe locking scenario: [ 13.058266][ C3] [ 13.058578][ C3] CPU0 [ 13.058732][ C3] ---- [ 13.058886][ C3] lock(pin_fs_lock); [ 13.059040][ C3] [ 13.059194][ C3] lock(pin_fs_lock); [ 13.059348][ C3] [ 13.059348][ C3] *** DEADLOCK *** [ 13.059348][ C3] [ 13.059650][ C3] 1 lock held by ksoftirqd/3/32: [ 13.059853][ C3] #0: ffffffffb8b774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.060219][ C3] [ 13.060219][ C3] stack backtrace: [ 13.060476][ C3] CPU: 3 UID: 0 PID: 32 Comm: ksoftirqd/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.060481][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.060483][ C3] Call Trace: [ 13.060485][ C3] [ 13.060488][ C3] dump_stack_lvl+0x82/0xd0 [ 13.060493][ C3] print_usage_bug.part.0+0x25f/0x360 [ 13.060498][ C3] mark_lock_irq+0x343/0x400 [ 13.060503][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 13.060508][ C3] ? save_trace+0x52/0x170 [ 13.060512][ C3] mark_lock+0x174/0x2f0 [ 13.060516][ C3] mark_usage+0x46/0x150 [ 13.060519][ C3] __lock_acquire+0x20b/0x7e0 [ 13.060523][ C3] ? __lock_acquire+0x44d/0x7e0 [ 13.060527][ C3] lock_acquire.part.0+0xb6/0x240 [ 13.060530][ C3] ? simple_pin_fs+0x24/0x150 [ 13.060534][ C3] ? rcu_is_watching+0x12/0xc0 [ 13.060539][ C3] ? lock_acquire+0x10c/0x170 [ 13.060542][ C3] ? simple_pin_fs+0x24/0x150 [ 13.060545][ C3] _raw_spin_lock+0x33/0x40 [ 13.060548][ C3] ? simple_pin_fs+0x24/0x150 [ 13.060551][ C3] simple_pin_fs+0x24/0x150 [ 13.060554][ C3] debugfs_remove+0x35/0x70 [ 13.060557][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 13.060562][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.060565][ C3] ? __sk_destruct+0x383/0x780 [ 13.060570][ C3] ? rcu_do_batch+0x34c/0xf20 [ 13.060573][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.060575][ C3] ? smpboot_thread_fn+0x30a/0x960 [ 13.060579][ C3] ? kthread+0x37e/0x600 [ 13.060582][ C3] ? ret_from_fork+0x240/0x320 [ 13.060586][ C3] ? ret_from_fork_asm+0x1a/0x30 [ 13.060588][ C3] ? migrate_enable+0x1f2/0x270 [ 13.060592][ C3] ? __pfx_migrate_enable+0x10/0x10 [ 13.060598][ C3] __put_net+0x19/0x60 [ 13.060602][ C3] __sk_destruct+0x58a/0x780 [ 13.060606][ C3] ? rcu_do_batch+0x34a/0xf20 [ 13.060608][ C3] rcu_do_batch+0x34c/0xf20 [ 13.060612][ C3] ? __schedule+0x87b/0x1b00 [ 13.060617][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.060621][ C3] ? rcu_is_watching+0x12/0xc0 [ 13.060624][ C3] ? note_gp_changes+0x182/0x1e0 [ 13.060627][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.060633][ C3] rcu_core+0x2bb/0x500 [ 13.060638][ C3] handle_softirqs+0x218/0x620 [ 13.060642][ C3] ? __pfx_run_ksoftirqd+0x10/0x10 [ 13.060646][ C3] run_ksoftirqd+0x3f/0x70 [ 13.060649][ C3] smpboot_thread_fn+0x30a/0x960 [ 13.060652][ C3] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 13.060655][ C3] kthread+0x37e/0x600 [ 13.060658][ C3] ? __pfx_kthread+0x10/0x10 [ 13.060661][ C3] ? ret_from_fork+0x1b/0x320 [ 13.060663][ C3] ? __lock_release+0x5d/0x170 [ 13.060667][ C3] ? rcu_is_watching+0x12/0xc0 [ 13.060670][ C3] ? __pfx_kthread+0x10/0x10 [ 13.060674][ C3] ret_from_fork+0x240/0x320 [ 13.060676][ C3] ? __pfx_kthread+0x10/0x10 [ 13.060679][ C3] ret_from_fork_asm+0x1a/0x30 [ 13.060685][ C3] [ 13.072303][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 13.072644][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 32, name: ksoftirqd/3 [ 13.072973][ C3] preempt_count: 100, expected: 0 [ 13.073159][ C3] RCU nest depth: 0, expected: 0 [ 13.073345][ C3] INFO: lockdep is turned off. [ 13.073532][ C3] Preemption disabled at: [ 13.073534][ C3] [] handle_softirqs+0xe5/0x620 [ 13.073924][ C3] CPU: 3 UID: 0 PID: 32 Comm: ksoftirqd/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.073928][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.073929][ C3] Call Trace: [ 13.073931][ C3] [ 13.073932][ C3] dump_stack_lvl+0xb0/0xd0 [ 13.073938][ C3] __might_resched+0x360/0x5a0 [ 13.073945][ C3] down_write+0x72/0x210 [ 13.073948][ C3] ? __pfx_down_write+0x10/0x10 [ 13.073951][ C3] ? simple_recursive_removal+0x33/0x610 [ 13.073955][ C3] ? rcu_is_watching+0x12/0xc0 [ 13.073959][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 13.073963][ C3] simple_recursive_removal+0x6a/0x610 [ 13.073966][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 13.073969][ C3] ? __pfx_remove_one+0x10/0x10 [ 13.073974][ C3] debugfs_remove+0x44/0x70 [ 13.073977][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 13.073981][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.073983][ C3] ? __sk_destruct+0x383/0x780 [ 13.073987][ C3] ? rcu_do_batch+0x34c/0xf20 [ 13.073990][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.073993][ C3] ? smpboot_thread_fn+0x30a/0x960 [ 13.073995][ C3] ? kthread+0x37e/0x600 [ 13.073998][ C3] ? ret_from_fork+0x240/0x320 [ 13.074001][ C3] ? ret_from_fork_asm+0x1a/0x30 [ 13.074004][ C3] ? migrate_enable+0x1f2/0x270 [ 13.074008][ C3] ? __pfx_migrate_enable+0x10/0x10 [ 13.074013][ C3] __put_net+0x19/0x60 [ 13.074017][ C3] __sk_destruct+0x58a/0x780 [ 13.074021][ C3] ? rcu_do_batch+0x34a/0xf20 [ 13.074023][ C3] rcu_do_batch+0x34c/0xf20 [ 13.074027][ C3] ? __schedule+0x87b/0x1b00 [ 13.074032][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.074036][ C3] ? rcu_is_watching+0x12/0xc0 [ 13.074039][ C3] ? note_gp_changes+0x182/0x1e0 [ 13.074042][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.074047][ C3] rcu_core+0x2bb/0x500 [ 13.074051][ C3] handle_softirqs+0x218/0x620 [ 13.074055][ C3] ? __pfx_run_ksoftirqd+0x10/0x10 [ 13.074059][ C3] run_ksoftirqd+0x3f/0x70 [ 13.074062][ C3] smpboot_thread_fn+0x30a/0x960 [ 13.074065][ C3] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 13.074068][ C3] kthread+0x37e/0x600 [ 13.074071][ C3] ? __pfx_kthread+0x10/0x10 [ 13.074074][ C3] ? ret_from_fork+0x1b/0x320 [ 13.074077][ C3] ? __lock_release+0x5d/0x170 [ 13.074082][ C3] ? rcu_is_watching+0x12/0xc0 [ 13.074085][ C3] ? __pfx_kthread+0x10/0x10 [ 13.074088][ C3] ret_from_fork+0x240/0x320 [ 13.074092][ C3] ? __pfx_kthread+0x10/0x10 [ 13.074094][ C3] ret_from_fork_asm+0x1a/0x30 [ 13.074101][ C3] [ 13.549201][ C1] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 14.563789][ C1] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 14.565333][ C1] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 15.587901][ C1] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 15.589385][ C1] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 16.611909][ C1] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 16.613352][ C1] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 17.635905][ C1] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 17.637312][ C1] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 18.659916][ C1] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 18.661361][ C1] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 19.683913][ C1] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 20.836038][ T186] make (186) used greatest stack depth: 24288 bytes left