[ 12.883432][ C3] [ 12.883647][ C3] ================================ [ 12.883840][ C3] WARNING: inconsistent lock state [ 12.884033][ C3] 6.15.0-virtme #1 Not tainted [ 12.884220][ C3] -------------------------------- [ 12.884409][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.884643][ C3] kworker/u20:1/232 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.884880][ C3] ffffffff85dc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.885225][ C3] {SOFTIRQ-ON-W} state was registered at: [ 12.885410][ C3] __lock_acquire+0x20b/0x7e0 [ 12.885610][ C3] lock_acquire.part.0+0xb6/0x240 [ 12.885802][ C3] _raw_spin_lock+0x33/0x40 [ 12.885993][ C3] simple_pin_fs+0x24/0x150 [ 12.886175][ C3] start_creating.part.0+0x52/0x310 [ 12.886359][ C3] debugfs_create_dir+0x6a/0x540 [ 12.886542][ C3] component_debug_init+0x17/0x30 [ 12.886742][ C3] do_one_initcall+0x8f/0x1e0 [ 12.886932][ C3] do_initcalls+0x176/0x280 [ 12.887119][ C3] kernel_init_freeable+0x22d/0x300 [ 12.887301][ C3] kernel_init+0x20/0x200 [ 12.887484][ C3] ret_from_fork+0x240/0x320 [ 12.887675][ C3] ret_from_fork_asm+0x1a/0x30 [ 12.887861][ C3] irq event stamp: 4226 [ 12.888001][ C3] hardirqs last enabled at (4226): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.888370][ C3] hardirqs last disabled at (4225): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.888696][ C3] softirqs last enabled at (3088): [] fpu_flush_thread+0x2b7/0x390 [ 12.889021][ C3] softirqs last disabled at (3089): [] do_softirq+0xb1/0xe0 [ 12.889350][ C3] [ 12.889350][ C3] other info that might help us debug this: [ 12.889626][ C3] Possible unsafe locking scenario: [ 12.889626][ C3] [ 12.889896][ C3] CPU0 [ 12.890035][ C3] ---- [ 12.890175][ C3] lock(pin_fs_lock); [ 12.890319][ C3] [ 12.890463][ C3] lock(pin_fs_lock); [ 12.890607][ C3] [ 12.890607][ C3] *** DEADLOCK *** [ 12.890607][ C3] [ 12.890878][ C3] 3 locks held by kworker/u20:1/232: [ 12.891068][ C3] #0: ffff88800b5999b8 (&sig->cred_guard_mutex){+.+.}-{4:4}, at: bprm_execve+0x4f/0x490 [ 12.891404][ C3] #1: ffff88800b599a50 (&sig->exec_update_lock){++++}-{4:4}, at: exec_mmap+0x8c/0x840 [ 12.891733][ C3] #2: ffffffff85b774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.892063][ C3] [ 12.892063][ C3] stack backtrace: [ 12.892300][ C3] CPU: 3 UID: 0 PID: 232 Comm: kworker/u20:1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.892304][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.892309][ C3] Call Trace: [ 12.892314][ C3] [ 12.892316][ C3] dump_stack_lvl+0x82/0xd0 [ 12.892322][ C3] print_usage_bug.part.0+0x25f/0x360 [ 12.892327][ C3] mark_lock_irq+0x343/0x400 [ 12.892331][ C3] ? rcu_read_lock_any_held+0x43/0xb0 [ 12.892336][ C3] ? validate_chain+0x166/0x4d0 [ 12.892339][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 12.892345][ C3] mark_lock+0x174/0x2f0 [ 12.892349][ C3] mark_usage+0x46/0x150 [ 12.892353][ C3] __lock_acquire+0x20b/0x7e0 [ 12.892356][ C3] ? __lock_acquire+0x44d/0x7e0 [ 12.892360][ C3] lock_acquire.part.0+0xb6/0x240 [ 12.892364][ C3] ? simple_pin_fs+0x24/0x150 [ 12.892367][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.892371][ C3] ? lock_acquire+0x10c/0x170 [ 12.892374][ C3] ? simple_pin_fs+0x24/0x150 [ 12.892378][ C3] _raw_spin_lock+0x33/0x40 [ 12.892381][ C3] ? simple_pin_fs+0x24/0x150 [ 12.892384][ C3] simple_pin_fs+0x24/0x150 [ 12.892387][ C3] debugfs_remove+0x35/0x70 [ 12.892390][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 12.892398][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.892400][ C3] ? __sk_destruct+0x383/0x780 [ 12.892410][ C3] ? rcu_do_batch+0x34c/0xf20 [ 12.892413][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.892415][ C3] ? __local_bh_enable_ip+0x105/0x130 [ 12.892418][ C3] ? flush_thread+0x32/0x90 [ 12.892421][ C3] ? begin_new_exec+0x619/0x15f0 [ 12.892424][ C3] ? load_elf_binary+0x634/0x2960 [ 12.892429][ C3] ? exec_binprm+0x255/0x640 [ 12.892432][ C3] ? bprm_execve+0x1af/0x490 [ 12.892434][ C3] ? kernel_execve+0x252/0x2f0 [ 12.892436][ C3] ? call_usermodehelper_exec_async+0x23e/0x460 [ 12.892440][ C3] ? ret_from_fork+0x240/0x320 [ 12.892443][ C3] ? ret_from_fork_asm+0x1a/0x30 [ 12.892448][ C3] __put_net+0x19/0x60 [ 12.892454][ C3] __sk_destruct+0x58a/0x780 [ 12.892458][ C3] ? rcu_do_batch+0x34a/0xf20 [ 12.892460][ C3] rcu_do_batch+0x34c/0xf20 [ 12.892465][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.892469][ C3] ? mark_held_locks+0x49/0x80 [ 12.892472][ C3] ? note_gp_changes+0x182/0x1e0 [ 12.892475][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.892481][ C3] rcu_core+0x2bb/0x500 [ 12.892486][ C3] handle_softirqs+0x218/0x620 [ 12.892490][ C3] ? fpu_flush_thread+0x2b7/0x390 [ 12.892493][ C3] do_softirq+0xb1/0xe0 [ 12.892497][ C3] [ 12.892498][ C3] [ 12.892499][ C3] __local_bh_enable_ip+0x105/0x130 [ 12.892503][ C3] flush_thread+0x32/0x90 [ 12.892506][ C3] begin_new_exec+0x619/0x15f0 [ 12.892511][ C3] load_elf_binary+0x634/0x2960 [ 12.892516][ C3] ? __lock_acquire+0x44d/0x7e0 [ 12.892521][ C3] ? find_held_lock+0x2b/0x80 [ 12.892524][ C3] ? __pfx_load_elf_binary+0x10/0x10 [ 12.892527][ C3] ? exec_binprm+0x237/0x640 [ 12.892531][ C3] exec_binprm+0x255/0x640 [ 12.892536][ C3] ? __pfx_exec_binprm+0x10/0x10 [ 12.892538][ C3] ? bprm_execve+0x93/0x490 [ 12.892543][ C3] bprm_execve+0x1af/0x490 [ 12.892546][ C3] kernel_execve+0x252/0x2f0 [ 12.892550][ C3] call_usermodehelper_exec_async+0x23e/0x460 [ 12.892553][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.892556][ C3] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.892559][ C3] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.892562][ C3] ret_from_fork+0x240/0x320 [ 12.892565][ C3] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.892569][ C3] ret_from_fork_asm+0x1a/0x30 [ 12.892575][ C3] [ 12.905898][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.906191][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 232, name: kworker/u20:1 [ 12.906495][ C3] preempt_count: 101, expected: 0 [ 12.906664][ C3] RCU nest depth: 0, expected: 0 [ 12.906847][ C3] INFO: lockdep is turned off. [ 12.907019][ C3] Preemption disabled at: [ 12.907021][ C3] [] fpu_flush_thread+0x21f/0x390 [ 12.907372][ C3] CPU: 3 UID: 0 PID: 232 Comm: kworker/u20:1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.907376][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.907378][ C3] Call Trace: [ 12.907379][ C3] [ 12.907381][ C3] dump_stack_lvl+0xb0/0xd0 [ 12.907387][ C3] __might_resched+0x360/0x5a0 [ 12.907396][ C3] down_write+0x72/0x210 [ 12.907399][ C3] ? __pfx_down_write+0x10/0x10 [ 12.907402][ C3] ? simple_recursive_removal+0x33/0x610 [ 12.907406][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.907412][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 12.907416][ C3] simple_recursive_removal+0x6a/0x610 [ 12.907419][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 12.907422][ C3] ? __pfx_remove_one+0x10/0x10 [ 12.907427][ C3] debugfs_remove+0x44/0x70 [ 12.907430][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 12.907434][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.907436][ C3] ? __sk_destruct+0x383/0x780 [ 12.907440][ C3] ? rcu_do_batch+0x34c/0xf20 [ 12.907443][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.907446][ C3] ? __local_bh_enable_ip+0x105/0x130 [ 12.907450][ C3] ? flush_thread+0x32/0x90 [ 12.907453][ C3] ? begin_new_exec+0x619/0x15f0 [ 12.907456][ C3] ? load_elf_binary+0x634/0x2960 [ 12.907459][ C3] ? exec_binprm+0x255/0x640 [ 12.907461][ C3] ? bprm_execve+0x1af/0x490 [ 12.907463][ C3] ? kernel_execve+0x252/0x2f0 [ 12.907465][ C3] ? call_usermodehelper_exec_async+0x23e/0x460 [ 12.907469][ C3] ? ret_from_fork+0x240/0x320 [ 12.907472][ C3] ? ret_from_fork_asm+0x1a/0x30 [ 12.907477][ C3] __put_net+0x19/0x60 [ 12.907481][ C3] __sk_destruct+0x58a/0x780 [ 12.907485][ C3] ? rcu_do_batch+0x34a/0xf20 [ 12.907487][ C3] rcu_do_batch+0x34c/0xf20 [ 12.907492][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.907496][ C3] ? mark_held_locks+0x49/0x80 [ 12.907500][ C3] ? note_gp_changes+0x182/0x1e0 [ 12.907503][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.907508][ C3] rcu_core+0x2bb/0x500 [ 12.907513][ C3] handle_softirqs+0x218/0x620 [ 12.907517][ C3] ? fpu_flush_thread+0x2b7/0x390 [ 12.907521][ C3] do_softirq+0xb1/0xe0 [ 12.907524][ C3] [ 12.907525][ C3] [ 12.907526][ C3] __local_bh_enable_ip+0x105/0x130 [ 12.907530][ C3] flush_thread+0x32/0x90 [ 12.907533][ C3] begin_new_exec+0x619/0x15f0 [ 12.907538][ C3] load_elf_binary+0x634/0x2960 [ 12.907542][ C3] ? __lock_acquire+0x44d/0x7e0 [ 12.907548][ C3] ? find_held_lock+0x2b/0x80 [ 12.907551][ C3] ? __pfx_load_elf_binary+0x10/0x10 [ 12.907553][ C3] ? exec_binprm+0x237/0x640 [ 12.907558][ C3] exec_binprm+0x255/0x640 [ 12.907562][ C3] ? __pfx_exec_binprm+0x10/0x10 [ 12.907565][ C3] ? bprm_execve+0x93/0x490 [ 12.907569][ C3] bprm_execve+0x1af/0x490 [ 12.907573][ C3] kernel_execve+0x252/0x2f0 [ 12.907576][ C3] call_usermodehelper_exec_async+0x23e/0x460 [ 12.907579][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.907583][ C3] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.907585][ C3] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.907589][ C3] ret_from_fork+0x240/0x320 [ 12.907591][ C3] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.907595][ C3] ret_from_fork_asm+0x1a/0x30 [ 12.907601][ C3] [ 14.997038][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 14.997914][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 14.998804][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 14.999876][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 15.000726][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3