[ 14.058489][ C3] [ 14.058651][ C3] ================================ [ 14.058855][ C3] WARNING: inconsistent lock state [ 14.059056][ C3] 6.15.0-rc7-virtme #1 Not tainted [ 14.059259][ C3] -------------------------------- [ 14.059456][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.059693][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.059942][ C3] ffffffff9b9bff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.060325][ C3] {SOFTIRQ-ON-W} state was registered at: [ 14.060529][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.060731][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.060939][ C3] _raw_spin_lock+0x33/0x40 [ 14.061148][ C3] simple_pin_fs+0x24/0x150 [ 14.061351][ C3] start_creating.part.0+0x3f/0x2f0 [ 14.061559][ C3] debugfs_create_dir+0x6a/0x540 [ 14.061758][ C3] component_debug_init+0x17/0x30 [ 14.061957][ C3] do_one_initcall+0x8f/0x1e0 [ 14.062164][ C3] do_initcalls+0x176/0x280 [ 14.062369][ C3] kernel_init_freeable+0x22d/0x300 [ 14.062574][ C3] kernel_init+0x20/0x200 [ 14.062771][ C3] ret_from_fork+0x31/0x70 [ 14.062989][ C3] ret_from_fork_asm+0x1a/0x30 [ 14.063201][ C3] irq event stamp: 235330 [ 14.063354][ C3] hardirqs last enabled at (235330): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.063756][ C3] hardirqs last disabled at (235329): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.064160][ C3] softirqs last enabled at (234922): [] handle_softirqs+0x358/0x620 [ 14.064519][ C3] softirqs last disabled at (234929): [] __irq_exit_rcu+0xfa/0x160 [ 14.064887][ C3] [ 14.064887][ C3] other info that might help us debug this: [ 14.065186][ C3] Possible unsafe locking scenario: [ 14.065186][ C3] [ 14.065488][ C3] CPU0 [ 14.065646][ C3] ---- [ 14.065807][ C3] lock(pin_fs_lock); [ 14.065960][ C3] [ 14.066111][ C3] lock(pin_fs_lock); [ 14.066267][ C3] [ 14.066267][ C3] *** DEADLOCK *** [ 14.066267][ C3] [ 14.066569][ C3] 1 lock held by swapper/3/0: [ 14.066773][ C3] #0: ffffffff9b7749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.067156][ C3] [ 14.067156][ C3] stack backtrace: [ 14.067412][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 14.067417][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.067419][ C3] Call Trace: [ 14.067421][ C3] [ 14.067424][ C3] dump_stack_lvl+0x82/0xd0 [ 14.067432][ C3] print_usage_bug.part.0+0x25f/0x360 [ 14.067437][ C3] mark_lock_irq+0x343/0x400 [ 14.067441][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.067446][ C3] ? save_trace+0x52/0x170 [ 14.067454][ C3] mark_lock+0x174/0x2f0 [ 14.067457][ C3] mark_usage+0x46/0x150 [ 14.067460][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.067465][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.067468][ C3] ? simple_pin_fs+0x24/0x150 [ 14.067472][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.067475][ C3] ? lock_acquire+0x10c/0x170 [ 14.067478][ C3] ? simple_pin_fs+0x24/0x150 [ 14.067482][ C3] _raw_spin_lock+0x33/0x40 [ 14.067484][ C3] ? simple_pin_fs+0x24/0x150 [ 14.067487][ C3] simple_pin_fs+0x24/0x150 [ 14.067490][ C3] debugfs_remove+0x35/0x70 [ 14.067494][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.067502][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.067505][ C3] ? __sk_destruct+0x383/0x780 [ 14.067512][ C3] ? rcu_do_batch+0x34f/0xf20 [ 14.067516][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.067519][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.067522][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.067526][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.067531][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.067534][ C3] ? default_idle+0x9/0x10 [ 14.067536][ C3] ? default_idle_call+0x6d/0xb0 [ 14.067539][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.067543][ C3] ? do_idle+0xf6/0x160 [ 14.067545][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.067548][ C3] ? start_secondary+0x213/0x2a0 [ 14.067552][ C3] ? common_startup_64+0x13e/0x148 [ 14.067559][ C3] __put_net+0x19/0x60 [ 14.067564][ C3] __sk_destruct+0x58a/0x780 [ 14.067568][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.067571][ C3] rcu_do_batch+0x34f/0xf20 [ 14.067575][ C3] ? find_held_lock+0x2b/0x80 [ 14.067580][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.067584][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.067587][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.067591][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.067595][ C3] rcu_core+0x2bb/0x500 [ 14.067599][ C3] handle_softirqs+0x218/0x620 [ 14.067604][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.067606][ C3] irq_exit_rcu+0xe/0x30 [ 14.067609][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.067612][ C3] [ 14.067613][ C3] [ 14.067615][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.067618][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.067622][ C3] Code: 50 b7 00 e9 c3 57 02 00 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 c3 45 12 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 14.067624][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.067627][ C3] RAX: 00000000000395af RBX: 1ffff9200002afc1 RCX: ffffffff9a76ea19 [ 14.067630][ C3] RDX: 0000000000000000 RSI: ffffffff9b289a45 RDI: ffffffff9aa513a0 [ 14.067632][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb667a [ 14.067633][ C3] R10: ffff88802f5b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.067635][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.067639][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.067645][ C3] default_idle+0x9/0x10 [ 14.067647][ C3] default_idle_call+0x6d/0xb0 [ 14.067649][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.067652][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.067656][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.067661][ C3] do_idle+0xf6/0x160 [ 14.067664][ C3] cpu_startup_entry+0x54/0x60 [ 14.067667][ C3] start_secondary+0x213/0x2a0 [ 14.067670][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.067674][ C3] common_startup_64+0x13e/0x148 [ 14.067681][ C3] [ 14.084434][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.084767][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 14.085114][ C3] preempt_count: 101, expected: 0 [ 14.085303][ C3] RCU nest depth: 0, expected: 0 [ 14.085491][ C3] INFO: lockdep is turned off. [ 14.085678][ C3] Preemption disabled at: [ 14.085679][ C3] [<0000000000000000>] 0x0 [ 14.086144][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 14.086149][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.086151][ C3] Call Trace: [ 14.086152][ C3] [ 14.086155][ C3] dump_stack_lvl+0xb0/0xd0 [ 14.086163][ C3] __might_resched+0x360/0x5a0 [ 14.086172][ C3] down_write+0x72/0x210 [ 14.086176][ C3] ? __pfx_down_write+0x10/0x10 [ 14.086179][ C3] ? simple_recursive_removal+0x3a/0x860 [ 14.086184][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.086191][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.086198][ C3] simple_recursive_removal+0x166/0x860 [ 14.086203][ C3] ? __pfx_remove_one+0x10/0x10 [ 14.086207][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.086212][ C3] debugfs_remove+0x44/0x70 [ 14.086215][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.086221][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.086225][ C3] ? __sk_destruct+0x383/0x780 [ 14.086230][ C3] ? rcu_do_batch+0x34f/0xf20 [ 14.086234][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.086238][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.086243][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.086247][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.086251][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.086254][ C3] ? default_idle+0x9/0x10 [ 14.086257][ C3] ? default_idle_call+0x6d/0xb0 [ 14.086259][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.086263][ C3] ? do_idle+0xf6/0x160 [ 14.086265][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.086267][ C3] ? start_secondary+0x213/0x2a0 [ 14.086270][ C3] ? common_startup_64+0x13e/0x148 [ 14.086277][ C3] __put_net+0x19/0x60 [ 14.086280][ C3] __sk_destruct+0x58a/0x780 [ 14.086284][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.086287][ C3] rcu_do_batch+0x34f/0xf20 [ 14.086291][ C3] ? find_held_lock+0x2b/0x80 [ 14.086297][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.086301][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.086306][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.086309][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.086314][ C3] rcu_core+0x2bb/0x500 [ 14.086317][ C3] handle_softirqs+0x218/0x620 [ 14.086322][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.086325][ C3] irq_exit_rcu+0xe/0x30 [ 14.086328][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.086331][ C3] [ 14.086333][ C3] [ 14.086334][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.086337][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.086341][ C3] Code: 50 b7 00 e9 c3 57 02 00 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 c3 45 12 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 14.086344][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.086348][ C3] RAX: 00000000000395af RBX: 1ffff9200002afc1 RCX: ffffffff9a76ea19 [ 14.086350][ C3] RDX: 0000000000000000 RSI: ffffffff9b289a45 RDI: ffffffff9aa513a0 [ 14.086352][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb667a [ 14.086353][ C3] R10: ffff88802f5b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.086355][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.086359][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.086365][ C3] default_idle+0x9/0x10 [ 14.086367][ C3] default_idle_call+0x6d/0xb0 [ 14.086369][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.086372][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.086376][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.086380][ C3] do_idle+0xf6/0x160 [ 14.086383][ C3] cpu_startup_entry+0x54/0x60 [ 14.086386][ C3] start_secondary+0x213/0x2a0 [ 14.086389][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.086393][ C3] common_startup_64+0x13e/0x148 [ 14.086400][ C3]