[ 16.235114][ C3] [ 16.235318][ C3] ================================ [ 16.235512][ C3] WARNING: inconsistent lock state [ 16.235706][ C3] 6.15.0-virtme #1 Not tainted [ 16.235895][ C3] -------------------------------- [ 16.236081][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.236320][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.236551][ C3] ffffffff9efc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.236887][ C3] {SOFTIRQ-ON-W} state was registered at: [ 16.237070][ C3] __lock_acquire+0x20b/0x7e0 [ 16.237260][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.237449][ C3] _raw_spin_lock+0x33/0x40 [ 16.237639][ C3] simple_pin_fs+0x24/0x150 [ 16.237831][ C3] start_creating.part.0+0x52/0x310 [ 16.238019][ C3] debugfs_create_dir+0x6a/0x540 [ 16.238204][ C3] component_debug_init+0x17/0x30 [ 16.238395][ C3] do_one_initcall+0x8f/0x1e0 [ 16.238586][ C3] do_initcalls+0x176/0x280 [ 16.238779][ C3] kernel_init_freeable+0x22d/0x300 [ 16.238968][ C3] kernel_init+0x20/0x200 [ 16.239155][ C3] ret_from_fork+0x240/0x320 [ 16.239346][ C3] ret_from_fork_asm+0x1a/0x30 [ 16.239534][ C3] irq event stamp: 314838 [ 16.239677][ C3] hardirqs last enabled at (314838): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.240048][ C3] hardirqs last disabled at (314837): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.240417][ C3] softirqs last enabled at (314424): [] handle_softirqs+0x358/0x620 [ 16.240747][ C3] softirqs last disabled at (314443): [] __irq_exit_rcu+0xfa/0x160 [ 16.241068][ C3] [ 16.241068][ C3] other info that might help us debug this: [ 16.241343][ C3] Possible unsafe locking scenario: [ 16.241343][ C3] [ 16.241616][ C3] CPU0 [ 16.241753][ C3] ---- [ 16.241891][ C3] lock(pin_fs_lock); [ 16.242035][ C3] [ 16.242175][ C3] lock(pin_fs_lock); [ 16.242318][ C3] [ 16.242318][ C3] *** DEADLOCK *** [ 16.242318][ C3] [ 16.242589][ C3] 1 lock held by swapper/3/0: [ 16.242776][ C3] #0: ffffffff9ed774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.243126][ C3] [ 16.243126][ C3] stack backtrace: [ 16.243358][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.243362][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.243364][ C3] Call Trace: [ 16.243367][ C3] [ 16.243369][ C3] dump_stack_lvl+0x82/0xd0 [ 16.243375][ C3] print_usage_bug.part.0+0x25f/0x360 [ 16.243380][ C3] mark_lock_irq+0x343/0x400 [ 16.243384][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.243388][ C3] ? save_trace+0x52/0x170 [ 16.243394][ C3] mark_lock+0x174/0x2f0 [ 16.243398][ C3] mark_usage+0x46/0x150 [ 16.243401][ C3] __lock_acquire+0x20b/0x7e0 [ 16.243404][ C3] ? __lock_acquire+0x44d/0x7e0 [ 16.243408][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.243411][ C3] ? simple_pin_fs+0x24/0x150 [ 16.243415][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.243419][ C3] ? lock_acquire+0x10c/0x170 [ 16.243422][ C3] ? simple_pin_fs+0x24/0x150 [ 16.243426][ C3] _raw_spin_lock+0x33/0x40 [ 16.243430][ C3] ? simple_pin_fs+0x24/0x150 [ 16.243433][ C3] simple_pin_fs+0x24/0x150 [ 16.243437][ C3] debugfs_remove+0x35/0x70 [ 16.243440][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.243446][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.243449][ C3] ? __sk_destruct+0x383/0x780 [ 16.243455][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.243458][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.243461][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.243464][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.243469][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.243473][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.243476][ C3] ? default_idle+0x9/0x10 [ 16.243479][ C3] ? default_idle_call+0x6d/0xb0 [ 16.243482][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.243485][ C3] ? do_idle+0xf6/0x160 [ 16.243488][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.243490][ C3] ? start_secondary+0x213/0x2a0 [ 16.243493][ C3] ? common_startup_64+0x13e/0x148 [ 16.243501][ C3] __put_net+0x19/0x60 [ 16.243504][ C3] __sk_destruct+0x58a/0x780 [ 16.243508][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.243511][ C3] rcu_do_batch+0x34c/0xf20 [ 16.243514][ C3] ? find_held_lock+0x2b/0x80 [ 16.243518][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.243521][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.243525][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.243528][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.243533][ C3] rcu_core+0x2bb/0x500 [ 16.243537][ C3] handle_softirqs+0x218/0x620 [ 16.243543][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.243546][ C3] irq_exit_rcu+0xe/0x30 [ 16.243549][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.243552][ C3] [ 16.243553][ C3] [ 16.243555][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.243558][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.243562][ C3] Code: 92 b5 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 83 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 16.243565][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 16.243568][ C3] RAX: 000000000004cc49 RBX: 1ffff9200002afc1 RCX: ffffffff9dd905d9 [ 16.243570][ C3] RDX: 0000000000000000 RSI: ffffffff9e88f4e4 RDI: ffffffff9e053be0 [ 16.243572][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.243573][ C3] R10: ffff8880361b37d3 R11: ffffffff9ea11288 R12: 0000000000000000 [ 16.243575][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.243579][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.243583][ C3] default_idle+0x9/0x10 [ 16.243586][ C3] default_idle_call+0x6d/0xb0 [ 16.243589][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.243592][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.243596][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.243600][ C3] do_idle+0xf6/0x160 [ 16.243604][ C3] cpu_startup_entry+0x54/0x60 [ 16.243607][ C3] start_secondary+0x213/0x2a0 [ 16.243609][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.243614][ C3] common_startup_64+0x13e/0x148 [ 16.243621][ C3] [ 16.258654][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.258960][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.259259][ C3] preempt_count: 101, expected: 0 [ 16.259435][ C3] RCU nest depth: 0, expected: 0 [ 16.259711][ C3] INFO: lockdep is turned off. [ 16.259998][ C3] Preemption disabled at: [ 16.260000][ C3] [<0000000000000000>] 0x0 [ 16.260300][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.260305][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.260306][ C3] Call Trace: [ 16.260308][ C3] [ 16.260310][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.260315][ C3] __might_resched+0x360/0x5a0 [ 16.260322][ C3] down_write+0x72/0x210 [ 16.260326][ C3] ? __pfx_down_write+0x10/0x10 [ 16.260329][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.260333][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.260337][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.260343][ C3] simple_recursive_removal+0x6a/0x610 [ 16.260346][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.260349][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.260354][ C3] debugfs_remove+0x44/0x70 [ 16.260357][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.260363][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.260366][ C3] ? __sk_destruct+0x383/0x780 [ 16.260370][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.260373][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.260376][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.260380][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.260385][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.260388][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.260391][ C3] ? default_idle+0x9/0x10 [ 16.260394][ C3] ? default_idle_call+0x6d/0xb0 [ 16.260396][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.260399][ C3] ? do_idle+0xf6/0x160 [ 16.260401][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.260404][ C3] ? start_secondary+0x213/0x2a0 [ 16.260407][ C3] ? common_startup_64+0x13e/0x148 [ 16.260414][ C3] __put_net+0x19/0x60 [ 16.260417][ C3] __sk_destruct+0x58a/0x780 [ 16.260421][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.260423][ C3] rcu_do_batch+0x34c/0xf20 [ 16.260427][ C3] ? find_held_lock+0x2b/0x80 [ 16.260432][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.260435][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.260439][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.260442][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.260447][ C3] rcu_core+0x2bb/0x500 [ 16.260451][ C3] handle_softirqs+0x218/0x620 [ 16.260457][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.260460][ C3] irq_exit_rcu+0xe/0x30 [ 16.260462][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.260466][ C3] [ 16.260467][ C3] [ 16.260468][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.260471][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.260475][ C3] Code: 92 b5 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 83 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 16.260477][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 16.260480][ C3] RAX: 000000000004cc49 RBX: 1ffff9200002afc1 RCX: ffffffff9dd905d9 [ 16.260482][ C3] RDX: 0000000000000000 RSI: ffffffff9e88f4e4 RDI: ffffffff9e053be0 [ 16.260483][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.260485][ C3] R10: ffff8880361b37d3 R11: ffffffff9ea11288 R12: 0000000000000000 [ 16.260487][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.260490][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.260495][ C3] default_idle+0x9/0x10 [ 16.260498][ C3] default_idle_call+0x6d/0xb0 [ 16.260500][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.260504][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.260507][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.260511][ C3] do_idle+0xf6/0x160 [ 16.260515][ C3] cpu_startup_entry+0x54/0x60 [ 16.260518][ C3] start_secondary+0x213/0x2a0 [ 16.260520][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.260525][ C3] common_startup_64+0x13e/0x148 [ 16.260532][ C3] [ 18.489311][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.489680][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 18.490023][ C2] preempt_count: 101, expected: 0 [ 18.490209][ C2] RCU nest depth: 0, expected: 0 [ 18.490394][ C2] INFO: lockdep is turned off. [ 18.490575][ C2] Preemption disabled at: [ 18.490577][ C2] [<0000000000000000>] 0x0 [ 18.490932][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.490938][ C2] Tainted: [W]=WARN [ 18.490939][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.490942][ C2] Call Trace: [ 18.490943][ C2] [ 18.490946][ C2] dump_stack_lvl+0xb0/0xd0 [ 18.490955][ C2] __might_resched+0x360/0x5a0 [ 18.490963][ C2] down_write+0x72/0x210 [ 18.490967][ C2] ? __pfx_down_write+0x10/0x10 [ 18.490970][ C2] ? simple_recursive_removal+0x33/0x610 [ 18.490975][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.490980][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.490986][ C2] simple_recursive_removal+0x6a/0x610 [ 18.490988][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.490992][ C2] ? __pfx_remove_one+0x10/0x10 [ 18.490997][ C2] debugfs_remove+0x44/0x70 [ 18.491000][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 18.491006][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.491010][ C2] ? __sk_destruct+0x383/0x780 [ 18.491016][ C2] ? rcu_do_batch+0x34c/0xf20 [ 18.491019][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.491023][ C2] ? irq_exit_rcu+0xe/0x30 [ 18.491027][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.491032][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.491036][ C2] ? pv_native_safe_halt+0xf/0x20 [ 18.491039][ C2] ? default_idle+0x9/0x10 [ 18.491042][ C2] ? default_idle_call+0x6d/0xb0 [ 18.491044][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.491048][ C2] ? do_idle+0xf6/0x160 [ 18.491050][ C2] ? cpu_startup_entry+0x54/0x60 [ 18.491053][ C2] ? start_secondary+0x213/0x2a0 [ 18.491056][ C2] ? common_startup_64+0x13e/0x148 [ 18.491061][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.491065][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.491069][ C2] __put_net+0x19/0x60 [ 18.491074][ C2] __sk_destruct+0x58a/0x780 [ 18.491078][ C2] ? rcu_do_batch+0x34a/0xf20 [ 18.491080][ C2] rcu_do_batch+0x34c/0xf20 [ 18.491085][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.491088][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 18.491094][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.491100][ C2] rcu_core+0x2bb/0x500 [ 18.491105][ C2] handle_softirqs+0x218/0x620 [ 18.491110][ C2] __irq_exit_rcu+0xfa/0x160 [ 18.491113][ C2] irq_exit_rcu+0xe/0x30 [ 18.491116][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.491119][ C2] [ 18.491120][ C2] [ 18.491122][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.491125][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.491129][ C2] Code: 92 b5 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 83 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 18.491132][ C2] RSP: 0000:ffffc90000147de8 EFLAGS: 00000246 [ 18.491135][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff9dd905d9 [ 18.491138][ C2] RDX: ffffed1006c266fb RSI: ffffffff9e053b60 RDI: ffffffff9b58d18f [ 18.491140][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 18.491142][ C2] R10: ffff8880361337d3 R11: ffff888001ee2818 R12: 0000000000000000 [ 18.491144][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 18.491147][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.491151][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.491155][ C2] default_idle+0x9/0x10 [ 18.491157][ C2] default_idle_call+0x6d/0xb0 [ 18.491160][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 18.491163][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.491167][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.491171][ C2] do_idle+0xf6/0x160 [ 18.491174][ C2] cpu_startup_entry+0x54/0x60 [ 18.491177][ C2] start_secondary+0x213/0x2a0 [ 18.491180][ C2] ? __pfx_start_secondary+0x10/0x10 [ 18.491184][ C2] common_startup_64+0x13e/0x148 [ 18.491191][ C2]