[ 14.481361][ C3] [ 14.481507][ C3] ================================ [ 14.481700][ C3] WARNING: inconsistent lock state [ 14.481893][ C3] 6.15.0-rc7-virtme #1 Not tainted [ 14.482081][ C3] -------------------------------- [ 14.482271][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.482503][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.482743][ C3] ffffffffb2dbff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.483083][ C3] {SOFTIRQ-ON-W} state was registered at: [ 14.483274][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.483492][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.483683][ C3] _raw_spin_lock+0x33/0x40 [ 14.483874][ C3] simple_pin_fs+0x24/0x150 [ 14.484066][ C3] start_creating.part.0+0x3f/0x2f0 [ 14.484268][ C3] debugfs_create_dir+0x6a/0x540 [ 14.484467][ C3] component_debug_init+0x17/0x30 [ 14.484661][ C3] do_one_initcall+0x8f/0x1e0 [ 14.484854][ C3] do_initcalls+0x176/0x280 [ 14.485045][ C3] kernel_init_freeable+0x22d/0x300 [ 14.485238][ C3] kernel_init+0x20/0x200 [ 14.485429][ C3] ret_from_fork+0x31/0x70 [ 14.485617][ C3] ret_from_fork_asm+0x1a/0x30 [ 14.485808][ C3] irq event stamp: 222430 [ 14.485953][ C3] hardirqs last enabled at (222430): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.486352][ C3] hardirqs last disabled at (222429): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.486730][ C3] softirqs last enabled at (221134): [] handle_softirqs+0x358/0x620 [ 14.487063][ C3] softirqs last disabled at (221147): [] __irq_exit_rcu+0xfa/0x160 [ 14.487431][ C3] [ 14.487431][ C3] other info that might help us debug this: [ 14.487711][ C3] Possible unsafe locking scenario: [ 14.487711][ C3] [ 14.487989][ C3] CPU0 [ 14.488131][ C3] ---- [ 14.488277][ C3] lock(pin_fs_lock); [ 14.488425][ C3] [ 14.488566][ C3] lock(pin_fs_lock); [ 14.488711][ C3] [ 14.488711][ C3] *** DEADLOCK *** [ 14.488711][ C3] [ 14.488994][ C3] 1 lock held by swapper/3/0: [ 14.489186][ C3] #0: ffffffffb2b749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.489531][ C3] [ 14.489531][ C3] stack backtrace: [ 14.489794][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 14.489799][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.489802][ C3] Call Trace: [ 14.489804][ C3] [ 14.489807][ C3] dump_stack_lvl+0x82/0xd0 [ 14.489814][ C3] print_usage_bug.part.0+0x25f/0x360 [ 14.489818][ C3] mark_lock_irq+0x343/0x400 [ 14.489823][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.489828][ C3] ? save_trace+0x52/0x170 [ 14.489835][ C3] mark_lock+0x174/0x2f0 [ 14.489838][ C3] mark_usage+0x46/0x150 [ 14.489841][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.489846][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.489849][ C3] ? simple_pin_fs+0x24/0x150 [ 14.489853][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.489856][ C3] ? lock_acquire+0x10c/0x170 [ 14.489858][ C3] ? simple_pin_fs+0x24/0x150 [ 14.489862][ C3] _raw_spin_lock+0x33/0x40 [ 14.489865][ C3] ? simple_pin_fs+0x24/0x150 [ 14.489868][ C3] simple_pin_fs+0x24/0x150 [ 14.489871][ C3] debugfs_remove+0x35/0x70 [ 14.489875][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.489882][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.489885][ C3] ? __sk_destruct+0x383/0x780 [ 14.489891][ C3] ? rcu_do_batch+0x34f/0xf20 [ 14.489895][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.489899][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.489901][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.489906][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.489910][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.489913][ C3] ? default_idle+0x9/0x10 [ 14.489915][ C3] ? default_idle_call+0x6d/0xb0 [ 14.489918][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.489922][ C3] ? do_idle+0xf6/0x160 [ 14.489924][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.489926][ C3] ? start_secondary+0x213/0x2a0 [ 14.489929][ C3] ? common_startup_64+0x13e/0x148 [ 14.489937][ C3] __put_net+0x19/0x60 [ 14.489941][ C3] __sk_destruct+0x58a/0x780 [ 14.489945][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.489949][ C3] rcu_do_batch+0x34f/0xf20 [ 14.489954][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.489958][ C3] ? __lock_release+0x5d/0x170 [ 14.489962][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.489964][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.489969][ C3] rcu_core+0x2bb/0x500 [ 14.489973][ C3] handle_softirqs+0x218/0x620 [ 14.489978][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.489981][ C3] irq_exit_rcu+0xe/0x30 [ 14.489984][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.489987][ C3] [ 14.489988][ C3] [ 14.489990][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.489993][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.489997][ 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.490000][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 14.490004][ C3] RAX: 0000000000035fd9 RBX: 1ffff9200002afc1 RCX: ffffffffb1b6ea19 [ 14.490006][ C3] RDX: 0000000000000000 RSI: ffffffffb2689a45 RDI: ffffffffb1e513a0 [ 14.490008][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb667a [ 14.490009][ C3] R10: ffff88802f5b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.490011][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.490015][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.490021][ C3] default_idle+0x9/0x10 [ 14.490023][ C3] default_idle_call+0x6d/0xb0 [ 14.490026][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.490029][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.490032][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.490037][ C3] do_idle+0xf6/0x160 [ 14.490040][ C3] cpu_startup_entry+0x54/0x60 [ 14.490043][ C3] start_secondary+0x213/0x2a0 [ 14.490046][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.490051][ C3] common_startup_64+0x13e/0x148 [ 14.490058][ C3] [ 14.506305][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.506830][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 14.507229][ C3] preempt_count: 101, expected: 0 [ 14.507407][ C3] RCU nest depth: 0, expected: 0 [ 14.507583][ C3] INFO: lockdep is turned off. [ 14.507757][ C3] Preemption disabled at: [ 14.507759][ C3] [<0000000000000000>] 0x0 [ 14.508086][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 14.508091][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.508093][ C3] Call Trace: [ 14.508096][ C3] [ 14.508099][ C3] dump_stack_lvl+0xb0/0xd0 [ 14.508109][ C3] __might_resched+0x360/0x5a0 [ 14.508118][ C3] down_write+0x72/0x210 [ 14.508122][ C3] ? __pfx_down_write+0x10/0x10 [ 14.508125][ C3] ? simple_recursive_removal+0x3a/0x860 [ 14.508131][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.508136][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.508142][ C3] simple_recursive_removal+0x166/0x860 [ 14.508145][ C3] ? __pfx_remove_one+0x10/0x10 [ 14.508151][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.508157][ C3] debugfs_remove+0x44/0x70 [ 14.508162][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.508169][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.508173][ C3] ? __sk_destruct+0x383/0x780 [ 14.508182][ C3] ? rcu_do_batch+0x34f/0xf20 [ 14.508189][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.508193][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.508200][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.508205][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.508210][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.508215][ C3] ? default_idle+0x9/0x10 [ 14.508218][ C3] ? default_idle_call+0x6d/0xb0 [ 14.508221][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.508225][ C3] ? do_idle+0xf6/0x160 [ 14.508227][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.508229][ C3] ? start_secondary+0x213/0x2a0 [ 14.508233][ C3] ? common_startup_64+0x13e/0x148 [ 14.508241][ C3] __put_net+0x19/0x60 [ 14.508247][ C3] __sk_destruct+0x58a/0x780 [ 14.508251][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.508254][ C3] rcu_do_batch+0x34f/0xf20 [ 14.508262][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.508266][ C3] ? __lock_release+0x5d/0x170 [ 14.508270][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.508274][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.508282][ C3] rcu_core+0x2bb/0x500 [ 14.508287][ C3] handle_softirqs+0x218/0x620 [ 14.508294][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.508298][ C3] irq_exit_rcu+0xe/0x30 [ 14.508301][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.508306][ C3] [ 14.508308][ C3] [ 14.508310][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.508314][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.508319][ 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.508321][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 14.508326][ C3] RAX: 0000000000035fd9 RBX: 1ffff9200002afc1 RCX: ffffffffb1b6ea19 [ 14.508328][ C3] RDX: 0000000000000000 RSI: ffffffffb2689a45 RDI: ffffffffb1e513a0 [ 14.508330][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb667a [ 14.508332][ C3] R10: ffff88802f5b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.508334][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.508338][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.508344][ C3] default_idle+0x9/0x10 [ 14.508346][ C3] default_idle_call+0x6d/0xb0 [ 14.508348][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.508351][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.508355][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.508360][ C3] do_idle+0xf6/0x160 [ 14.508363][ C3] cpu_startup_entry+0x54/0x60 [ 14.508366][ C3] start_secondary+0x213/0x2a0 [ 14.508368][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.508373][ C3] common_startup_64+0x13e/0x148 [ 14.508380][ C3] [ 16.057575][ T230] restore_ipv6 (230) used greatest stack depth: 24032 bytes left