[ 14.276399][ C2] [ 14.276558][ C2] ================================ [ 14.276768][ C2] WARNING: inconsistent lock state [ 14.276969][ C2] 6.15.0-virtme #1 Not tainted [ 14.277170][ C2] -------------------------------- [ 14.277370][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.277623][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.277873][ C2] ffffffff9ebc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.278230][ C2] {SOFTIRQ-ON-W} state was registered at: [ 14.278428][ C2] __lock_acquire+0x20b/0x7e0 [ 14.278637][ C2] lock_acquire.part.0+0xb6/0x240 [ 14.278837][ C2] _raw_spin_lock+0x33/0x40 [ 14.279047][ C2] simple_pin_fs+0x24/0x150 [ 14.279246][ C2] start_creating.part.0+0x52/0x310 [ 14.279450][ C2] debugfs_create_dir+0x6a/0x540 [ 14.279652][ C2] component_debug_init+0x17/0x30 [ 14.279856][ C2] do_one_initcall+0x8f/0x1e0 [ 14.280058][ C2] do_initcalls+0x176/0x280 [ 14.280262][ C2] kernel_init_freeable+0x22d/0x300 [ 14.280461][ C2] kernel_init+0x20/0x200 [ 14.280666][ C2] ret_from_fork+0x240/0x320 [ 14.280870][ C2] ret_from_fork_asm+0x1a/0x30 [ 14.281068][ C2] irq event stamp: 237390 [ 14.281223][ C2] hardirqs last enabled at (237390): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.281627][ C2] hardirqs last disabled at (237389): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.282032][ C2] softirqs last enabled at (237000): [] handle_softirqs+0x358/0x620 [ 14.282391][ C2] softirqs last disabled at (237025): [] __irq_exit_rcu+0xfa/0x160 [ 14.282752][ C2] [ 14.282752][ C2] other info that might help us debug this: [ 14.283050][ C2] Possible unsafe locking scenario: [ 14.283050][ C2] [ 14.283349][ C2] CPU0 [ 14.283502][ C2] ---- [ 14.283653][ C2] lock(pin_fs_lock); [ 14.283813][ C2] [ 14.283967][ C2] lock(pin_fs_lock); [ 14.284122][ C2] [ 14.284122][ C2] *** DEADLOCK *** [ 14.284122][ C2] [ 14.284418][ C2] 1 lock held by swapper/2/0: [ 14.284631][ C2] #0: ffffffff9e9774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.285028][ C2] [ 14.285028][ C2] stack backtrace: [ 14.285311][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.285316][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.285319][ C2] Call Trace: [ 14.285321][ C2] [ 14.285324][ C2] dump_stack_lvl+0x82/0xd0 [ 14.285332][ C2] print_usage_bug.part.0+0x25f/0x360 [ 14.285339][ C2] mark_lock_irq+0x343/0x400 [ 14.285344][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.285350][ C2] ? save_trace+0x52/0x170 [ 14.285354][ C2] mark_lock+0x174/0x2f0 [ 14.285358][ C2] mark_usage+0x46/0x150 [ 14.285362][ C2] __lock_acquire+0x20b/0x7e0 [ 14.285366][ C2] ? __lock_acquire+0x44d/0x7e0 [ 14.285370][ C2] lock_acquire.part.0+0xb6/0x240 [ 14.285374][ C2] ? simple_pin_fs+0x24/0x150 [ 14.285378][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.285384][ C2] ? lock_acquire+0x10c/0x170 [ 14.285387][ C2] ? simple_pin_fs+0x24/0x150 [ 14.285391][ C2] _raw_spin_lock+0x33/0x40 [ 14.285395][ C2] ? simple_pin_fs+0x24/0x150 [ 14.285397][ C2] simple_pin_fs+0x24/0x150 [ 14.285400][ C2] debugfs_remove+0x35/0x70 [ 14.285405][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 14.285412][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.285414][ C2] ? __sk_destruct+0x383/0x780 [ 14.285421][ C2] ? rcu_do_batch+0x34c/0xf20 [ 14.285425][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.285427][ C2] ? irq_exit_rcu+0xe/0x30 [ 14.285432][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.285437][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.285442][ C2] ? pv_native_safe_halt+0xf/0x20 [ 14.285445][ C2] ? default_idle+0x9/0x10 [ 14.285447][ C2] ? default_idle_call+0x6d/0xb0 [ 14.285450][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.285455][ C2] ? do_idle+0xf6/0x160 [ 14.285458][ C2] ? cpu_startup_entry+0x54/0x60 [ 14.285461][ C2] ? start_secondary+0x213/0x2a0 [ 14.285466][ C2] ? common_startup_64+0x13e/0x148 [ 14.285475][ C2] __put_net+0x19/0x60 [ 14.285480][ C2] __sk_destruct+0x58a/0x780 [ 14.285484][ C2] ? rcu_do_batch+0x34a/0xf20 [ 14.285487][ C2] rcu_do_batch+0x34c/0xf20 [ 14.285491][ C2] ? find_held_lock+0x2b/0x80 [ 14.285494][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.285498][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.285501][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.285505][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.285510][ C2] rcu_core+0x2bb/0x500 [ 14.285515][ C2] handle_softirqs+0x218/0x620 [ 14.285521][ C2] __irq_exit_rcu+0xfa/0x160 [ 14.285524][ C2] irq_exit_rcu+0xe/0x30 [ 14.285527][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.285530][ C2] [ 14.285532][ C2] [ 14.285533][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.285536][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.285540][ C2] Code: a2 b4 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 17 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 14.285543][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 14.285548][ C2] RAX: 0000000000039ddf RBX: 1ffff92000028fc1 RCX: ffffffff9d9a25d9 [ 14.285550][ C2] RDX: 0000000000000000 RSI: ffffffff9e49175c RDI: ffffffff9dc53ca0 [ 14.285552][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 14.285554][ C2] R10: ffff8880361337d3 R11: ffffffff9e611288 R12: 0000000000000000 [ 14.285555][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 14.285559][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.285564][ C2] default_idle+0x9/0x10 [ 14.285567][ C2] default_idle_call+0x6d/0xb0 [ 14.285570][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 14.285573][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.285577][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.285583][ C2] do_idle+0xf6/0x160 [ 14.285587][ C2] cpu_startup_entry+0x54/0x60 [ 14.285590][ C2] start_secondary+0x213/0x2a0 [ 14.285594][ C2] ? __pfx_start_secondary+0x10/0x10 [ 14.285598][ C2] common_startup_64+0x13e/0x148 [ 14.285606][ C2] [ 14.303476][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.304021][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 14.304584][ C2] preempt_count: 101, expected: 0 [ 14.304915][ C2] RCU nest depth: 0, expected: 0 [ 14.305489][ C2] INFO: lockdep is turned off. [ 14.305809][ C2] Preemption disabled at: [ 14.305813][ C2] [<0000000000000000>] 0x0 [ 14.306410][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.306418][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.306422][ C2] Call Trace: [ 14.306426][ C2] [ 14.306429][ C2] dump_stack_lvl+0xb0/0xd0 [ 14.306443][ C2] __might_resched+0x360/0x5a0 [ 14.306457][ C2] down_write+0x72/0x210 [ 14.306465][ C2] ? __pfx_down_write+0x10/0x10 [ 14.306469][ C2] ? simple_recursive_removal+0x33/0x610 [ 14.306478][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.306487][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 14.306494][ C2] simple_recursive_removal+0x6a/0x610 [ 14.306499][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 14.306503][ C2] ? __pfx_remove_one+0x10/0x10 [ 14.306514][ C2] debugfs_remove+0x44/0x70 [ 14.306520][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 14.306528][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.306534][ C2] ? __sk_destruct+0x383/0x780 [ 14.306543][ C2] ? rcu_do_batch+0x34c/0xf20 [ 14.306550][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.306555][ C2] ? irq_exit_rcu+0xe/0x30 [ 14.306564][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.306571][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.306578][ C2] ? pv_native_safe_halt+0xf/0x20 [ 14.306583][ C2] ? default_idle+0x9/0x10 [ 14.306588][ C2] ? default_idle_call+0x6d/0xb0 [ 14.306593][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.306601][ C2] ? do_idle+0xf6/0x160 [ 14.306605][ C2] ? cpu_startup_entry+0x54/0x60 [ 14.306610][ C2] ? start_secondary+0x213/0x2a0 [ 14.306616][ C2] ? common_startup_64+0x13e/0x148 [ 14.306629][ C2] __put_net+0x19/0x60 [ 14.306636][ C2] __sk_destruct+0x58a/0x780 [ 14.306644][ C2] ? rcu_do_batch+0x34a/0xf20 [ 14.306648][ C2] rcu_do_batch+0x34c/0xf20 [ 14.306655][ C2] ? find_held_lock+0x2b/0x80 [ 14.306662][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.306669][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.306676][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.306682][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.306691][ C2] rcu_core+0x2bb/0x500 [ 14.306699][ C2] handle_softirqs+0x218/0x620 [ 14.306709][ C2] __irq_exit_rcu+0xfa/0x160 [ 14.306715][ C2] irq_exit_rcu+0xe/0x30 [ 14.306720][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.306726][ C2] [ 14.306728][ C2] [ 14.306731][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.306736][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.306743][ C2] Code: a2 b4 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 17 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 14.306748][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 14.306755][ C2] RAX: 0000000000039ddf RBX: 1ffff92000028fc1 RCX: ffffffff9d9a25d9 [ 14.306758][ C2] RDX: 0000000000000000 RSI: ffffffff9e49175c RDI: ffffffff9dc53ca0 [ 14.306762][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 14.306765][ C2] R10: ffff8880361337d3 R11: ffffffff9e611288 R12: 0000000000000000 [ 14.306768][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 14.306776][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.306785][ C2] default_idle+0x9/0x10 [ 14.306790][ C2] default_idle_call+0x6d/0xb0 [ 14.306794][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 14.306799][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.306807][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.306816][ C2] do_idle+0xf6/0x160 [ 14.306822][ C2] cpu_startup_entry+0x54/0x60 [ 14.306828][ C2] start_secondary+0x213/0x2a0 [ 14.306834][ C2] ? __pfx_start_secondary+0x10/0x10 [ 14.306843][ C2] common_startup_64+0x13e/0x148 [ 14.306857][ C2] [ 15.908064][ T228] restore_ipv4 (228) used greatest stack depth: 24272 bytes left