[ 20.580042][ C0] [ 20.580318][ C0] ================================ [ 20.580756][ C0] WARNING: inconsistent lock state [ 20.581184][ C0] 6.15.0-virtme #1 Not tainted [ 20.581617][ C0] -------------------------------- [ 20.582048][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 20.582577][ C0] ksft_runner.sh/264 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 20.583117][ C0] ffffffff9f98d218 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 20.583893][ C0] {SOFTIRQ-ON-W} state was registered at: [ 20.584323][ C0] __lock_acquire+0x20b/0x7e0 [ 20.584704][ C0] lock_acquire.part.0+0xb6/0x240 [ 20.584969][ C0] _raw_spin_lock+0x33/0x40 [ 20.585229][ C0] xa_store+0x1c/0x50 [ 20.585420][ C0] ref_tracker_dir_debugfs+0x168/0x1b0 [ 20.585677][ C0] init_net_debugfs+0x15/0x70 [ 20.585945][ C0] do_one_initcall+0x8c/0x1e0 [ 20.586208][ C0] do_initcalls+0x176/0x280 [ 20.586467][ C0] kernel_init_freeable+0x22d/0x300 [ 20.586727][ C0] kernel_init+0x20/0x200 [ 20.586984][ C0] ret_from_fork+0x240/0x320 [ 20.587241][ C0] ret_from_fork_asm+0x1a/0x30 [ 20.587501][ C0] irq event stamp: 1118 [ 20.587700][ C0] hardirqs last enabled at (1118): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 20.588211][ C0] hardirqs last disabled at (1117): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 20.588657][ C0] softirqs last enabled at (452): [] handle_softirqs+0x358/0x620 [ 20.589107][ C0] softirqs last disabled at (967): [] __irq_exit_rcu+0xfa/0x160 [ 20.589554][ C0] [ 20.589554][ C0] other info that might help us debug this: [ 20.589938][ C0] Possible unsafe locking scenario: [ 20.589938][ C0] [ 20.590326][ C0] CPU0 [ 20.590524][ C0] ---- [ 20.590719][ C0] lock(&xa->xa_lock#8); [ 20.590918][ C0] [ 20.591114][ C0] lock(&xa->xa_lock#8); [ 20.591376][ C0] [ 20.591376][ C0] *** DEADLOCK *** [ 20.591376][ C0] [ 20.591764][ C0] 3 locks held by ksft_runner.sh/264: [ 20.592018][ C0] #0: ffff88800936eab8 (&sig->cred_guard_mutex){+.+.}-{4:4}, at: bprm_execve+0x4f/0x490 [ 20.592479][ C0] #1: ffffffff9cf794e0 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x147/0x1e10 [ 20.592938][ C0] #2: ffffffff9cf793c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 20.593397][ C0] [ 20.593397][ C0] stack backtrace: [ 20.593719][ C0] CPU: 0 UID: 0 PID: 264 Comm: ksft_runner.sh Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 20.593724][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.593727][ C0] Call Trace: [ 20.593728][ C0] [ 20.593730][ C0] dump_stack_lvl+0x82/0xd0 [ 20.593737][ C0] print_usage_bug.part.0+0x25f/0x360 [ 20.593742][ C0] mark_lock_irq+0x343/0x400 [ 20.593749][ C0] mark_lock+0x174/0x2f0 [ 20.593753][ C0] mark_usage+0x46/0x150 [ 20.593757][ C0] __lock_acquire+0x20b/0x7e0 [ 20.593760][ C0] ? unwind_next_frame+0x4f8/0x1e10 [ 20.593766][ C0] ? __create_object+0x22/0xb0 [ 20.593771][ C0] lock_acquire.part.0+0xb6/0x240 [ 20.593775][ C0] ? xa_set_mark+0x73/0x120 [ 20.593778][ C0] ? rcu_is_watching+0x12/0xc0 [ 20.593784][ C0] ? lock_acquire+0x10c/0x170 [ 20.593787][ C0] ? xa_set_mark+0x73/0x120 [ 20.593791][ C0] _raw_spin_lock+0x33/0x40 [ 20.593795][ C0] ? xa_set_mark+0x73/0x120 [ 20.593798][ C0] xa_set_mark+0x73/0x120 [ 20.593800][ C0] ? __pfx_xa_set_mark+0x10/0x10 [ 20.593803][ C0] ? __lock_acquire+0x44d/0x7e0 [ 20.593808][ C0] ? find_held_lock+0x2b/0x80 [ 20.593812][ C0] ref_tracker_dir_exit+0xb2/0x740 [ 20.593816][ C0] ? mark_held_locks+0x49/0x80 [ 20.593819][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 20.593823][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 20.593827][ C0] ? ref_tracker_free+0x35d/0x900 [ 20.593830][ C0] ? __lock_acquire+0x44d/0x7e0 [ 20.593833][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 20.593836][ C0] ? __sk_destruct+0x383/0x780 [ 20.593840][ C0] ? rcu_do_batch+0x34f/0xf20 [ 20.593843][ C0] ? rcu_core+0x2bb/0x500 [ 20.593845][ C0] ? handle_softirqs+0x21b/0x620 [ 20.593850][ C0] __put_net+0x83/0x140 [ 20.593854][ C0] ? set_track_prepare+0x3a/0x70 [ 20.593857][ C0] ? __pfx___put_net+0x10/0x10 [ 20.593861][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 20.593865][ C0] __sk_destruct+0x58a/0x780 [ 20.593869][ C0] ? rcu_do_batch+0x34a/0xf20 [ 20.593872][ C0] rcu_do_batch+0x34f/0xf20 [ 20.593875][ C0] ? find_held_lock+0x2b/0x80 [ 20.593879][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 20.593882][ C0] ? mark_held_locks+0x49/0x80 [ 20.593886][ C0] ? note_gp_changes+0x182/0x1e0 [ 20.593889][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 20.593894][ C0] rcu_core+0x2bb/0x500 [ 20.593897][ C0] handle_softirqs+0x21b/0x620 [ 20.593903][ C0] __irq_exit_rcu+0xfa/0x160 [ 20.593906][ C0] irq_exit_rcu+0xe/0x30 [ 20.593910][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.593913][ C0] [ 20.593914][ C0] [ 20.593916][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.593920][ C0] RIP: 0010:lock_acquire.part.0+0xf2/0x240 [ 20.593924][ C0] Code: ff ff ff 65 0f c1 05 bd f0 15 05 83 f8 01 0f 85 3e 01 00 00 9c 58 f6 c4 02 0f 85 29 01 00 00 48 85 db 74 01 fb 48 8b 44 24 30 <65> 48 2b 05 ee af 15 05 0f 85 3a 01 00 00 48 83 c4 38 5b 5d 41 5c [ 20.593927][ C0] RSP: 0018:ffffc90000b37158 EFLAGS: 00000206 [ 20.593932][ C0] RAX: d7c131a51791a200 RBX: 0000000000000200 RCX: 0000000000000001 [ 20.593934][ C0] RDX: 0000000000000000 RSI: ffffffff9ca8de21 RDI: ffffffff9c25a220 [ 20.593936][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 [ 20.593937][ C0] R10: 0000000000000000 R11: ffffffff9cf794e0 R12: 0000000000000002 [ 20.593939][ C0] R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff9cf794e0 [ 20.593945][ C0] ? rcu_is_watching+0x12/0xc0 [ 20.593949][ C0] ? lock_acquire+0x10c/0x170 [ 20.593953][ C0] ? unwind_next_frame+0x147/0x1e10 [ 20.593957][ C0] unwind_next_frame+0x15b/0x1e10 [ 20.593960][ C0] ? unwind_next_frame+0x147/0x1e10 [ 20.593963][ C0] ? do_dentry_open+0x433/0x10a0 [ 20.593969][ C0] ? kmem_cache_alloc_noprof+0x10b/0x330 [ 20.593972][ C0] ? __alloc_object+0x2f/0x2e0 [ 20.593975][ C0] ? __pfx_unwind_next_frame+0x10/0x10 [ 20.593980][ C0] ? do_dentry_open+0x433/0x10a0 [ 20.593983][ C0] ? kernel_text_address+0x17/0xe0 [ 20.593988][ C0] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 20.593993][ C0] arch_stack_walk+0x8b/0xf0 [ 20.593999][ C0] ? do_dentry_open+0x433/0x10a0 [ 20.594003][ C0] stack_trace_save+0x93/0xd0 [ 20.594006][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 20.594012][ C0] set_track_prepare+0x3a/0x70 [ 20.594014][ C0] ? __kmalloc_cache_noprof+0x2bb/0x360 [ 20.594017][ C0] ? fuse_file_alloc+0x4b/0x2c0 [ 20.594021][ C0] ? fuse_file_open+0x155/0x7f0 [ 20.594024][ C0] ? fuse_open+0x204/0x6e0 [ 20.594026][ C0] ? do_dentry_open+0x433/0x10a0 [ 20.594029][ C0] ? vfs_open+0x82/0x350 [ 20.594032][ C0] ? backing_file_open+0x8a/0xf0 [ 20.594036][ C0] ? ovl_open_realfile+0x221/0x330 [ 20.594039][ C0] ? ovl_open+0x1a1/0x2e0 [ 20.594041][ C0] ? do_dentry_open+0x433/0x10a0 [ 20.594046][ C0] __alloc_object+0xf7/0x2e0 [ 20.594049][ C0] __create_object+0x22/0xb0 [ 20.594053][ C0] __kmalloc_cache_noprof+0x2bb/0x360 [ 20.594055][ C0] ? __lock_acquire+0x44d/0x7e0 [ 20.594060][ C0] fuse_file_alloc+0x4b/0x2c0 [ 20.594064][ C0] fuse_file_open+0x155/0x7f0 [ 20.594068][ C0] fuse_open+0x204/0x6e0 [ 20.594072][ C0] do_dentry_open+0x433/0x10a0 [ 20.594076][ C0] ? __pfx_fuse_open+0x10/0x10 [ 20.594081][ C0] vfs_open+0x82/0x350 [ 20.594085][ C0] backing_file_open+0x8a/0xf0 [ 20.594089][ C0] ? inode_owner_or_capable+0xad/0x170 [ 20.594093][ C0] ovl_open_realfile+0x221/0x330 [ 20.594097][ C0] ovl_open+0x1a1/0x2e0 [ 20.594100][ C0] ? __pfx_ovl_open+0x10/0x10 [ 20.594102][ C0] ? __lock_release+0x5d/0x170 [ 20.594107][ C0] do_dentry_open+0x433/0x10a0 [ 20.594111][ C0] ? __pfx_ovl_open+0x10/0x10 [ 20.594115][ C0] vfs_open+0x82/0x350 [ 20.594119][ C0] do_open+0x591/0xb60 [ 20.594125][ C0] path_openat+0x1e2/0x380 [ 20.594129][ C0] ? __pfx_path_openat+0x10/0x10 [ 20.594134][ C0] ? __kernel_text_address+0x12/0x40 [ 20.594137][ C0] ? unwind_get_return_address+0x5e/0xa0 [ 20.594140][ C0] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 20.594144][ C0] ? arch_stack_walk+0xa1/0xf0 [ 20.594147][ C0] do_filp_open+0x1d7/0x420 [ 20.594150][ C0] ? __pfx_do_filp_open+0x10/0x10 [ 20.594152][ C0] ? rcu_read_lock_any_held+0x43/0xb0 [ 20.594157][ C0] ? validate_chain+0x166/0x4d0 [ 20.594163][ C0] ? __pfx_page_put_link+0x10/0x10 [ 20.594167][ C0] ? find_held_lock+0x2b/0x80 [ 20.594171][ C0] ? mark_held_locks+0x49/0x80 [ 20.594175][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 20.594178][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 20.594183][ C0] do_open_execat+0xaa/0x2e0 [ 20.594186][ C0] ? __pfx_do_open_execat+0x10/0x10 [ 20.594191][ C0] ? getname_kernel+0x14b/0x2d0 [ 20.594195][ C0] open_exec+0x2b/0x50 [ 20.594198][ C0] load_elf_binary+0x51e/0x2960 [ 20.594203][ C0] ? __lock_acquire+0x44d/0x7e0 [ 20.594209][ C0] ? find_held_lock+0x2b/0x80 [ 20.594211][ C0] ? __pfx_load_elf_binary+0x10/0x10 [ 20.594214][ C0] ? exec_binprm+0x237/0x640 [ 20.594220][ C0] exec_binprm+0x258/0x640 [ 20.594225][ C0] ? __pfx_exec_binprm+0x10/0x10 [ 20.594228][ C0] ? bprm_execve+0x93/0x490 [ 20.594233][ C0] bprm_execve+0x1af/0x490 [ 20.594237][ C0] do_execveat_common.isra.0+0x3f5/0x550 [ 20.594242][ C0] __x64_sys_execve+0x8e/0xb0 [ 20.594246][ C0] do_syscall_64+0xc1/0x380 [ 20.594249][ C0] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 20.594252][ C0] RIP: 0033:0x7f15817b540b [ 20.594255][ C0] Code: c0 75 03 5f ff e7 c3 48 8b 0d f1 a9 1b 00 f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 80 00 00 00 00 f3 0f 1e fa b8 3b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c5 a9 1b 00 f7 d8 64 89 01 48 [ 20.594257][ C0] RSP: 002b:00007ffe673e2998 EFLAGS: 00000246 ORIG_RAX: 000000000000003b [ 20.594260][ C0] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f15817b540b [ 20.594262][ C0] RDX: 0000562b1910b6a0 RSI: 0000562b19109550 RDI: 0000562b1912d6e0 [ 20.594263][ C0] RBP: 0000562b1912d6e0 R08: 0000562b1910af50 R09: 0000000000000020 [ 20.594265][ C0] R10: 00000000000001b6 R11: 0000000000000246 R12: 00000000ffffffff [ 20.594267][ C0] R13: 0000562b19109550 R14: 0000562b1910b6a0 R15: 0000562b190fa650 [ 20.594272][ C0]