[ 12.971019][ C0] [ 12.971252][ C0] ================================ [ 12.971491][ C0] WARNING: inconsistent lock state [ 12.971724][ C0] 6.15.0-virtme #1 Not tainted [ 12.971956][ C0] -------------------------------- [ 12.972185][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.972471][ C0] kworker/u17:0/230 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.972766][ C0] ffffffffb7995218 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 12.973181][ C0] {SOFTIRQ-ON-W} state was registered at: [ 12.973406][ C0] __lock_acquire+0x20b/0x7e0 [ 12.973647][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.973876][ C0] _raw_spin_lock+0x33/0x40 [ 12.974106][ C0] xa_store+0x1c/0x50 [ 12.974283][ C0] ref_tracker_dir_debugfs+0x168/0x1b0 [ 12.974520][ C0] init_net_debugfs+0x15/0x70 [ 12.974755][ C0] do_one_initcall+0x8c/0x1e0 [ 12.974991][ C0] do_initcalls+0x176/0x280 [ 12.975224][ C0] kernel_init_freeable+0x22d/0x300 [ 12.975456][ C0] kernel_init+0x20/0x200 [ 12.975684][ C0] ret_from_fork+0x240/0x320 [ 12.975911][ C0] ret_from_fork_asm+0x1a/0x30 [ 12.976140][ C0] irq event stamp: 3214 [ 12.976328][ C0] hardirqs last enabled at (3214): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.976789][ C0] hardirqs last disabled at (3213): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.977192][ C0] softirqs last enabled at (1418): [] handle_softirqs+0x358/0x620 [ 12.977594][ C0] softirqs last disabled at (2029): [] __irq_exit_rcu+0xfa/0x160 [ 12.977999][ C0] [ 12.977999][ C0] other info that might help us debug this: [ 12.978339][ C0] Possible unsafe locking scenario: [ 12.978339][ C0] [ 12.978676][ C0] CPU0 [ 12.978846][ C0] ---- [ 12.979020][ C0] lock(&xa->xa_lock#8); [ 12.979196][ C0] [ 12.979369][ C0] lock(&xa->xa_lock#8); [ 12.979602][ C0] [ 12.979602][ C0] *** DEADLOCK *** [ 12.979602][ C0] [ 12.979940][ C0] 3 locks held by kworker/u17:0/230: [ 12.980172][ C0] #0: ffff8880092d2738 (&sig->cred_guard_mutex){+.+.}-{4:4}, at: bprm_execve+0x4f/0x490 [ 12.980585][ C0] #1: ffff888001786890 (mapping.invalidate_lock){.+.+}-{4:4}, at: page_cache_ra_unbounded+0x132/0x5e0 [ 12.981047][ C0] #2: ffffffffb4f793c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.981459][ C0] [ 12.981459][ C0] stack backtrace: [ 12.981743][ C0] CPU: 0 UID: 0 PID: 230 Comm: kworker/u17:0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.981748][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.981750][ C0] Call Trace: [ 12.981753][ C0] [ 12.981755][ C0] dump_stack_lvl+0x82/0xd0 [ 12.981763][ C0] print_usage_bug.part.0+0x25f/0x360 [ 12.981768][ C0] mark_lock_irq+0x343/0x400 [ 12.981774][ C0] mark_lock+0x174/0x2f0 [ 12.981777][ C0] mark_usage+0x46/0x150 [ 12.981780][ C0] __lock_acquire+0x20b/0x7e0 [ 12.981783][ C0] ? unwind_next_frame+0x4f8/0x1e10 [ 12.981790][ C0] ? __slab_alloc.constprop.0+0x5b/0xb0 [ 12.981797][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.981800][ C0] ? xa_set_mark+0x73/0x120 [ 12.981803][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.981806][ C0] ? lock_acquire+0x10c/0x170 [ 12.981808][ C0] ? xa_set_mark+0x73/0x120 [ 12.981812][ C0] _raw_spin_lock+0x33/0x40 [ 12.981816][ C0] ? xa_set_mark+0x73/0x120 [ 12.981818][ C0] xa_set_mark+0x73/0x120 [ 12.981821][ C0] ? __pfx_xa_set_mark+0x10/0x10 [ 12.981823][ C0] ? __lock_acquire+0x44d/0x7e0 [ 12.981828][ C0] ? find_held_lock+0x2b/0x80 [ 12.981833][ C0] ref_tracker_dir_exit+0xb2/0x740 [ 12.981838][ C0] ? mark_held_locks+0x49/0x80 [ 12.981841][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.981844][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.981849][ C0] ? ref_tracker_free+0x35d/0x900 [ 12.981852][ C0] ? __lock_acquire+0x44d/0x7e0 [ 12.981855][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.981859][ C0] ? __sk_destruct+0x383/0x780 [ 12.981864][ C0] ? rcu_do_batch+0x34f/0xf20 [ 12.981867][ C0] ? rcu_core+0x2bb/0x500 [ 12.981871][ C0] ? handle_softirqs+0x21b/0x620 [ 12.981874][ C0] __put_net+0x83/0x140 [ 12.981880][ C0] ? set_track_prepare+0x30/0x70 [ 12.981885][ C0] ? __pfx___put_net+0x10/0x10 [ 12.981889][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 12.981894][ C0] __sk_destruct+0x58a/0x780 [ 12.981898][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.981901][ C0] rcu_do_batch+0x34f/0xf20 [ 12.981905][ C0] ? find_held_lock+0x2b/0x80 [ 12.981909][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.981913][ C0] ? mark_held_locks+0x49/0x80 [ 12.981915][ C0] ? note_gp_changes+0x182/0x1e0 [ 12.981919][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.981925][ C0] rcu_core+0x2bb/0x500 [ 12.981929][ C0] handle_softirqs+0x21b/0x620 [ 12.981933][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.981936][ C0] irq_exit_rcu+0xe/0x30 [ 12.981939][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.981942][ C0] [ 12.981944][ C0] [ 12.981946][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.981950][ C0] RIP: 0010:__rcu_read_unlock+0xbe/0x160 [ 12.981953][ C0] Code: 3b 48 8d bd 08 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 <84> d2 0f 85 87 00 00 00 8b 85 08 04 00 00 85 c0 75 4b 65 48 8b 1d [ 12.981956][ C0] RSP: 0018:ffffc90000b46e90 EFLAGS: 00000206 [ 12.981959][ C0] RAX: 0000000000000003 RBX: 0000000000000000 RCX: ffffc90000b46e5c [ 12.981961][ C0] RDX: 0000000000000000 RSI: ffffffffb4a8fd19 RDI: ffff8880094a8448 [ 12.981963][ C0] RBP: ffff8880094a8040 R08: 0000000000000000 R09: ffffc90000b46ff1 [ 12.981964][ C0] R10: 0000000000000000 R11: ffffc90000b46ff0 R12: ffff8880094a8040 [ 12.981966][ C0] R13: ffffc90000b46fb0 R14: ffffc90000b40000 R15: ffffc90000b47a48 [ 12.981972][ C0] unwind_next_frame+0x4f8/0x1e10 [ 12.981976][ C0] ? backing_file_read_iter+0x53b/0x740 [ 12.981982][ C0] ? __pfx_unwind_next_frame+0x10/0x10 [ 12.981987][ C0] ? backing_file_read_iter+0x53b/0x740 [ 12.981989][ C0] ? kernel_text_address+0x17/0xe0 [ 12.981995][ C0] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 12.982001][ C0] arch_stack_walk+0x8b/0xf0 [ 12.982010][ C0] ? ovl_read_iter+0x1dd/0x230 [ 12.982017][ C0] stack_trace_save+0x93/0xd0 [ 12.982021][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 12.982025][ C0] ? mark_held_locks+0x49/0x80 [ 12.982028][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.982031][ C0] set_track_prepare+0x30/0x70 [ 12.982035][ C0] ? __kmalloc_cache_noprof+0x1cf/0x360 [ 12.982037][ C0] ? fuse_io_alloc+0x47/0x140 [ 12.982044][ C0] ? fuse_readahead+0x2cf/0xa40 [ 12.982047][ C0] ? read_pages+0x187/0xab0 [ 12.982049][ C0] ? page_cache_ra_unbounded+0x2f3/0x5e0 [ 12.982051][ C0] ? filemap_get_pages+0x2b8/0xaa0 [ 12.982056][ C0] ? filemap_read+0x308/0xb20 [ 12.982058][ C0] ? do_iter_readv_writev+0x50c/0x7b0 [ 12.982063][ C0] ? vfs_iter_read+0x11e/0x520 [ 12.982066][ C0] ? backing_file_read_iter+0x53b/0x740 [ 12.982070][ C0] ___slab_alloc+0xba4/0x1170 [ 12.982073][ C0] ? fuse_io_alloc+0x47/0x140 [ 12.982078][ C0] ? fuse_io_alloc+0x47/0x140 [ 12.982081][ C0] __slab_alloc.constprop.0+0x5b/0xb0 [ 12.982085][ C0] ? fuse_io_alloc+0x47/0x140 [ 12.982088][ C0] __kmalloc_cache_noprof+0x1cf/0x360 [ 12.982091][ C0] ? rcu_read_lock_any_held+0x43/0xb0 [ 12.982094][ C0] ? validate_chain+0x166/0x4d0 [ 12.982097][ C0] fuse_io_alloc+0x47/0x140 [ 12.982100][ C0] ? __lock_acquire+0x44d/0x7e0 [ 12.982103][ C0] fuse_readahead+0x2cf/0xa40 [ 12.982109][ C0] read_pages+0x187/0xab0 [ 12.982113][ C0] ? __folio_batch_add_and_move+0x495/0xb20 [ 12.982118][ C0] ? __pfx_read_pages+0x10/0x10 [ 12.982125][ C0] page_cache_ra_unbounded+0x2f3/0x5e0 [ 12.982130][ C0] filemap_get_pages+0x2b8/0xaa0 [ 12.982135][ C0] ? __pfx_filemap_get_pages+0x10/0x10 [ 12.982142][ C0] filemap_read+0x308/0xb20 [ 12.982147][ C0] ? __lock_acquire+0x44d/0x7e0 [ 12.982151][ C0] ? __pfx_filemap_read+0x10/0x10 [ 12.982154][ C0] ? find_held_lock+0x2b/0x80 [ 12.982157][ C0] ? unwind_next_frame+0x4ee/0x1e10 [ 12.982161][ C0] ? __lock_release+0x5d/0x170 [ 12.982164][ C0] ? unwind_next_frame+0x4ee/0x1e10 [ 12.982168][ C0] ? unwind_next_frame+0x4f8/0x1e10 [ 12.982171][ C0] ? ret_from_fork_asm+0x1a/0x30 [ 12.982175][ C0] ? fuse_update_get_attr+0xf6/0x540 [ 12.982181][ C0] do_iter_readv_writev+0x50c/0x7b0 [ 12.982185][ C0] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 12.982193][ C0] vfs_iter_read+0x11e/0x520 [ 12.982198][ C0] backing_file_read_iter+0x53b/0x740 [ 12.982201][ C0] ? kasan_save_stack+0x24/0x50 [ 12.982205][ C0] ? kasan_save_track+0x14/0x30 [ 12.982207][ C0] ? __kasan_kmalloc+0x7f/0x90 [ 12.982211][ C0] ovl_read_iter+0x1dd/0x230 [ 12.982214][ C0] ? __pfx_ovl_read_iter+0x10/0x10 [ 12.982217][ C0] ? __pfx_ovl_file_accessed+0x10/0x10 [ 12.982220][ C0] ? __lock_acquire+0x44d/0x7e0 [ 12.982224][ C0] __kernel_read+0x33b/0xa10 [ 12.982227][ C0] ? find_held_lock+0x2b/0x80 [ 12.982230][ C0] ? __pfx___kernel_read+0x10/0x10 [ 12.982234][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.982237][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 12.982241][ C0] ? trace_kmalloc+0x2a/0xe0 [ 12.982245][ C0] ? __kmalloc_cache_noprof+0x15f/0x360 [ 12.982250][ C0] load_elf_binary+0x5a6/0x2960 [ 12.982256][ C0] ? __lock_acquire+0x44d/0x7e0 [ 12.982260][ C0] ? find_held_lock+0x2b/0x80 [ 12.982263][ C0] ? __pfx_load_elf_binary+0x10/0x10 [ 12.982267][ C0] ? exec_binprm+0x237/0x640 [ 12.982271][ C0] exec_binprm+0x258/0x640 [ 12.982275][ C0] ? __pfx_exec_binprm+0x10/0x10 [ 12.982277][ C0] ? bprm_execve+0x93/0x490 [ 12.982282][ C0] bprm_execve+0x1af/0x490 [ 12.982285][ C0] kernel_execve+0x252/0x2f0 [ 12.982289][ C0] call_usermodehelper_exec_async+0x23e/0x460 [ 12.982293][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.982296][ C0] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.982300][ C0] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.982303][ C0] ret_from_fork+0x240/0x320 [ 12.982306][ C0] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 12.982309][ C0] ret_from_fork_asm+0x1a/0x30 [ 12.982316][ C0]