[ 12.941444][ C2] [ 12.941596][ C2] ================================ [ 12.941816][ C2] WARNING: inconsistent lock state [ 12.942032][ C2] 6.15.0-virtme #1 Not tainted [ 12.942249][ C2] -------------------------------- [ 12.942472][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.942743][ C2] kworker/u19:2/232 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.943016][ C2] ffffffffb5dc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.943409][ C2] {SOFTIRQ-ON-W} state was registered at: [ 12.943628][ C2] __lock_acquire+0x20b/0x7e0 [ 12.943855][ C2] lock_acquire.part.0+0xb6/0x240 [ 12.944077][ C2] _raw_spin_lock+0x33/0x40 [ 12.944300][ C2] simple_pin_fs+0x24/0x150 [ 12.944517][ C2] start_creating.part.0+0x52/0x310 [ 12.944738][ C2] debugfs_create_dir+0x6a/0x540 [ 12.944959][ C2] component_debug_init+0x17/0x30 [ 12.945180][ C2] do_one_initcall+0x8f/0x1e0 [ 12.945401][ C2] do_initcalls+0x176/0x280 [ 12.945620][ C2] kernel_init_freeable+0x22d/0x300 [ 12.945840][ C2] kernel_init+0x20/0x200 [ 12.946061][ C2] ret_from_fork+0x240/0x320 [ 12.946280][ C2] ret_from_fork_asm+0x1a/0x30 [ 12.946497][ C2] irq event stamp: 3312 [ 12.946663][ C2] hardirqs last enabled at (3312): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.947108][ C2] hardirqs last disabled at (3311): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.947492][ C2] softirqs last enabled at (2704): [] handle_softirqs+0x358/0x620 [ 12.947873][ C2] softirqs last disabled at (3233): [] __irq_exit_rcu+0xfa/0x160 [ 12.948253][ C2] [ 12.948253][ C2] other info that might help us debug this: [ 12.948575][ C2] Possible unsafe locking scenario: [ 12.948575][ C2] [ 12.948895][ C2] CPU0 [ 12.949056][ C2] ---- [ 12.949217][ C2] lock(pin_fs_lock); [ 12.949385][ C2] [ 12.949547][ C2] lock(pin_fs_lock); [ 12.949710][ C2] [ 12.949710][ C2] *** DEADLOCK *** [ 12.949710][ C2] [ 12.950030][ C2] 3 locks held by kworker/u19:2/232: [ 12.950248][ C2] #0: ffff888009af0c38 (&sig->cred_guard_mutex){+.+.}-{4:4}, at: bprm_execve+0x4f/0x490 [ 12.950635][ C2] #1: ffff8880016be9b8 (&mapping->i_mmap_rwsem){++++}-{4:4}, at: unmap_mapping_pages+0xa6/0x240 [ 12.951079][ C2] #2: ffffffffb5b774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.951462][ C2] [ 12.951462][ C2] stack backtrace: [ 12.951734][ C2] CPU: 2 UID: 0 PID: 232 Comm: kworker/u19:2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.951738][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.951740][ C2] Call Trace: [ 12.951742][ C2] [ 12.951745][ C2] dump_stack_lvl+0x82/0xd0 [ 12.951750][ C2] print_usage_bug.part.0+0x25f/0x360 [ 12.951755][ C2] mark_lock_irq+0x343/0x400 [ 12.951760][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 12.951765][ C2] ? save_trace+0x52/0x170 [ 12.951769][ C2] mark_lock+0x174/0x2f0 [ 12.951773][ C2] mark_usage+0x46/0x150 [ 12.951776][ C2] __lock_acquire+0x20b/0x7e0 [ 12.951780][ C2] ? __lock_acquire+0x44d/0x7e0 [ 12.951784][ C2] lock_acquire.part.0+0xb6/0x240 [ 12.951788][ C2] ? simple_pin_fs+0x24/0x150 [ 12.951791][ C2] ? rcu_is_watching+0x12/0xc0 [ 12.951796][ C2] ? lock_acquire+0x10c/0x170 [ 12.951798][ C2] ? simple_pin_fs+0x24/0x150 [ 12.951802][ C2] _raw_spin_lock+0x33/0x40 [ 12.951805][ C2] ? simple_pin_fs+0x24/0x150 [ 12.951808][ C2] simple_pin_fs+0x24/0x150 [ 12.951811][ C2] debugfs_remove+0x35/0x70 [ 12.951814][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 12.951819][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.951821][ C2] ? __sk_destruct+0x383/0x780 [ 12.951827][ C2] ? rcu_do_batch+0x34c/0xf20 [ 12.951830][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.951832][ C2] ? irq_exit_rcu+0xe/0x30 [ 12.951835][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.951840][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.951843][ C2] ? vma_interval_tree_iter_next+0x97/0x250 [ 12.951847][ C2] ? unmap_mapping_pages+0x1bb/0x240 [ 12.951850][ C2] ? invalidate_inode_pages2_range+0x486/0x8c0 [ 12.951855][ C2] ? fuse_open+0x423/0x6e0 [ 12.951858][ C2] ? do_dentry_open+0x433/0x10a0 [ 12.951861][ C2] ? vfs_open+0x82/0x350 [ 12.951865][ C2] ? backing_file_open+0x8a/0xf0 [ 12.951869][ C2] ? ovl_open_realfile+0x221/0x330 [ 12.951876][ C2] __put_net+0x19/0x60 [ 12.951880][ C2] __sk_destruct+0x58a/0x780 [ 12.951884][ C2] ? rcu_do_batch+0x34a/0xf20 [ 12.951887][ C2] rcu_do_batch+0x34c/0xf20 [ 12.951892][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.951896][ C2] ? mark_held_locks+0x49/0x80 [ 12.951899][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.951904][ C2] rcu_core+0x2bb/0x500 [ 12.951909][ C2] handle_softirqs+0x218/0x620 [ 12.951915][ C2] __irq_exit_rcu+0xfa/0x160 [ 12.951918][ C2] irq_exit_rcu+0xe/0x30 [ 12.951921][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.951925][ C2] [ 12.951926][ C2] [ 12.951928][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.951930][ C2] RIP: 0010:vma_interval_tree_iter_next+0x97/0x250 [ 12.951934][ C2] Code: 2e e9 d6 00 00 00 48 8d 7b 08 4c 8d bb 50 ff ff ff 48 89 f8 4c 89 fd 48 c1 e8 03 42 80 3c 28 00 0f 85 ef 00 00 00 4c 8b 73 08 <4d> 39 e6 75 3b 4c 8d a5 b0 00 00 00 4c 89 e0 48 c1 e8 03 42 80 3c [ 12.951937][ C2] RSP: 0018:ffffc900004e7158 EFLAGS: 00000246 [ 12.951940][ C2] RAX: 1ffff1100172d2bf RBX: ffff88800b9695f0 RCX: 1ffff11001730057 [ 12.951942][ C2] RDX: ffffffffffffffff RSI: 0000000000000000 RDI: ffff88800b9695f8 [ 12.951944][ C2] RBP: ffff88800b969540 R08: 0000000000000001 R09: ffffed1000992ba8 [ 12.951945][ C2] R10: ffff888004c95d43 R11: dffffc0000000000 R12: ffff8880096977b0 [ 12.951947][ C2] R13: dffffc0000000000 R14: ffff88800a2602b0 R15: ffff88800b969540 [ 12.951955][ C2] unmap_mapping_pages+0x1bb/0x240 [ 12.951959][ C2] ? __pfx_unmap_mapping_pages+0x10/0x10 [ 12.951962][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 12.951965][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 12.951970][ C2] invalidate_inode_pages2_range+0x486/0x8c0 [ 12.951974][ C2] ? __pfx___debug_check_no_obj_freed+0x10/0x10 [ 12.951981][ C2] ? __pfx_invalidate_inode_pages2_range+0x10/0x10 [ 12.951984][ C2] ? rcu_read_lock_any_held+0x43/0xb0 [ 12.951988][ C2] ? validate_chain+0x166/0x4d0 [ 12.951998][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 12.952008][ C2] ? fuse_file_io_open+0x320/0x470 [ 12.952014][ C2] fuse_open+0x423/0x6e0 [ 12.952018][ C2] do_dentry_open+0x433/0x10a0 [ 12.952021][ C2] ? __pfx_fuse_open+0x10/0x10 [ 12.952025][ C2] vfs_open+0x82/0x350 [ 12.952030][ C2] backing_file_open+0x8a/0xf0 [ 12.952033][ C2] ? inode_owner_or_capable+0xad/0x170 [ 12.952037][ C2] ovl_open_realfile+0x221/0x330 [ 12.952042][ C2] ovl_open+0x1a1/0x2e0 [ 12.952045][ C2] ? __pfx_ovl_open+0x10/0x10 [ 12.952048][ C2] ? __lock_release+0x5d/0x170 [ 12.952053][ C2] do_dentry_open+0x433/0x10a0 [ 12.952056][ C2] ? __pfx_ovl_open+0x10/0x10 [ 12.952061][ C2] vfs_open+0x82/0x350 [ 12.952065][ C2] do_open+0x591/0xb60 [ 12.952070][ C2] path_openat+0x1e2/0x380 [ 12.952074][ C2] ? __pfx_path_openat+0x10/0x10 [ 12.952076][ C2] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 12.952081][ C2] ? arch_stack_walk+0x8b/0xf0 [ 12.952086][ C2] do_filp_open+0x1d7/0x420 [ 12.952089][ C2] ? __pfx_do_filp_open+0x10/0x10 [ 12.952092][ C2] ? rcu_read_lock_any_held+0x43/0xb0 [ 12.952095][ C2] ? validate_chain+0x166/0x4d0 [ 12.952100][ C2] ? __pfx_page_put_link+0x10/0x10 [ 12.952105][ C2] ? find_held_lock+0x2b/0x80 [ 12.952109][ C2] ? mark_held_locks+0x49/0x80 [ 12.952112][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.952116][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.952121][ C2] do_open_execat+0xaa/0x2e0 [ 12.952124][ C2] ? __pfx_do_open_execat+0x10/0x10 [ 12.952128][ C2] ? getname_kernel+0x14b/0x2d0 [ 12.952132][ C2] open_exec+0x2b/0x50 [ 12.952135][ C2] load_elf_binary+0x51e/0x2960 [ 12.952139][ C2] ? __lock_acquire+0x44d/0x7e0 [ 12.952145][ C2] ? find_held_lock+0x2b/0x80 [ 12.952147][ C2] ? __pfx_load_elf_binary+0x10/0x10 [ 12.952150][ C2] ? exec_binprm+0x237/0x640 [ 12.952155][ C2] exec_binprm+0x255/0x640 [ 12.952159][ C2] ? __pfx_exec_binprm+0x10/0x10 [ 12.952161][ C2] ? bprm_execve+0x93/0x490 [ 12.952166][ C2] bprm_execve+0x1af/0x490 [ 12.952169][ C2] kernel_execve+0x252/0x2f0 [ 12.952173][ C2] call_usermodehelper_exec_async+0x23e/0x460 [ 12.952177][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.952180][ C2] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.952183][ C2] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.952186][ C2] ret_from_fork+0x240/0x320 [ 12.952189][ C2] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.952192][ C2] ret_from_fork_asm+0x1a/0x30 [ 12.952198][ C2] [ 12.979751][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.980265][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 232, name: kworker/u19:2 [ 12.980635][ C2] preempt_count: 100, expected: 0 [ 12.980849][ C2] RCU nest depth: 0, expected: 0 [ 12.981064][ C2] INFO: lockdep is turned off. [ 12.981421][ C2] Preemption disabled at: [ 12.981423][ C2] [] handle_softirqs+0xe5/0x620 [ 12.981871][ C2] CPU: 2 UID: 0 PID: 232 Comm: kworker/u19:2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.981875][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.981877][ C2] Call Trace: [ 12.981879][ C2] [ 12.981881][ C2] dump_stack_lvl+0xb0/0xd0 [ 12.981887][ C2] __might_resched+0x360/0x5a0 [ 12.981894][ C2] down_write+0x72/0x210 [ 12.981898][ C2] ? __pfx_down_write+0x10/0x10 [ 12.981901][ C2] ? simple_recursive_removal+0x33/0x610 [ 12.981905][ C2] ? rcu_is_watching+0x12/0xc0 [ 12.981911][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 12.981915][ C2] simple_recursive_removal+0x6a/0x610 [ 12.981918][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 12.981921][ C2] ? __pfx_remove_one+0x10/0x10 [ 12.981927][ C2] debugfs_remove+0x44/0x70 [ 12.981930][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 12.981934][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.981936][ C2] ? __sk_destruct+0x383/0x780 [ 12.981941][ C2] ? rcu_do_batch+0x34c/0xf20 [ 12.981945][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.981947][ C2] ? irq_exit_rcu+0xe/0x30 [ 12.981950][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.981954][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.981958][ C2] ? vma_interval_tree_iter_next+0x97/0x250 [ 12.981962][ C2] ? unmap_mapping_pages+0x1bb/0x240 [ 12.981966][ C2] ? invalidate_inode_pages2_range+0x486/0x8c0 [ 12.981970][ C2] ? fuse_open+0x423/0x6e0 [ 12.981973][ C2] ? do_dentry_open+0x433/0x10a0 [ 12.981977][ C2] ? vfs_open+0x82/0x350 [ 12.981980][ C2] ? backing_file_open+0x8a/0xf0 [ 12.981984][ C2] ? ovl_open_realfile+0x221/0x330 [ 12.981990][ C2] __put_net+0x19/0x60 [ 12.981994][ C2] __sk_destruct+0x58a/0x780 [ 12.981998][ C2] ? rcu_do_batch+0x34a/0xf20 [ 12.982002][ C2] rcu_do_batch+0x34c/0xf20 [ 12.982007][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.982011][ C2] ? mark_held_locks+0x49/0x80 [ 12.982015][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.982021][ C2] rcu_core+0x2bb/0x500 [ 12.982026][ C2] handle_softirqs+0x218/0x620 [ 12.982031][ C2] __irq_exit_rcu+0xfa/0x160 [ 12.982035][ C2] irq_exit_rcu+0xe/0x30 [ 12.982038][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.982041][ C2] [ 12.982043][ C2] [ 12.982044][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.982047][ C2] RIP: 0010:vma_interval_tree_iter_next+0x97/0x250 [ 12.982050][ C2] Code: 2e e9 d6 00 00 00 48 8d 7b 08 4c 8d bb 50 ff ff ff 48 89 f8 4c 89 fd 48 c1 e8 03 42 80 3c 28 00 0f 85 ef 00 00 00 4c 8b 73 08 <4d> 39 e6 75 3b 4c 8d a5 b0 00 00 00 4c 89 e0 48 c1 e8 03 42 80 3c [ 12.982053][ C2] RSP: 0018:ffffc900004e7158 EFLAGS: 00000246 [ 12.982056][ C2] RAX: 1ffff1100172d2bf RBX: ffff88800b9695f0 RCX: 1ffff11001730057 [ 12.982058][ C2] RDX: ffffffffffffffff RSI: 0000000000000000 RDI: ffff88800b9695f8 [ 12.982060][ C2] RBP: ffff88800b969540 R08: 0000000000000001 R09: ffffed1000992ba8 [ 12.982062][ C2] R10: ffff888004c95d43 R11: dffffc0000000000 R12: ffff8880096977b0 [ 12.982063][ C2] R13: dffffc0000000000 R14: ffff88800a2602b0 R15: ffff88800b969540 [ 12.982071][ C2] unmap_mapping_pages+0x1bb/0x240 [ 12.982076][ C2] ? __pfx_unmap_mapping_pages+0x10/0x10 [ 12.982079][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 12.982083][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 12.982088][ C2] invalidate_inode_pages2_range+0x486/0x8c0 [ 12.982092][ C2] ? __pfx___debug_check_no_obj_freed+0x10/0x10 [ 12.982098][ C2] ? __pfx_invalidate_inode_pages2_range+0x10/0x10 [ 12.982101][ C2] ? rcu_read_lock_any_held+0x43/0xb0 [ 12.982105][ C2] ? validate_chain+0x166/0x4d0 [ 12.982116][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 12.982125][ C2] ? fuse_file_io_open+0x320/0x470 [ 12.982131][ C2] fuse_open+0x423/0x6e0 [ 12.982135][ C2] do_dentry_open+0x433/0x10a0 [ 12.982138][ C2] ? __pfx_fuse_open+0x10/0x10 [ 12.982142][ C2] vfs_open+0x82/0x350 [ 12.982147][ C2] backing_file_open+0x8a/0xf0 [ 12.982149][ C2] ? inode_owner_or_capable+0xad/0x170 [ 12.982154][ C2] ovl_open_realfile+0x221/0x330 [ 12.982159][ C2] ovl_open+0x1a1/0x2e0 [ 12.982162][ C2] ? __pfx_ovl_open+0x10/0x10 [ 12.982165][ C2] ? __lock_release+0x5d/0x170 [ 12.982170][ C2] do_dentry_open+0x433/0x10a0 [ 12.982173][ C2] ? __pfx_ovl_open+0x10/0x10 [ 12.982178][ C2] vfs_open+0x82/0x350 [ 12.982182][ C2] do_open+0x591/0xb60 [ 12.982187][ C2] path_openat+0x1e2/0x380 [ 12.982191][ C2] ? __pfx_path_openat+0x10/0x10 [ 12.982194][ C2] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 12.982199][ C2] ? arch_stack_walk+0x8b/0xf0 [ 12.982203][ C2] do_filp_open+0x1d7/0x420 [ 12.982206][ C2] ? __pfx_do_filp_open+0x10/0x10 [ 12.982209][ C2] ? rcu_read_lock_any_held+0x43/0xb0 [ 12.982212][ C2] ? validate_chain+0x166/0x4d0 [ 12.982218][ C2] ? __pfx_page_put_link+0x10/0x10 [ 12.982223][ C2] ? find_held_lock+0x2b/0x80 [ 12.982227][ C2] ? mark_held_locks+0x49/0x80 [ 12.982231][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.982234][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.982239][ C2] do_open_execat+0xaa/0x2e0 [ 12.982242][ C2] ? __pfx_do_open_execat+0x10/0x10 [ 12.982247][ C2] ? getname_kernel+0x14b/0x2d0 [ 12.982251][ C2] open_exec+0x2b/0x50 [ 12.982254][ C2] load_elf_binary+0x51e/0x2960 [ 12.982258][ C2] ? __lock_acquire+0x44d/0x7e0 [ 12.982264][ C2] ? find_held_lock+0x2b/0x80 [ 12.982267][ C2] ? __pfx_load_elf_binary+0x10/0x10 [ 12.982269][ C2] ? exec_binprm+0x237/0x640 [ 12.982274][ C2] exec_binprm+0x255/0x640 [ 12.982278][ C2] ? __pfx_exec_binprm+0x10/0x10 [ 12.982280][ C2] ? bprm_execve+0x93/0x490 [ 12.982285][ C2] bprm_execve+0x1af/0x490 [ 12.982288][ C2] kernel_execve+0x252/0x2f0 [ 12.982292][ C2] call_usermodehelper_exec_async+0x23e/0x460 [ 12.982296][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.982299][ C2] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.982302][ C2] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.982305][ C2] ret_from_fork+0x240/0x320 [ 12.982309][ C2] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.982312][ C2] ret_from_fork_asm+0x1a/0x30 [ 12.982318][ C2]