[ 12.396615][ C3] [ 12.396778][ C3] ================================ [ 12.396999][ C3] WARNING: inconsistent lock state [ 12.397205][ C3] 6.15.0-rc5-virtme #1 Not tainted [ 12.397419][ C3] -------------------------------- [ 12.397622][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.397881][ C3] systemd-udevd/125 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.398133][ C3] ffffffff991bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.398489][ C3] {SOFTIRQ-ON-W} state was registered at: [ 12.398689][ C3] __lock_acquire+0x3eb/0x9d0 [ 12.398889][ C3] lock_acquire.part.0+0xb6/0x240 [ 12.399084][ C3] _raw_spin_lock+0x33/0x40 [ 12.399283][ C3] simple_pin_fs+0x24/0x150 [ 12.399480][ C3] start_creating.part.0+0x3f/0x2f0 [ 12.399683][ C3] debugfs_create_dir+0x6a/0x540 [ 12.399884][ C3] component_debug_init+0x17/0x30 [ 12.400100][ C3] do_one_initcall+0x8c/0x1e0 [ 12.400306][ C3] do_initcalls+0x176/0x280 [ 12.400505][ C3] kernel_init_freeable+0x22d/0x300 [ 12.400714][ C3] kernel_init+0x20/0x200 [ 12.400916][ C3] ret_from_fork+0x31/0x70 [ 12.401115][ C3] ret_from_fork_asm+0x1a/0x30 [ 12.401316][ C3] irq event stamp: 292376 [ 12.401472][ C3] hardirqs last enabled at (292376): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.401899][ C3] hardirqs last disabled at (292375): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.402314][ C3] softirqs last enabled at (291338): [] handle_softirqs+0x358/0x620 [ 12.402688][ C3] softirqs last disabled at (292047): [] __irq_exit_rcu+0xfa/0x160 [ 12.403061][ C3] [ 12.403061][ C3] other info that might help us debug this: [ 12.403357][ C3] Possible unsafe locking scenario: [ 12.403357][ C3] [ 12.403654][ C3] CPU0 [ 12.403827][ C3] ---- [ 12.403992][ C3] lock(pin_fs_lock); [ 12.404148][ C3] [ 12.404298][ C3] lock(pin_fs_lock); [ 12.404457][ C3] [ 12.404457][ C3] *** DEADLOCK *** [ 12.404457][ C3] [ 12.404757][ C3] 1 lock held by systemd-udevd/125: [ 12.404961][ C3] #0: ffffffff98f74480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.405342][ C3] [ 12.405342][ C3] stack backtrace: [ 12.405594][ C3] CPU: 3 UID: 0 PID: 125 Comm: systemd-udevd Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 12.405599][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.405602][ C3] Call Trace: [ 12.405603][ C3] [ 12.405605][ C3] dump_stack_lvl+0x82/0xd0 [ 12.405612][ C3] print_usage_bug.part.0+0x25f/0x360 [ 12.405617][ C3] mark_lock_irq+0x343/0x400 [ 12.405621][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 12.405625][ C3] ? save_trace+0x52/0x170 [ 12.405631][ C3] mark_lock+0x174/0x2f0 [ 12.405634][ C3] mark_usage+0x46/0x150 [ 12.405636][ C3] __lock_acquire+0x3eb/0x9d0 [ 12.405641][ C3] lock_acquire.part.0+0xb6/0x240 [ 12.405644][ C3] ? simple_pin_fs+0x24/0x150 [ 12.405649][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.405652][ C3] ? lock_acquire+0x10c/0x170 [ 12.405654][ C3] ? simple_pin_fs+0x24/0x150 [ 12.405658][ C3] _raw_spin_lock+0x33/0x40 [ 12.405662][ C3] ? simple_pin_fs+0x24/0x150 [ 12.405665][ C3] simple_pin_fs+0x24/0x150 [ 12.405668][ C3] debugfs_remove+0x35/0x70 [ 12.405672][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 12.405678][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.405681][ C3] ? __sk_destruct+0x383/0x780 [ 12.405686][ C3] ? rcu_do_batch+0x34c/0xf20 [ 12.405690][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.405693][ C3] ? irq_exit_rcu+0xe/0x30 [ 12.405696][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.405700][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.405705][ C3] ? _raw_spin_unlock_irqrestore+0x41/0x80 [ 12.405708][ C3] ? __delete_object+0x30/0x60 [ 12.405713][ C3] ? kmem_cache_free+0x221/0x330 [ 12.405717][ C3] ? fput_close+0xdd/0x190 [ 12.405722][ C3] ? path_openat+0x27e/0x440 [ 12.405726][ C3] ? do_filp_open+0x1d7/0x420 [ 12.405730][ C3] ? do_sys_openat2+0xd4/0x160 [ 12.405735][ C3] ? __x64_sys_openat+0x122/0x1e0 [ 12.405742][ C3] __put_net+0x19/0x60 [ 12.405748][ C3] __sk_destruct+0x58a/0x780 [ 12.405753][ C3] ? rcu_do_batch+0x34a/0xf20 [ 12.405757][ C3] rcu_do_batch+0x34c/0xf20 [ 12.405761][ C3] ? find_held_lock+0x2b/0x80 [ 12.405765][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.405769][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.405772][ C3] ? note_gp_changes+0x182/0x1e0 [ 12.405775][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.405780][ C3] rcu_core+0x2bb/0x500 [ 12.405784][ C3] handle_softirqs+0x218/0x620 [ 12.405788][ C3] __irq_exit_rcu+0xfa/0x160 [ 12.405791][ C3] irq_exit_rcu+0xe/0x30 [ 12.405794][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.405797][ C3] [ 12.405798][ C3] [ 12.405799][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.405802][ C3] RIP: 0010:_raw_spin_unlock_irqrestore+0x41/0x80 [ 12.405806][ C3] 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.405809][ C3] RSP: 0018:ffffc900006f7a28 EFLAGS: 00000206 [ 12.405812][ C3] RAX: 0000000000000002 RBX: 0000000000000200 RCX: ffffffff95a364df [ 12.405814][ C3] RDX: 0000000000000000 RSI: ffffffff98a881e1 RDI: 0000000000000001 [ 12.405816][ C3] RBP: ffff888005edeb00 R08: 0000000000000001 R09: 0000000000000001 [ 12.405818][ C3] R10: ffffffff999d9497 R11: 0000000000000000 R12: ffffea0000264200 [ 12.405820][ C3] R13: 0000000000006397 R14: 0000000000000000 R15: ffff8880019b76c0 [ 12.405824][ C3] ? trace_irq_enable.constprop.0+0x2f/0x130 [ 12.405830][ C3] __delete_object+0x30/0x60 [ 12.405833][ C3] kmem_cache_free+0x221/0x330 [ 12.405836][ C3] ? fput_close+0xdd/0x190 [ 12.405840][ C3] fput_close+0xdd/0x190 [ 12.405843][ C3] ? __pfx_fput_close+0x10/0x10 [ 12.405847][ C3] ? path_lookupat+0x175/0x660 [ 12.405851][ C3] path_openat+0x27e/0x440 [ 12.405855][ C3] ? __pfx_path_openat+0x10/0x10 [ 12.405857][ C3] ? validate_chain+0x166/0x4d0 [ 12.405862][ C3] do_filp_open+0x1d7/0x420 [ 12.405865][ C3] ? __pfx_do_filp_open+0x10/0x10 [ 12.405871][ C3] ? find_held_lock+0x2b/0x80 [ 12.405875][ C3] ? alloc_fd+0x25f/0x490 [ 12.405878][ C3] ? __lock_release+0x5d/0x170 [ 12.405882][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 12.405886][ C3] ? _raw_spin_unlock+0x2d/0x50 [ 12.405889][ C3] ? alloc_fd+0x25f/0x490 [ 12.405893][ C3] do_sys_openat2+0xd4/0x160 [ 12.405897][ C3] ? __pfx_do_sys_openat2+0x10/0x10 [ 12.405900][ C3] ? trace_rcu_segcb_stats+0x106/0x220 [ 12.405904][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.405906][ C3] ? __call_rcu_common.constprop.0+0x2b1/0x610 [ 12.405909][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.405914][ C3] __x64_sys_openat+0x122/0x1e0 [ 12.405917][ C3] ? fput_close_sync+0xdd/0x190 [ 12.405921][ C3] ? __pfx___x64_sys_openat+0x10/0x10 [ 12.405926][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.405928][ C3] ? do_syscall_64+0x85/0x1d0 [ 12.405933][ C3] do_syscall_64+0xc1/0x1d0 [ 12.405937][ C3] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 12.405940][ C3] RIP: 0033:0x7f221b16f9a6 [ 12.405947][ C3] Code: Unable to access opcode bytes at 0x7f221b16f97c. [ 12.405948][ C3] RSP: 002b:00007ffc1479eb00 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 12.405951][ C3] RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007f221b16f9a6 [ 12.405953][ C3] RDX: 00000000002a0000 RSI: 000055732386fae0 RDI: 000000000000000d [ 12.405955][ C3] RBP: 00007ffc1479ed60 R08: 0000000000000011 R09: 0000000000000020 [ 12.405957][ C3] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000011 [ 12.405958][ C3] R13: 0000000000000000 R14: 000000000000000d R15: 000055732388e290 [ 12.405964][ C3] [ 12.428199][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.428542][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 125, name: systemd-udevd [ 12.428856][ C3] preempt_count: 101, expected: 0 [ 12.429032][ C3] RCU nest depth: 0, expected: 0 [ 12.429209][ C3] INFO: lockdep is turned off. [ 12.429407][ C3] Preemption disabled at: [ 12.429409][ C3] [<0000000000000000>] 0x0 [ 12.429728][ C3] CPU: 3 UID: 0 PID: 125 Comm: systemd-udevd Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 12.429734][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.429736][ C3] Call Trace: [ 12.429737][ C3] [ 12.429739][ C3] dump_stack_lvl+0xb0/0xd0 [ 12.429747][ C3] __might_resched+0x360/0x5a0 [ 12.429754][ C3] down_write+0x72/0x210 [ 12.429758][ C3] ? __pfx_down_write+0x10/0x10 [ 12.429760][ C3] ? simple_recursive_removal+0x3a/0x860 [ 12.429765][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.429769][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 12.429774][ C3] simple_recursive_removal+0x166/0x860 [ 12.429777][ C3] ? __pfx_remove_one+0x10/0x10 [ 12.429782][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 12.429787][ C3] debugfs_remove+0x44/0x70 [ 12.429790][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 12.429795][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.429799][ C3] ? __sk_destruct+0x383/0x780 [ 12.429803][ C3] ? rcu_do_batch+0x34c/0xf20 [ 12.429808][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.429811][ C3] ? irq_exit_rcu+0xe/0x30 [ 12.429815][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.429819][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.429823][ C3] ? _raw_spin_unlock_irqrestore+0x41/0x80 [ 12.429827][ C3] ? __delete_object+0x30/0x60 [ 12.429830][ C3] ? kmem_cache_free+0x221/0x330 [ 12.429833][ C3] ? fput_close+0xdd/0x190 [ 12.429838][ C3] ? path_openat+0x27e/0x440 [ 12.429843][ C3] ? do_filp_open+0x1d7/0x420 [ 12.429845][ C3] ? do_sys_openat2+0xd4/0x160 [ 12.429849][ C3] ? __x64_sys_openat+0x122/0x1e0 [ 12.429854][ C3] __put_net+0x19/0x60 [ 12.429858][ C3] __sk_destruct+0x58a/0x780 [ 12.429861][ C3] ? rcu_do_batch+0x34a/0xf20 [ 12.429865][ C3] rcu_do_batch+0x34c/0xf20 [ 12.429869][ C3] ? find_held_lock+0x2b/0x80 [ 12.429874][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.429878][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.429881][ C3] ? note_gp_changes+0x182/0x1e0 [ 12.429884][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.429889][ C3] rcu_core+0x2bb/0x500 [ 12.429893][ C3] handle_softirqs+0x218/0x620 [ 12.429898][ C3] __irq_exit_rcu+0xfa/0x160 [ 12.429900][ C3] irq_exit_rcu+0xe/0x30 [ 12.429903][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.429906][ C3] [ 12.429907][ C3] [ 12.429908][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.429911][ C3] RIP: 0010:_raw_spin_unlock_irqrestore+0x41/0x80 [ 12.429915][ C3] 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.429917][ C3] RSP: 0018:ffffc900006f7a28 EFLAGS: 00000206 [ 12.429920][ C3] RAX: 0000000000000002 RBX: 0000000000000200 RCX: ffffffff95a364df [ 12.429922][ C3] RDX: 0000000000000000 RSI: ffffffff98a881e1 RDI: 0000000000000001 [ 12.429924][ C3] RBP: ffff888005edeb00 R08: 0000000000000001 R09: 0000000000000001 [ 12.429926][ C3] R10: ffffffff999d9497 R11: 0000000000000000 R12: ffffea0000264200 [ 12.429927][ C3] R13: 0000000000006397 R14: 0000000000000000 R15: ffff8880019b76c0 [ 12.429931][ C3] ? trace_irq_enable.constprop.0+0x2f/0x130 [ 12.429937][ C3] __delete_object+0x30/0x60 [ 12.429940][ C3] kmem_cache_free+0x221/0x330 [ 12.429942][ C3] ? fput_close+0xdd/0x190 [ 12.429947][ C3] fput_close+0xdd/0x190 [ 12.429950][ C3] ? __pfx_fput_close+0x10/0x10 [ 12.429953][ C3] ? path_lookupat+0x175/0x660 [ 12.429958][ C3] path_openat+0x27e/0x440 [ 12.429961][ C3] ? __pfx_path_openat+0x10/0x10 [ 12.429964][ C3] ? validate_chain+0x166/0x4d0 [ 12.429969][ C3] do_filp_open+0x1d7/0x420 [ 12.429972][ C3] ? __pfx_do_filp_open+0x10/0x10 [ 12.429978][ C3] ? find_held_lock+0x2b/0x80 [ 12.429982][ C3] ? alloc_fd+0x25f/0x490 [ 12.429985][ C3] ? __lock_release+0x5d/0x170 [ 12.429989][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 12.429992][ C3] ? _raw_spin_unlock+0x2d/0x50 [ 12.429995][ C3] ? alloc_fd+0x25f/0x490 [ 12.430000][ C3] do_sys_openat2+0xd4/0x160 [ 12.430004][ C3] ? __pfx_do_sys_openat2+0x10/0x10 [ 12.430007][ C3] ? trace_rcu_segcb_stats+0x106/0x220 [ 12.430011][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.430013][ C3] ? __call_rcu_common.constprop.0+0x2b1/0x610 [ 12.430016][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.430020][ C3] __x64_sys_openat+0x122/0x1e0 [ 12.430023][ C3] ? fput_close_sync+0xdd/0x190 [ 12.430027][ C3] ? __pfx___x64_sys_openat+0x10/0x10 [ 12.430032][ C3] ? rcu_is_watching+0x12/0xc0 [ 12.430034][ C3] ? do_syscall_64+0x85/0x1d0 [ 12.430039][ C3] do_syscall_64+0xc1/0x1d0 [ 12.430043][ C3] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 12.430046][ C3] RIP: 0033:0x7f221b16f9a6 [ 12.430052][ C3] Code: Unable to access opcode bytes at 0x7f221b16f97c. [ 12.430053][ C3] RSP: 002b:00007ffc1479eb00 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 12.430056][ C3] RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007f221b16f9a6 [ 12.430058][ C3] RDX: 00000000002a0000 RSI: 000055732386fae0 RDI: 000000000000000d [ 12.430060][ C3] RBP: 00007ffc1479ed60 R08: 0000000000000011 R09: 0000000000000020 [ 12.430062][ C3] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000011 [ 12.430063][ C3] R13: 0000000000000000 R14: 000000000000000d R15: 000055732388e290 [ 12.430069][ C3]