[ 15.376506][ C3] [ 15.376664][ C3] ================================ [ 15.376866][ C3] WARNING: inconsistent lock state [ 15.377056][ C3] 6.15.0-rc5-virtme #1 Not tainted [ 15.377261][ C3] -------------------------------- [ 15.377458][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.377711][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.377956][ C3] ffffffffb4bbf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.378297][ C3] {SOFTIRQ-ON-W} state was registered at: [ 15.378488][ C3] __lock_acquire+0x3eb/0x9d0 [ 15.378696][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.378887][ C3] _raw_spin_lock+0x33/0x40 [ 15.379094][ C3] simple_pin_fs+0x24/0x150 [ 15.379285][ C3] start_creating.part.0+0x3f/0x2f0 [ 15.379491][ C3] debugfs_create_dir+0x6a/0x540 [ 15.379682][ C3] component_debug_init+0x17/0x30 [ 15.379896][ C3] do_one_initcall+0x8c/0x1e0 [ 15.380112][ C3] do_initcalls+0x176/0x280 [ 15.380316][ C3] kernel_init_freeable+0x22d/0x300 [ 15.380508][ C3] kernel_init+0x20/0x200 [ 15.380708][ C3] ret_from_fork+0x31/0x70 [ 15.380915][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.381103][ C3] irq event stamp: 301808 [ 15.381269][ C3] hardirqs last enabled at (301808): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.381659][ C3] hardirqs last disabled at (301807): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.382051][ C3] softirqs last enabled at (299714): [] handle_softirqs+0x358/0x620 [ 15.382393][ C3] softirqs last disabled at (299751): [] __irq_exit_rcu+0xfa/0x160 [ 15.382733][ C3] [ 15.382733][ C3] other info that might help us debug this: [ 15.383023][ C3] Possible unsafe locking scenario: [ 15.383023][ C3] [ 15.383309][ C3] CPU0 [ 15.383452][ C3] ---- [ 15.383599][ C3] lock(pin_fs_lock); [ 15.383744][ C3] [ 15.383885][ C3] lock(pin_fs_lock); [ 15.384041][ C3] [ 15.384041][ C3] *** DEADLOCK *** [ 15.384041][ C3] [ 15.384323][ C3] 1 lock held by swapper/3/0: [ 15.384514][ C3] #0: ffffffffb4974480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.384868][ C3] [ 15.384868][ C3] stack backtrace: [ 15.385114][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 15.385119][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.385122][ C3] Call Trace: [ 15.385124][ C3] [ 15.385127][ C3] dump_stack_lvl+0x82/0xd0 [ 15.385134][ C3] print_usage_bug.part.0+0x25f/0x360 [ 15.385140][ C3] mark_lock_irq+0x343/0x400 [ 15.385145][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.385152][ C3] ? save_trace+0x52/0x170 [ 15.385156][ C3] mark_lock+0x174/0x2f0 [ 15.385160][ C3] mark_usage+0x46/0x150 [ 15.385164][ C3] __lock_acquire+0x3eb/0x9d0 [ 15.385169][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.385173][ C3] ? simple_pin_fs+0x24/0x150 [ 15.385179][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.385186][ C3] ? lock_acquire+0x10c/0x170 [ 15.385189][ C3] ? simple_pin_fs+0x24/0x150 [ 15.385193][ C3] _raw_spin_lock+0x33/0x40 [ 15.385197][ C3] ? simple_pin_fs+0x24/0x150 [ 15.385200][ C3] simple_pin_fs+0x24/0x150 [ 15.385204][ C3] debugfs_remove+0x35/0x70 [ 15.385209][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.385214][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.385216][ C3] ? __sk_destruct+0x383/0x780 [ 15.385222][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.385225][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.385229][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.385231][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.385237][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.385242][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.385245][ C3] ? default_idle+0x9/0x10 [ 15.385248][ C3] ? default_idle_call+0x6d/0xb0 [ 15.385250][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.385256][ C3] ? do_idle+0xf6/0x160 [ 15.385258][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.385262][ C3] ? start_secondary+0x213/0x2a0 [ 15.385268][ C3] ? common_startup_64+0x13e/0x148 [ 15.385275][ C3] __put_net+0x19/0x60 [ 15.385279][ C3] __sk_destruct+0x58a/0x780 [ 15.385283][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.385286][ C3] rcu_do_batch+0x34c/0xf20 [ 15.385289][ C3] ? find_held_lock+0x2b/0x80 [ 15.385293][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.385298][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.385301][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.385305][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.385309][ C3] rcu_core+0x2bb/0x500 [ 15.385313][ C3] handle_softirqs+0x218/0x620 [ 15.385318][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.385320][ C3] irq_exit_rcu+0xe/0x30 [ 15.385323][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.385326][ C3] [ 15.385327][ C3] [ 15.385328][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.385331][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.385335][ C3] Code: b0 b8 00 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d a3 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.385339][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 15.385342][ C3] RAX: 00000000000492e5 RBX: 1ffff9200002afc1 RCX: ffffffffb3955a19 [ 15.385345][ C3] RDX: 0000000000000000 RSI: ffffffffb4485f31 RDI: ffffffffb3c50ce0 [ 15.385347][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb667a [ 15.385349][ C3] R10: ffff88802f5b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.385350][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 15.385354][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.385360][ C3] default_idle+0x9/0x10 [ 15.385362][ C3] default_idle_call+0x6d/0xb0 [ 15.385364][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.385368][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.385372][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.385377][ C3] do_idle+0xf6/0x160 [ 15.385381][ C3] cpu_startup_entry+0x54/0x60 [ 15.385385][ C3] start_secondary+0x213/0x2a0 [ 15.385388][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.385394][ C3] common_startup_64+0x13e/0x148 [ 15.385400][ C3] [ 15.400815][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.401129][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 15.401436][ C3] preempt_count: 101, expected: 0 [ 15.401626][ C3] RCU nest depth: 0, expected: 0 [ 15.401805][ C3] INFO: lockdep is turned off. [ 15.401985][ C3] Preemption disabled at: [ 15.401986][ C3] [<0000000000000000>] 0x0 [ 15.402310][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 15.402315][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.402317][ C3] Call Trace: [ 15.402319][ C3] [ 15.402321][ C3] dump_stack_lvl+0xb0/0xd0 [ 15.402330][ C3] __might_resched+0x360/0x5a0 [ 15.402336][ C3] down_write+0x72/0x210 [ 15.402341][ C3] ? __pfx_down_write+0x10/0x10 [ 15.402344][ C3] ? simple_recursive_removal+0x3a/0x860 [ 15.402349][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.402356][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.402361][ C3] simple_recursive_removal+0x166/0x860 [ 15.402364][ C3] ? __pfx_remove_one+0x10/0x10 [ 15.402369][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.402373][ C3] debugfs_remove+0x44/0x70 [ 15.402376][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.402382][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.402385][ C3] ? __sk_destruct+0x383/0x780 [ 15.402391][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.402395][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.402398][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.402402][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.402407][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.402412][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.402415][ C3] ? default_idle+0x9/0x10 [ 15.402418][ C3] ? default_idle_call+0x6d/0xb0 [ 15.402420][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.402426][ C3] ? do_idle+0xf6/0x160 [ 15.402429][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.402432][ C3] ? start_secondary+0x213/0x2a0 [ 15.402438][ C3] ? common_startup_64+0x13e/0x148 [ 15.402445][ C3] __put_net+0x19/0x60 [ 15.402449][ C3] __sk_destruct+0x58a/0x780 [ 15.402453][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.402456][ C3] rcu_do_batch+0x34c/0xf20 [ 15.402460][ C3] ? find_held_lock+0x2b/0x80 [ 15.402465][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.402469][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.402474][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.402477][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.402482][ C3] rcu_core+0x2bb/0x500 [ 15.402485][ C3] handle_softirqs+0x218/0x620 [ 15.402490][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.402492][ C3] irq_exit_rcu+0xe/0x30 [ 15.402494][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.402498][ C3] [ 15.402499][ C3] [ 15.402500][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.402503][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.402507][ C3] Code: b0 b8 00 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d a3 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.402509][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 15.402512][ C3] RAX: 00000000000492e5 RBX: 1ffff9200002afc1 RCX: ffffffffb3955a19 [ 15.402515][ C3] RDX: 0000000000000000 RSI: ffffffffb4485f31 RDI: ffffffffb3c50ce0 [ 15.402517][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb667a [ 15.402518][ C3] R10: ffff88802f5b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.402521][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 15.402525][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.402530][ C3] default_idle+0x9/0x10 [ 15.402532][ C3] default_idle_call+0x6d/0xb0 [ 15.402535][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.402538][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.402543][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.402548][ C3] do_idle+0xf6/0x160 [ 15.402552][ C3] cpu_startup_entry+0x54/0x60 [ 15.402555][ C3] start_secondary+0x213/0x2a0 [ 15.402559][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.402564][ C3] common_startup_64+0x13e/0x148 [ 15.402570][ C3] [ 17.195479][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.195905][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 216, name: timeout [ 17.196254][ C0] preempt_count: 102, expected: 0 [ 17.196451][ C0] RCU nest depth: 0, expected: 0 [ 17.196660][ C0] INFO: lockdep is turned off. [ 17.196864][ C0] Preemption disabled at: [ 17.196865][ C0] [] __slab_alloc.constprop.0+0x2c/0xb0 [ 17.197284][ C0] CPU: 0 UID: 0 PID: 216 Comm: timeout Tainted: G W 6.15.0-rc5-virtme #1 PREEMPT(full) [ 17.197291][ C0] Tainted: [W]=WARN [ 17.197292][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.197295][ C0] Call Trace: [ 17.197297][ C0] [ 17.197299][ C0] dump_stack_lvl+0xb0/0xd0 [ 17.197308][ C0] __might_resched+0x360/0x5a0 [ 17.197315][ C0] down_write+0x72/0x210 [ 17.197320][ C0] ? __pfx_down_write+0x10/0x10 [ 17.197323][ C0] ? simple_recursive_removal+0x3a/0x860 [ 17.197329][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.197337][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.197342][ C0] simple_recursive_removal+0x166/0x860 [ 17.197345][ C0] ? __pfx_remove_one+0x10/0x10 [ 17.197351][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.197355][ C0] debugfs_remove+0x44/0x70 [ 17.197358][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 17.197364][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.197367][ C0] ? __sk_destruct+0x383/0x780 [ 17.197374][ C0] ? rcu_do_batch+0x34c/0xf20 [ 17.197379][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.197382][ C0] ? irq_exit_rcu+0xe/0x30 [ 17.197387][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.197392][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.197397][ C0] ? _raw_spin_unlock_irqrestore+0x41/0x80 [ 17.197401][ C0] ? get_partial_node.part.0+0x1c2/0x3b0 [ 17.197405][ C0] ? ___slab_alloc+0x4b2/0x1170 [ 17.197408][ C0] ? __slab_alloc.constprop.0+0x5b/0xb0 [ 17.197411][ C0] ? kmem_cache_alloc_noprof+0x1ab/0x330 [ 17.197414][ C0] ? fuse_request_alloc+0x1e/0x210 [ 17.197419][ C0] ? __fuse_simple_request+0x4c7/0xb50 [ 17.197423][ C0] ? fuse_file_put+0x170/0x1f0 [ 17.197427][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.197432][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.197437][ C0] __put_net+0x19/0x60 [ 17.197441][ C0] __sk_destruct+0x58a/0x780 [ 17.197445][ C0] ? rcu_do_batch+0x34a/0xf20 [ 17.197448][ C0] rcu_do_batch+0x34c/0xf20 [ 17.197452][ C0] ? clockevents_program_event+0xf6/0x300 [ 17.197455][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.197460][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.197464][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.197467][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.197474][ C0] rcu_core+0x2bb/0x500 [ 17.197478][ C0] handle_softirqs+0x218/0x620 [ 17.197483][ C0] __irq_exit_rcu+0xfa/0x160 [ 17.197485][ C0] irq_exit_rcu+0xe/0x30 [ 17.197488][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.197491][ C0] [ 17.197492][ C0] [ 17.197494][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.197496][ C0] RIP: 0010:_raw_spin_unlock_irqrestore+0x41/0x80 [ 17.197501][ C0] Code: 74 24 10 e8 91 3e 86 fd 48 89 ef e8 09 91 86 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 99 7a fd 65 8b 05 83 08 99 02 85 c0 74 0e 5b 5d c3 cc cc cc [ 17.197504][ C0] RSP: 0018:ffffc90000a27b18 EFLAGS: 00000206 [ 17.197508][ C0] RAX: 0000000000000046 RBX: 0000000000000200 RCX: ffffffffb14354df [ 17.197510][ C0] RDX: 0000000000000000 RSI: ffffffffb3c50c60 RDI: 0000000000000001 [ 17.197512][ C0] RBP: ffff888005bdb580 R08: 0000000000000000 R09: 0000000000000000 [ 17.197514][ C0] R10: ffffffffb53d8197 R11: ffff88800a113a38 R12: ffff888005bdb580 [ 17.197516][ C0] R13: ffffea000028d200 R14: ffff888005bd3e40 R15: ffff88800a348ac8 [ 17.197520][ C0] ? trace_irq_enable.constprop.0+0x2f/0x130 [ 17.197525][ C0] get_partial_node.part.0+0x1c2/0x3b0 [ 17.197530][ C0] ___slab_alloc+0x4b2/0x1170 [ 17.197533][ C0] ? fuse_request_alloc+0x1e/0x210 [ 17.197538][ C0] ? fuse_request_alloc+0x1e/0x210 [ 17.197541][ C0] __slab_alloc.constprop.0+0x5b/0xb0 [ 17.197545][ C0] ? fuse_request_alloc+0x1e/0x210 [ 17.197547][ C0] kmem_cache_alloc_noprof+0x1ab/0x330 [ 17.197551][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 17.197555][ C0] fuse_request_alloc+0x1e/0x210 [ 17.197558][ C0] __fuse_simple_request+0x4c7/0xb50 [ 17.197563][ C0] fuse_file_put+0x170/0x1f0 [ 17.197567][ C0] fuse_release+0x134/0x1c0 [ 17.197572][ C0] __fput+0x35c/0xa80 [ 17.197579][ C0] task_work_run+0x131/0x220 [ 17.197586][ C0] ? __pfx_task_work_run+0x10/0x10 [ 17.197590][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.197594][ C0] do_exit+0x4e4/0xc10 [ 17.197600][ C0] do_group_exit+0xb8/0x260 [ 17.197604][ C0] __x64_sys_exit_group+0x3e/0x50 [ 17.197607][ C0] x64_sys_call+0xf76/0x18a0 [ 17.197616][ C0] do_syscall_64+0xc1/0x1d0 [ 17.197622][ C0] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 17.197624][ C0] RIP: 0033:0x7f6a3fb65abd [ 17.197628][ C0] Code: Unable to access opcode bytes at 0x7f6a3fb65a93. [ 17.197629][ C0] RSP: 002b:00007ffc8e551368 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 17.197632][ C0] RAX: ffffffffffffffda RBX: 00007f6a3fc429c0 RCX: 00007f6a3fb65abd [ 17.197634][ C0] RDX: 00000000000000e7 RSI: ffffffffffffff80 RDI: 0000000000000000 [ 17.197636][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000020 [ 17.197638][ C0] R10: 00007ffc8e551210 R11: 0000000000000246 R12: 00007f6a3fc429c0 [ 17.197640][ C0] R13: 00007f6a3fc47ee0 R14: 0000000000000002 R15: 00007f6a3fc47ec8 [ 17.197646][ C0]