[ 13.806363][ C0] [ 13.806533][ C0] ================================ [ 13.806818][ C0] WARNING: inconsistent lock state [ 13.807059][ C0] 6.15.0-virtme #1 Not tainted [ 13.807304][ C0] -------------------------------- [ 13.807544][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.807861][ C0] kworker/u17:1/231 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.808172][ C0] ffffffff9bf95218 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 13.808601][ C0] {SOFTIRQ-ON-W} state was registered at: [ 13.808849][ C0] __lock_acquire+0x20b/0x7e0 [ 13.809097][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.809336][ C0] _raw_spin_lock+0x33/0x40 [ 13.809577][ C0] xa_store+0x1c/0x50 [ 13.809767][ C0] ref_tracker_dir_debugfs+0x168/0x1b0 [ 13.810015][ C0] init_net_debugfs+0x15/0x70 [ 13.810261][ C0] do_one_initcall+0x8c/0x1e0 [ 13.810504][ C0] do_initcalls+0x176/0x280 [ 13.810763][ C0] kernel_init_freeable+0x22d/0x300 [ 13.811006][ C0] kernel_init+0x20/0x200 [ 13.811253][ C0] ret_from_fork+0x240/0x320 [ 13.811497][ C0] ret_from_fork_asm+0x1a/0x30 [ 13.811754][ C0] irq event stamp: 856 [ 13.811938][ C0] hardirqs last enabled at (856): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.812421][ C0] hardirqs last disabled at (855): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.812865][ C0] softirqs last enabled at (268): [] handle_softirqs+0x358/0x620 [ 13.813277][ C0] softirqs last disabled at (625): [] __irq_exit_rcu+0xfa/0x160 [ 13.813691][ C0] [ 13.813691][ C0] other info that might help us debug this: [ 13.814055][ C0] Possible unsafe locking scenario: [ 13.814055][ C0] [ 13.814412][ C0] CPU0 [ 13.814587][ C0] ---- [ 13.814772][ C0] lock(&xa->xa_lock#8); [ 13.814958][ C0] [ 13.815150][ C0] lock(&xa->xa_lock#8); [ 13.815404][ C0] [ 13.815404][ C0] *** DEADLOCK *** [ 13.815404][ C0] [ 13.815757][ C0] 3 locks held by kworker/u17:1/231: [ 13.816016][ C0] #0: ffff8880092c99b8 (&sig->cred_guard_mutex){+.+.}-{4:4}, at: bprm_execve+0x4f/0x490 [ 13.816438][ C0] #1: ffff88800c24e150 (mapping.invalidate_lock){.+.+}-{4:4}, at: page_cache_ra_unbounded+0x132/0x5e0 [ 13.816934][ C0] #2: ffffffff995793c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.817358][ C0] [ 13.817358][ C0] stack backtrace: [ 13.817660][ C0] CPU: 0 UID: 0 PID: 231 Comm: kworker/u17:1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.817666][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.817668][ C0] Call Trace: [ 13.817671][ C0] [ 13.817673][ C0] dump_stack_lvl+0x82/0xd0 [ 13.817682][ C0] print_usage_bug.part.0+0x25f/0x360 [ 13.817687][ C0] mark_lock_irq+0x343/0x400 [ 13.817693][ C0] mark_lock+0x174/0x2f0 [ 13.817697][ C0] mark_usage+0x46/0x150 [ 13.817699][ C0] __lock_acquire+0x20b/0x7e0 [ 13.817702][ C0] ? unwind_next_frame+0x4f8/0x1e10 [ 13.817709][ C0] ? __create_object+0x22/0xb0 [ 13.817717][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.817720][ C0] ? xa_set_mark+0x73/0x120 [ 13.817724][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.817727][ C0] ? lock_acquire+0x10c/0x170 [ 13.817730][ C0] ? xa_set_mark+0x73/0x120 [ 13.817733][ C0] _raw_spin_lock+0x33/0x40 [ 13.817738][ C0] ? xa_set_mark+0x73/0x120 [ 13.817740][ C0] xa_set_mark+0x73/0x120 [ 13.817743][ C0] ? __pfx_xa_set_mark+0x10/0x10 [ 13.817745][ C0] ? __lock_acquire+0x44d/0x7e0 [ 13.817750][ C0] ? find_held_lock+0x2b/0x80 [ 13.817755][ C0] ref_tracker_dir_exit+0xb2/0x740 [ 13.817762][ C0] ? mark_held_locks+0x49/0x80 [ 13.817764][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.817768][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.817772][ C0] ? ref_tracker_free+0x35d/0x900 [ 13.817776][ C0] ? __lock_acquire+0x44d/0x7e0 [ 13.817779][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.817782][ C0] ? __sk_destruct+0x383/0x780 [ 13.817788][ C0] ? rcu_do_batch+0x34f/0xf20 [ 13.817791][ C0] ? rcu_core+0x2bb/0x500 [ 13.817794][ C0] ? handle_softirqs+0x21b/0x620 [ 13.817799][ C0] __put_net+0x83/0x140 [ 13.817804][ C0] ? kmem_cache_alloc_noprof+0x1ab/0x330 [ 13.817810][ C0] ? __pfx___put_net+0x10/0x10 [ 13.817814][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 13.817820][ C0] __sk_destruct+0x58a/0x780 [ 13.817825][ C0] ? rcu_do_batch+0x34a/0xf20 [ 13.817830][ C0] rcu_do_batch+0x34f/0xf20 [ 13.817836][ C0] ? find_held_lock+0x2b/0x80 [ 13.817843][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.817849][ C0] ? mark_held_locks+0x49/0x80 [ 13.817853][ C0] ? note_gp_changes+0x182/0x1e0 [ 13.817857][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.817862][ C0] rcu_core+0x2bb/0x500 [ 13.817866][ C0] handle_softirqs+0x21b/0x620 [ 13.817870][ C0] __irq_exit_rcu+0xfa/0x160 [ 13.817873][ C0] irq_exit_rcu+0xe/0x30 [ 13.817875][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.817878][ C0] [ 13.817879][ C0] [ 13.817881][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.817885][ C0] RIP: 0010:_raw_spin_unlock_irqrestore+0x41/0x80 [ 13.817889][ C0] Code: 74 24 10 e8 81 d8 7e fd 48 89 ef e8 39 2b 7f 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 fa e8 72 fd 65 8b 05 53 fb b4 02 85 c0 74 0e 5b 5d c3 cc cc cc [ 13.817892][ C0] RSP: 0018:ffffc90000687058 EFLAGS: 00000206 [ 13.817896][ C0] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 0000000000000080 [ 13.817898][ C0] RDX: 0000000000000000 RSI: ffffffff990a76e1 RDI: 0000000000000001 [ 13.817899][ C0] RBP: ffff88800104f440 R08: 0000000000000001 R09: 0000000000000001 [ 13.817901][ C0] R10: ffffffff99ff75d7 R11: ffff88800104f458 R12: ffff88800104f440 [ 13.817903][ C0] R13: ffffea0000263480 R14: ffff88800104de40 R15: ffff8880098d35f8 [ 13.817909][ C0] get_partial_node.part.0+0x1c2/0x3b0 [ 13.817915][ C0] ___slab_alloc+0x4b2/0x1170 [ 13.817918][ C0] ? __alloc_object+0x2f/0x2e0 [ 13.817923][ C0] ? __alloc_object+0x2f/0x2e0 [ 13.817926][ C0] __slab_alloc.constprop.0+0x5b/0xb0 [ 13.817930][ C0] ? __alloc_object+0x2f/0x2e0 [ 13.817932][ C0] kmem_cache_alloc_noprof+0x1ab/0x330 [ 13.817936][ C0] ? fuse_request_alloc+0x1e/0x210 [ 13.817943][ C0] __alloc_object+0x2f/0x2e0 [ 13.817947][ C0] __create_object+0x22/0xb0 [ 13.817951][ C0] kmem_cache_alloc_noprof+0x288/0x330 [ 13.817956][ C0] fuse_request_alloc+0x1e/0x210 [ 13.817959][ C0] fuse_get_req+0x269/0x820 [ 13.817963][ C0] ? find_held_lock+0x2b/0x80 [ 13.817966][ C0] ? __pfx_fuse_get_req+0x10/0x10 [ 13.817970][ C0] ? xa_load+0x112/0x230 [ 13.817972][ C0] ? __lock_release+0x5d/0x170 [ 13.817975][ C0] ? xa_load+0x112/0x230 [ 13.817978][ C0] ? xa_load+0x11c/0x230 [ 13.817982][ C0] fuse_simple_background+0xec/0x180 [ 13.817986][ C0] fuse_send_readpages+0x576/0x9c0 [ 13.817992][ C0] fuse_readahead+0x69e/0xa40 [ 13.817998][ C0] read_pages+0x187/0xab0 [ 13.818003][ C0] ? __folio_batch_add_and_move+0x495/0xb20 [ 13.818008][ C0] ? __pfx_read_pages+0x10/0x10 [ 13.818015][ C0] page_cache_ra_unbounded+0x2f3/0x5e0 [ 13.818020][ C0] filemap_get_pages+0x2b8/0xaa0 [ 13.818027][ C0] ? __pfx_filemap_get_pages+0x10/0x10 [ 13.818030][ C0] ? validate_chain+0x166/0x4d0 [ 13.818036][ C0] filemap_read+0x308/0xb20 [ 13.818041][ C0] ? find_held_lock+0x2b/0x80 [ 13.818046][ C0] ? __pfx_filemap_read+0x10/0x10 [ 13.818050][ C0] ? __lock_acquire+0x44d/0x7e0 [ 13.818054][ C0] ? find_held_lock+0x2b/0x80 [ 13.818057][ C0] ? finish_task_switch.isra.0+0x243/0x970 [ 13.818061][ C0] ? __lock_release+0x5d/0x170 [ 13.818064][ C0] ? fuse_update_get_attr+0xf6/0x540 [ 13.818070][ C0] do_iter_readv_writev+0x50c/0x7b0 [ 13.818075][ C0] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 13.818080][ C0] ? __lock_acquire+0x44d/0x7e0 [ 13.818085][ C0] vfs_iter_read+0x11e/0x520 [ 13.818090][ C0] backing_file_read_iter+0x53b/0x740 [ 13.818095][ C0] ? _raw_spin_unlock_irq+0x28/0x50 [ 13.818099][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.818103][ C0] ovl_read_iter+0x1dd/0x230 [ 13.818108][ C0] ? __pfx_ovl_read_iter+0x10/0x10 [ 13.818111][ C0] ? __pfx_ovl_file_accessed+0x10/0x10 [ 13.818114][ C0] ? __pfx___wait_for_common+0x10/0x10 [ 13.818121][ C0] __kernel_read+0x33b/0xa10 [ 13.818124][ C0] ? __pfx___kernel_read+0x10/0x10 [ 13.818128][ C0] ? find_held_lock+0x2b/0x80 [ 13.818132][ C0] ? exec_binprm+0x149/0x640 [ 13.818134][ C0] ? __lock_release+0x5d/0x170 [ 13.818139][ C0] exec_binprm+0x1d5/0x640 [ 13.818143][ C0] ? __pfx_exec_binprm+0x10/0x10 [ 13.818145][ C0] ? bprm_execve+0x93/0x490 [ 13.818150][ C0] bprm_execve+0x1af/0x490 [ 13.818153][ C0] kernel_execve+0x252/0x2f0 [ 13.818156][ C0] call_usermodehelper_exec_async+0x23e/0x460 [ 13.818161][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.818164][ C0] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 13.818167][ C0] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 13.818171][ C0] ret_from_fork+0x240/0x320 [ 13.818173][ C0] ? __pfx_call_usermodehelper_exec_async+0x10/0x10 [ 13.818177][ C0] ret_from_fork_asm+0x1a/0x30 [ 13.818185][ C0]