[ 12.453186][ C0] [ 12.453374][ C0] ================================ [ 12.453626][ C0] WARNING: inconsistent lock state [ 12.453871][ C0] 6.15.0-rc5-virtme #1 Not tainted [ 12.454111][ C0] -------------------------------- [ 12.454350][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.454650][ C0] modprobe/230 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.454951][ C0] ffffffffb5bbf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.455377][ C0] {SOFTIRQ-ON-W} state was registered at: [ 12.455620][ C0] __lock_acquire+0x3eb/0x9d0 [ 12.455865][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.456104][ C0] _raw_spin_lock+0x33/0x40 [ 12.456347][ C0] simple_pin_fs+0x24/0x150 [ 12.456589][ C0] start_creating.part.0+0x3f/0x2f0 [ 12.456832][ C0] debugfs_create_dir+0x6a/0x540 [ 12.457072][ C0] component_debug_init+0x17/0x30 [ 12.457316][ C0] do_one_initcall+0x8c/0x1e0 [ 12.457561][ C0] do_initcalls+0x176/0x280 [ 12.457803][ C0] kernel_init_freeable+0x22d/0x300 [ 12.458042][ C0] kernel_init+0x20/0x200 [ 12.458287][ C0] ret_from_fork+0x31/0x70 [ 12.458527][ C0] ret_from_fork_asm+0x1a/0x30 [ 12.458768][ C0] irq event stamp: 3508 [ 12.458951][ C0] hardirqs last enabled at (3508): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.459430][ C0] hardirqs last disabled at (3507): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.459846][ C0] softirqs last enabled at (1966): [] handle_softirqs+0x358/0x620 [ 12.460266][ C0] softirqs last disabled at (2977): [] __irq_exit_rcu+0xfa/0x160 [ 12.460686][ C0] [ 12.460686][ C0] other info that might help us debug this: [ 12.461050][ C0] Possible unsafe locking scenario: [ 12.461050][ C0] [ 12.461412][ C0] CPU0 [ 12.461594][ C0] ---- [ 12.461774][ C0] lock(pin_fs_lock); [ 12.461960][ C0] [ 12.462140][ C0] lock(pin_fs_lock); [ 12.462324][ C0] [ 12.462324][ C0] *** DEADLOCK *** [ 12.462324][ C0] [ 12.462682][ C0] 3 locks held by modprobe/230: [ 12.462926][ C0] #0: ffff888001776890 (mapping.invalidate_lock){.+.+}-{4:4}, at: page_cache_ra_unbounded+0x132/0x5e0 [ 12.463413][ C0] #1: ffffffffb5b79b30 (remove_cache_srcu){.+.+}-{0:0}, at: kasan_quarantine_reduce+0x88/0x1e0 [ 12.463908][ C0] #2: ffffffffb5974480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.464337][ C0] [ 12.464337][ C0] stack backtrace: [ 12.464638][ C0] CPU: 0 UID: 0 PID: 230 Comm: modprobe Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 12.464643][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.464645][ C0] Call Trace: [ 12.464647][ C0] [ 12.464649][ C0] dump_stack_lvl+0x82/0xd0 [ 12.464656][ C0] print_usage_bug.part.0+0x25f/0x360 [ 12.464660][ C0] mark_lock_irq+0x343/0x400 [ 12.464664][ C0] ? __pfx_unwind_next_frame+0x10/0x10 [ 12.464668][ C0] ? save_trace+0x52/0x170 [ 12.464674][ C0] mark_lock+0x174/0x2f0 [ 12.464677][ C0] mark_usage+0x46/0x150 [ 12.464680][ C0] __lock_acquire+0x3eb/0x9d0 [ 12.464685][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.464687][ C0] ? simple_pin_fs+0x24/0x150 [ 12.464691][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.464694][ C0] ? lock_acquire+0x10c/0x170 [ 12.464696][ C0] ? simple_pin_fs+0x24/0x150 [ 12.464700][ C0] _raw_spin_lock+0x33/0x40 [ 12.464704][ C0] ? simple_pin_fs+0x24/0x150 [ 12.464706][ C0] simple_pin_fs+0x24/0x150 [ 12.464709][ C0] debugfs_remove+0x35/0x70 [ 12.464713][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.464719][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.464722][ C0] ? __sk_destruct+0x383/0x780 [ 12.464727][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.464731][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.464734][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.464737][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.464742][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.464745][ C0] ? _raw_spin_unlock_irqrestore+0x41/0x80 [ 12.464748][ C0] ? qlist_free_all+0x4c/0x120 [ 12.464753][ C0] ? kasan_quarantine_reduce+0x195/0x1e0 [ 12.464756][ C0] ? __kasan_slab_alloc+0x49/0x70 [ 12.464759][ C0] ? __kmalloc_cache_noprof+0x112/0x360 [ 12.464763][ C0] ? fuse_io_alloc+0x47/0x140 [ 12.464768][ C0] ? fuse_readahead+0x426/0xa50 [ 12.464772][ C0] ? read_pages+0x184/0xab0 [ 12.464777][ C0] __put_net+0x19/0x60 [ 12.464780][ C0] __sk_destruct+0x58a/0x780 [ 12.464784][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.464788][ C0] rcu_do_batch+0x34c/0xf20 [ 12.464793][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.464797][ C0] ? mark_held_locks+0x49/0x80 [ 12.464799][ C0] ? note_gp_changes+0x182/0x1e0 [ 12.464803][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.464808][ C0] rcu_core+0x2bb/0x500 [ 12.464812][ C0] handle_softirqs+0x218/0x620 [ 12.464816][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.464819][ C0] irq_exit_rcu+0xe/0x30 [ 12.464821][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.464825][ C0] [ 12.464826][ C0] [ 12.464828][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.464831][ C0] RIP: 0010:_raw_spin_unlock_irqrestore+0x41/0x80 [ 12.464835][ C0] Code: 74 24 10 e8 91 1e 85 fd 48 89 ef e8 09 71 85 fd 81 e3 00 02 00 00 75 29 9c 58 f6 c4 02 75 35 48 85 db 74 01 fb bf 01 00 00 00 2a 79 79 fd 65 8b 05 83 38 98 02 85 c0 74 0e 5b 5d c3 cc cc cc [ 12.464838][ C0] RSP: 0000:ffffc90000757558 EFLAGS: 00000206 [ 12.464841][ C0] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 0000000000000080 [ 12.464843][ C0] RDX: 0000000000000000 RSI: ffffffffb54881e1 RDI: 0000000000000001 [ 12.464844][ C0] RBP: ffff8880019bc040 R08: 0000000000000001 R09: 0000000000000001 [ 12.464846][ C0] R10: ffffffffb63d9497 R11: ffff8880019bc058 R12: ffff8880092e11c0 [ 12.464848][ C0] R13: 0000000000000000 R14: ffffc900007575a8 R15: ffff8880092e2340 [ 12.464854][ C0] qlist_free_all+0x4c/0x120 [ 12.464858][ C0] ? fuse_io_alloc+0x47/0x140 [ 12.464861][ C0] kasan_quarantine_reduce+0x195/0x1e0 [ 12.464866][ C0] __kasan_slab_alloc+0x49/0x70 [ 12.464869][ C0] __kmalloc_cache_noprof+0x112/0x360 [ 12.464874][ C0] fuse_io_alloc+0x47/0x140 [ 12.464877][ C0] fuse_readahead+0x426/0xa50 [ 12.464884][ C0] ? __pfx_fuse_readahead+0x10/0x10 [ 12.464892][ C0] read_pages+0x184/0xab0 [ 12.464895][ C0] ? xa_load+0x112/0x230 [ 12.464898][ C0] ? __lock_release+0x5d/0x170 [ 12.464902][ C0] ? __pfx_read_pages+0x10/0x10 [ 12.464909][ C0] page_cache_ra_unbounded+0x441/0x5e0 [ 12.464916][ C0] do_sync_mmap_readahead+0x4d8/0x890 [ 12.464921][ C0] ? __pfx_do_sync_mmap_readahead+0x10/0x10 [ 12.464927][ C0] ? __filemap_get_folio+0x45/0x6a0 [ 12.464931][ C0] filemap_fault+0xa76/0x1500 [ 12.464935][ C0] ? __pfx_filemap_map_pages+0x10/0x10 [ 12.464939][ C0] ? __pfx_filemap_fault+0x10/0x10 [ 12.464942][ C0] ? find_held_lock+0x2b/0x80 [ 12.464945][ C0] ? do_fault_around+0x2c6/0x4c0 [ 12.464951][ C0] ? __lock_release+0x5d/0x170 [ 12.464954][ C0] ? do_fault_around+0x2c6/0x4c0 [ 12.464958][ C0] __do_fault+0xed/0x3a0 [ 12.464962][ C0] do_pte_missing+0x67d/0xca0 [ 12.464965][ C0] ? rcu_read_unlock+0x18/0x70 [ 12.464969][ C0] handle_pte_fault+0x3e0/0x690 [ 12.464972][ C0] ? __pfx_handle_pte_fault+0x10/0x10 [ 12.464975][ C0] ? reacquire_held_locks+0xd1/0x200 [ 12.464978][ C0] ? do_user_addr_fault+0x461/0xe00 [ 12.464984][ C0] __handle_mm_fault+0x3fc/0x5e0 [ 12.464987][ C0] ? __pfx___handle_mm_fault+0x10/0x10 [ 12.464989][ C0] ? __lock_release+0xa8/0x170 [ 12.464995][ C0] ? __pfx_lock_vma_under_rcu+0x10/0x10 [ 12.464999][ C0] handle_mm_fault+0x200/0x420 [ 12.465002][ C0] ? __pfx_handle_mm_fault+0x10/0x10 [ 12.465007][ C0] do_user_addr_fault+0x576/0xe00 [ 12.465011][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.465015][ C0] exc_page_fault+0x5e/0xd0 [ 12.465019][ C0] asm_exc_page_fault+0x26/0x30 [ 12.465021][ C0] RIP: 0033:0x7f70158dba30 [ 12.465028][ C0] Code: Unable to access opcode bytes at 0x7f70158dba06. [ 12.465030][ C0] RSP: 002b:00007ffc83056480 EFLAGS: 00010202 [ 12.465032][ C0] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 12.465034][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 12.465036][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 12.465037][ C0] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 12.465038][ C0] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 12.465044][ C0] [ 12.493547][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.493961][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 230, name: modprobe [ 12.494356][ C0] preempt_count: 101, expected: 0 [ 12.494592][ C0] RCU nest depth: 0, expected: 0 [ 12.494823][ C0] INFO: lockdep is turned off. [ 12.495049][ C0] Preemption disabled at: [ 12.495051][ C0] [<0000000000000000>] 0x0 [ 12.495452][ C0] CPU: 0 UID: 0 PID: 230 Comm: modprobe Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 12.495457][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.495459][ C0] Call Trace: [ 12.495461][ C0] [ 12.495463][ C0] dump_stack_lvl+0xb0/0xd0 [ 12.495471][ C0] __might_resched+0x360/0x5a0 [ 12.495478][ C0] down_write+0x72/0x210 [ 12.495482][ C0] ? __pfx_down_write+0x10/0x10 [ 12.495484][ C0] ? simple_recursive_removal+0x3a/0x860 [ 12.495489][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.495494][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.495498][ C0] simple_recursive_removal+0x166/0x860 [ 12.495501][ C0] ? __pfx_remove_one+0x10/0x10 [ 12.495506][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.495511][ C0] debugfs_remove+0x44/0x70 [ 12.495514][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.495520][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.495524][ C0] ? __sk_destruct+0x383/0x780 [ 12.495529][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.495533][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.495538][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.495543][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.495547][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.495551][ C0] ? _raw_spin_unlock_irqrestore+0x41/0x80 [ 12.495555][ C0] ? qlist_free_all+0x4c/0x120 [ 12.495560][ C0] ? kasan_quarantine_reduce+0x195/0x1e0 [ 12.495564][ C0] ? __kasan_slab_alloc+0x49/0x70 [ 12.495567][ C0] ? __kmalloc_cache_noprof+0x112/0x360 [ 12.495571][ C0] ? fuse_io_alloc+0x47/0x140 [ 12.495576][ C0] ? fuse_readahead+0x426/0xa50 [ 12.495579][ C0] ? read_pages+0x184/0xab0 [ 12.495586][ C0] __put_net+0x19/0x60 [ 12.495589][ C0] __sk_destruct+0x58a/0x780 [ 12.495593][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.495597][ C0] rcu_do_batch+0x34c/0xf20 [ 12.495602][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.495606][ C0] ? mark_held_locks+0x49/0x80 [ 12.495608][ C0] ? note_gp_changes+0x182/0x1e0 [ 12.495612][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.495616][ C0] rcu_core+0x2bb/0x500 [ 12.495620][ C0] handle_softirqs+0x218/0x620 [ 12.495625][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.495627][ C0] irq_exit_rcu+0xe/0x30 [ 12.495630][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.495633][ C0] [ 12.495634][ C0] [ 12.495636][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.495639][ C0] RIP: 0010:_raw_spin_unlock_irqrestore+0x41/0x80 [ 12.495643][ C0] Code: 74 24 10 e8 91 1e 85 fd 48 89 ef e8 09 71 85 fd 81 e3 00 02 00 00 75 29 9c 58 f6 c4 02 75 35 48 85 db 74 01 fb bf 01 00 00 00 2a 79 79 fd 65 8b 05 83 38 98 02 85 c0 74 0e 5b 5d c3 cc cc cc [ 12.495645][ C0] RSP: 0000:ffffc90000757558 EFLAGS: 00000206 [ 12.495649][ C0] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 0000000000000080 [ 12.495651][ C0] RDX: 0000000000000000 RSI: ffffffffb54881e1 RDI: 0000000000000001 [ 12.495653][ C0] RBP: ffff8880019bc040 R08: 0000000000000001 R09: 0000000000000001 [ 12.495654][ C0] R10: ffffffffb63d9497 R11: ffff8880019bc058 R12: ffff8880092e11c0 [ 12.495656][ C0] R13: 0000000000000000 R14: ffffc900007575a8 R15: ffff8880092e2340 [ 12.495662][ C0] qlist_free_all+0x4c/0x120 [ 12.495666][ C0] ? fuse_io_alloc+0x47/0x140 [ 12.495669][ C0] kasan_quarantine_reduce+0x195/0x1e0 [ 12.495674][ C0] __kasan_slab_alloc+0x49/0x70 [ 12.495677][ C0] __kmalloc_cache_noprof+0x112/0x360 [ 12.495682][ C0] fuse_io_alloc+0x47/0x140 [ 12.495686][ C0] fuse_readahead+0x426/0xa50 [ 12.495692][ C0] ? __pfx_fuse_readahead+0x10/0x10 [ 12.495700][ C0] read_pages+0x184/0xab0 [ 12.495703][ C0] ? xa_load+0x112/0x230 [ 12.495705][ C0] ? __lock_release+0x5d/0x170 [ 12.495710][ C0] ? __pfx_read_pages+0x10/0x10 [ 12.495717][ C0] page_cache_ra_unbounded+0x441/0x5e0 [ 12.495723][ C0] do_sync_mmap_readahead+0x4d8/0x890 [ 12.495728][ C0] ? __pfx_do_sync_mmap_readahead+0x10/0x10 [ 12.495733][ C0] ? __filemap_get_folio+0x45/0x6a0 [ 12.495738][ C0] filemap_fault+0xa76/0x1500 [ 12.495741][ C0] ? __pfx_filemap_map_pages+0x10/0x10 [ 12.495745][ C0] ? __pfx_filemap_fault+0x10/0x10 [ 12.495748][ C0] ? find_held_lock+0x2b/0x80 [ 12.495753][ C0] ? do_fault_around+0x2c6/0x4c0 [ 12.495757][ C0] ? __lock_release+0x5d/0x170 [ 12.495761][ C0] ? do_fault_around+0x2c6/0x4c0 [ 12.495765][ C0] __do_fault+0xed/0x3a0 [ 12.495769][ C0] do_pte_missing+0x67d/0xca0 [ 12.495772][ C0] ? rcu_read_unlock+0x18/0x70 [ 12.495775][ C0] handle_pte_fault+0x3e0/0x690 [ 12.495779][ C0] ? __pfx_handle_pte_fault+0x10/0x10 [ 12.495781][ C0] ? reacquire_held_locks+0xd1/0x200 [ 12.495784][ C0] ? do_user_addr_fault+0x461/0xe00 [ 12.495790][ C0] __handle_mm_fault+0x3fc/0x5e0 [ 12.495793][ C0] ? __pfx___handle_mm_fault+0x10/0x10 [ 12.495796][ C0] ? __lock_release+0xa8/0x170 [ 12.495802][ C0] ? __pfx_lock_vma_under_rcu+0x10/0x10 [ 12.495805][ C0] handle_mm_fault+0x200/0x420 [ 12.495808][ C0] ? __pfx_handle_mm_fault+0x10/0x10 [ 12.495813][ C0] do_user_addr_fault+0x576/0xe00 [ 12.495817][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.495821][ C0] exc_page_fault+0x5e/0xd0 [ 12.495824][ C0] asm_exc_page_fault+0x26/0x30 [ 12.495827][ C0] RIP: 0033:0x7f70158dba30 [ 12.495833][ C0] Code: Unable to access opcode bytes at 0x7f70158dba06. [ 12.495835][ C0] RSP: 002b:00007ffc83056480 EFLAGS: 00010202 [ 12.495837][ C0] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 12.495838][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 12.495839][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 12.495841][ C0] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 12.495842][ C0] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 12.495847][ C0]