[ 16.912092][ C3] [ 16.912262][ C3] ================================ [ 16.912496][ C3] WARNING: inconsistent lock state [ 16.912726][ C3] 6.15.0-rc5-virtme #1 Not tainted [ 16.912959][ C3] -------------------------------- [ 16.913185][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.913491][ C3] ksft_runner.sh/260 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.913782][ C3] ffffffffa09bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.914198][ C3] {SOFTIRQ-ON-W} state was registered at: [ 16.914427][ C3] __lock_acquire+0x3eb/0x9d0 [ 16.914680][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.914911][ C3] _raw_spin_lock+0x33/0x40 [ 16.915142][ C3] simple_pin_fs+0x24/0x150 [ 16.915377][ C3] start_creating.part.0+0x3f/0x2f0 [ 16.915607][ C3] debugfs_create_dir+0x6a/0x540 [ 16.915834][ C3] component_debug_init+0x17/0x30 [ 16.916074][ C3] do_one_initcall+0x8c/0x1e0 [ 16.916316][ C3] do_initcalls+0x176/0x280 [ 16.916547][ C3] kernel_init_freeable+0x22d/0x300 [ 16.916773][ C3] kernel_init+0x20/0x200 [ 16.917002][ C3] ret_from_fork+0x31/0x70 [ 16.917238][ C3] ret_from_fork_asm+0x1a/0x30 [ 16.917466][ C3] irq event stamp: 3198 [ 16.917641][ C3] hardirqs last enabled at (3198): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.918102][ C3] hardirqs last disabled at (3197): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.918504][ C3] softirqs last enabled at (2368): [] handle_softirqs+0x358/0x620 [ 16.918905][ C3] softirqs last disabled at (2653): [] __irq_exit_rcu+0xfa/0x160 [ 16.919305][ C3] [ 16.919305][ C3] other info that might help us debug this: [ 16.919648][ C3] Possible unsafe locking scenario: [ 16.919648][ C3] [ 16.919987][ C3] CPU0 [ 16.920161][ C3] ---- [ 16.920334][ C3] lock(pin_fs_lock); [ 16.920514][ C3] [ 16.920687][ C3] lock(pin_fs_lock); [ 16.920864][ C3] [ 16.920864][ C3] *** DEADLOCK *** [ 16.920864][ C3] [ 16.921210][ C3] 5 locks held by ksft_runner.sh/260: [ 16.921442][ C3] #0: ffff88800aa048f8 (&sig->cred_guard_mutex){+.+.}-{4:4}, at: bprm_execve+0x4f/0x490 [ 16.921857][ C3] #1: ffff88800aa04990 (&sig->exec_update_lock){++++}-{4:4}, at: exec_mmap+0x8c/0x840 [ 16.922278][ C3] #2: ffff888008acf020 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x190/0x800 [ 16.922685][ C3] #3: ffffffffa07745a0 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x147/0x1e10 [ 16.923090][ C3] #4: ffffffffa0774480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.923512][ C3] [ 16.923512][ C3] stack backtrace: [ 16.923800][ C3] CPU: 3 UID: 0 PID: 260 Comm: ksft_runner.sh Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 16.923805][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.923808][ C3] Call Trace: [ 16.923810][ C3] [ 16.923812][ C3] dump_stack_lvl+0x82/0xd0 [ 16.923820][ C3] print_usage_bug.part.0+0x25f/0x360 [ 16.923827][ C3] mark_lock_irq+0x343/0x400 [ 16.923832][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.923837][ C3] ? save_trace+0x52/0x170 [ 16.923841][ C3] mark_lock+0x174/0x2f0 [ 16.923846][ C3] mark_usage+0x46/0x150 [ 16.923850][ C3] __lock_acquire+0x3eb/0x9d0 [ 16.923855][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.923859][ C3] ? simple_pin_fs+0x24/0x150 [ 16.923865][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.923872][ C3] ? lock_acquire+0x10c/0x170 [ 16.923876][ C3] ? simple_pin_fs+0x24/0x150 [ 16.923880][ C3] _raw_spin_lock+0x33/0x40 [ 16.923885][ C3] ? simple_pin_fs+0x24/0x150 [ 16.923888][ C3] simple_pin_fs+0x24/0x150 [ 16.923892][ C3] debugfs_remove+0x35/0x70 [ 16.923897][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.923903][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.923906][ C3] ? __sk_destruct+0x383/0x780 [ 16.923914][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.923917][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.923920][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.923923][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.923929][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.923933][ C3] ? lock_acquire.part.0+0xf2/0x240 [ 16.923936][ C3] ? unwind_next_frame+0x15b/0x1e10 [ 16.923940][ C3] ? arch_stack_walk+0x8b/0xf0 [ 16.923944][ C3] ? stack_trace_save+0x93/0xd0 [ 16.923950][ C3] ? set_track_prepare+0x30/0x70 [ 16.923956][ C3] ? ___slab_alloc+0xba4/0x1170 [ 16.923959][ C3] ? __slab_alloc.constprop.0+0x5b/0xb0 [ 16.923962][ C3] ? __kmalloc_cache_noprof+0x1cf/0x360 [ 16.923968][ C3] __put_net+0x19/0x60 [ 16.923972][ C3] __sk_destruct+0x58a/0x780 [ 16.923976][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.923979][ C3] rcu_do_batch+0x34c/0xf20 [ 16.923983][ C3] ? find_held_lock+0x2b/0x80 [ 16.923987][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.923990][ C3] ? mark_held_locks+0x49/0x80 [ 16.923994][ C3] ? note_gp_changes+0x182/0x1e0 [ 16.923998][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.924002][ C3] rcu_core+0x2bb/0x500 [ 16.924006][ C3] handle_softirqs+0x218/0x620 [ 16.924010][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.924013][ C3] irq_exit_rcu+0xe/0x30 [ 16.924016][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.924019][ C3] [ 16.924020][ C3] [ 16.924022][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.924025][ C3] RIP: 0010:lock_acquire.part.0+0xf2/0x240 [ 16.924030][ C3] Code: ff ff ff 65 0f c1 05 9d 03 13 05 83 f8 01 0f 85 3e 01 00 00 9c 58 f6 c4 02 0f 85 29 01 00 00 48 85 db 74 01 fb 48 8b 44 24 30 <65> 48 2b 05 0e c7 12 05 0f 85 3a 01 00 00 48 83 c4 38 5b 5d 41 5c [ 16.924033][ C3] RSP: 0018:ffffc90000a672d8 EFLAGS: 00000206 [ 16.924036][ C3] RAX: 052caeaf34dc2400 RBX: 0000000000000200 RCX: 0000000000000001 [ 16.924038][ C3] RDX: 0000000000000000 RSI: ffffffffa026f3db RDI: ffffffff9fa50ce0 [ 16.924040][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 [ 16.924042][ C3] R10: 0000000000000078 R11: ffffffffa07745a0 R12: 0000000000000002 [ 16.924044][ C3] R13: 0000000000000000 R14: 0000000000000000 R15: ffffffffa07745a0 [ 16.924049][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.924053][ C3] ? lock_acquire+0x10c/0x170 [ 16.924056][ C3] ? unwind_next_frame+0x147/0x1e10 [ 16.924061][ C3] unwind_next_frame+0x15b/0x1e10 [ 16.924065][ C3] ? unwind_next_frame+0x147/0x1e10 [ 16.924068][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.924073][ C3] ? arch_stack_walk+0xa1/0xf0 [ 16.924076][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.924081][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.924084][ C3] ? kernel_text_address+0x17/0xe0 [ 16.924090][ C3] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 16.924094][ C3] arch_stack_walk+0x8b/0xf0 [ 16.924098][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.924103][ C3] stack_trace_save+0x93/0xd0 [ 16.924106][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 16.924110][ C3] ? mark_held_locks+0x49/0x80 [ 16.924114][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.924118][ C3] set_track_prepare+0x30/0x70 [ 16.924121][ C3] ? __kmalloc_cache_noprof+0x1cf/0x360 [ 16.924124][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.924128][ C3] ? get_partial_node.part.0+0x1c2/0x3b0 [ 16.924133][ C3] ___slab_alloc+0xba4/0x1170 [ 16.924136][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.924141][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.924144][ C3] __slab_alloc.constprop.0+0x5b/0xb0 [ 16.924148][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.924151][ C3] __kmalloc_cache_noprof+0x1cf/0x360 [ 16.924154][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.924159][ C3] kmem_cache_free+0xf3/0x330 [ 16.924163][ C3] ? __put_anon_vma+0xf4/0x320 [ 16.924168][ C3] __put_anon_vma+0xf4/0x320 [ 16.924172][ C3] unlink_anon_vmas+0x4ef/0x920 [ 16.924177][ C3] free_pgtables+0x25b/0x6e0 [ 16.924185][ C3] ? __pfx_free_pgtables+0x10/0x10 [ 16.924188][ C3] ? lock_acquire+0x10c/0x170 [ 16.924191][ C3] ? exit_mmap+0x190/0x800 [ 16.924195][ C3] ? down_write+0x152/0x210 [ 16.924198][ C3] ? __pfx_down_write+0x10/0x10 [ 16.924202][ C3] exit_mmap+0x30d/0x800 [ 16.924206][ C3] ? __pfx_exit_mmap+0x10/0x10 [ 16.924211][ C3] ? __mutex_unlock_slowpath+0x144/0x400 [ 16.924221][ C3] mmput+0xb8/0x3e0 [ 16.924227][ C3] exec_mmap+0x416/0x840 [ 16.924231][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.924235][ C3] begin_new_exec+0x3ae/0x15f0 [ 16.924240][ C3] load_elf_binary+0x63a/0x2a20 [ 16.924246][ C3] ? __lock_acquire+0x591/0x9d0 [ 16.924252][ C3] ? find_held_lock+0x2b/0x80 [ 16.924255][ C3] ? __pfx_load_elf_binary+0x10/0x10 [ 16.924258][ C3] ? exec_binprm+0x237/0x640 [ 16.924264][ C3] exec_binprm+0x255/0x640 [ 16.924269][ C3] ? __pfx_exec_binprm+0x10/0x10 [ 16.924272][ C3] ? bprm_execve+0x93/0x490 [ 16.924277][ C3] bprm_execve+0x1af/0x490 [ 16.924281][ C3] do_execveat_common.isra.0+0x3f5/0x550 [ 16.924287][ C3] __x64_sys_execve+0x8e/0xb0 [ 16.924290][ C3] do_syscall_64+0xc1/0x1d0 [ 16.924296][ C3] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 16.924298][ C3] RIP: 0033:0x7fed61c4d40b [ 16.924307][ C3] Code: Unable to access opcode bytes at 0x7fed61c4d3e1. [ 16.924309][ C3] RSP: 002b:00007ffcb3443998 EFLAGS: 00000246 ORIG_RAX: 000000000000003b [ 16.924311][ C3] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fed61c4d40b [ 16.924313][ C3] RDX: 000055f7ab80d620 RSI: 000055f7ab800d70 RDI: 000055f7ab80e140 [ 16.924315][ C3] RBP: 000055f7ab80e140 R08: 000055f7ab80ced0 R09: 0000000000000020 [ 16.924317][ C3] R10: 00000000000001b6 R11: 0000000000000246 R12: 00000000ffffffff [ 16.924318][ C3] R13: 000055f7ab800d70 R14: 000055f7ab80d620 R15: 000055f7ab7fc650 [ 16.924324][ C3] [ 16.956261][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.956653][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 260, name: ksft_runner.sh [ 16.957157][ C3] preempt_count: 101, expected: 0 [ 16.957381][ C3] RCU nest depth: 1, expected: 0 [ 16.957600][ C3] INFO: lockdep is turned off. [ 16.957816][ C3] Preemption disabled at: [ 16.957818][ C3] [] __slab_alloc.constprop.0+0x2c/0xb0 [ 16.958397][ C3] CPU: 3 UID: 0 PID: 260 Comm: ksft_runner.sh Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 16.958402][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.958405][ C3] Call Trace: [ 16.958407][ C3] [ 16.958409][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.958418][ C3] __might_resched+0x360/0x5a0 [ 16.958424][ C3] down_write+0x72/0x210 [ 16.958428][ C3] ? __pfx_down_write+0x10/0x10 [ 16.958431][ C3] ? simple_recursive_removal+0x3a/0x860 [ 16.958437][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.958445][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.958450][ C3] simple_recursive_removal+0x166/0x860 [ 16.958453][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.958458][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.958462][ C3] debugfs_remove+0x44/0x70 [ 16.958465][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.958471][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.958474][ C3] ? __sk_destruct+0x383/0x780 [ 16.958482][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.958486][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.958489][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.958493][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.958499][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.958503][ C3] ? lock_acquire.part.0+0xf2/0x240 [ 16.958509][ C3] ? unwind_next_frame+0x15b/0x1e10 [ 16.958514][ C3] ? arch_stack_walk+0x8b/0xf0 [ 16.958518][ C3] ? stack_trace_save+0x93/0xd0 [ 16.958523][ C3] ? set_track_prepare+0x30/0x70 [ 16.958529][ C3] ? ___slab_alloc+0xba4/0x1170 [ 16.958531][ C3] ? __slab_alloc.constprop.0+0x5b/0xb0 [ 16.958534][ C3] ? __kmalloc_cache_noprof+0x1cf/0x360 [ 16.958540][ C3] __put_net+0x19/0x60 [ 16.958544][ C3] __sk_destruct+0x58a/0x780 [ 16.958548][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.958551][ C3] rcu_do_batch+0x34c/0xf20 [ 16.958554][ C3] ? find_held_lock+0x2b/0x80 [ 16.958559][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.958562][ C3] ? mark_held_locks+0x49/0x80 [ 16.958566][ C3] ? note_gp_changes+0x182/0x1e0 [ 16.958570][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.958575][ C3] rcu_core+0x2bb/0x500 [ 16.958578][ C3] handle_softirqs+0x218/0x620 [ 16.958583][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.958585][ C3] irq_exit_rcu+0xe/0x30 [ 16.958587][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.958591][ C3] [ 16.958592][ C3] [ 16.958593][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.958597][ C3] RIP: 0010:lock_acquire.part.0+0xf2/0x240 [ 16.958601][ C3] Code: ff ff ff 65 0f c1 05 9d 03 13 05 83 f8 01 0f 85 3e 01 00 00 9c 58 f6 c4 02 0f 85 29 01 00 00 48 85 db 74 01 fb 48 8b 44 24 30 <65> 48 2b 05 0e c7 12 05 0f 85 3a 01 00 00 48 83 c4 38 5b 5d 41 5c [ 16.958604][ C3] RSP: 0018:ffffc90000a672d8 EFLAGS: 00000206 [ 16.958607][ C3] RAX: 052caeaf34dc2400 RBX: 0000000000000200 RCX: 0000000000000001 [ 16.958609][ C3] RDX: 0000000000000000 RSI: ffffffffa026f3db RDI: ffffffff9fa50ce0 [ 16.958612][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 [ 16.958613][ C3] R10: 0000000000000078 R11: ffffffffa07745a0 R12: 0000000000000002 [ 16.958615][ C3] R13: 0000000000000000 R14: 0000000000000000 R15: ffffffffa07745a0 [ 16.958620][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.958624][ C3] ? lock_acquire+0x10c/0x170 [ 16.958627][ C3] ? unwind_next_frame+0x147/0x1e10 [ 16.958631][ C3] unwind_next_frame+0x15b/0x1e10 [ 16.958635][ C3] ? unwind_next_frame+0x147/0x1e10 [ 16.958638][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.958644][ C3] ? arch_stack_walk+0xa1/0xf0 [ 16.958646][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.958652][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.958655][ C3] ? kernel_text_address+0x17/0xe0 [ 16.958661][ C3] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 16.958664][ C3] arch_stack_walk+0x8b/0xf0 [ 16.958669][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.958673][ C3] stack_trace_save+0x93/0xd0 [ 16.958676][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 16.958680][ C3] ? mark_held_locks+0x49/0x80 [ 16.958684][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.958688][ C3] set_track_prepare+0x30/0x70 [ 16.958692][ C3] ? __kmalloc_cache_noprof+0x1cf/0x360 [ 16.958695][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.958698][ C3] ? get_partial_node.part.0+0x1c2/0x3b0 [ 16.958703][ C3] ___slab_alloc+0xba4/0x1170 [ 16.958706][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.958711][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.958714][ C3] __slab_alloc.constprop.0+0x5b/0xb0 [ 16.958718][ C3] ? kmem_cache_free+0xf3/0x330 [ 16.958721][ C3] __kmalloc_cache_noprof+0x1cf/0x360 [ 16.958724][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.958729][ C3] kmem_cache_free+0xf3/0x330 [ 16.958732][ C3] ? __put_anon_vma+0xf4/0x320 [ 16.958739][ C3] __put_anon_vma+0xf4/0x320 [ 16.958743][ C3] unlink_anon_vmas+0x4ef/0x920 [ 16.958747][ C3] free_pgtables+0x25b/0x6e0 [ 16.958755][ C3] ? __pfx_free_pgtables+0x10/0x10 [ 16.958758][ C3] ? lock_acquire+0x10c/0x170 [ 16.958761][ C3] ? exit_mmap+0x190/0x800 [ 16.958765][ C3] ? down_write+0x152/0x210 [ 16.958768][ C3] ? __pfx_down_write+0x10/0x10 [ 16.958773][ C3] exit_mmap+0x30d/0x800 [ 16.958776][ C3] ? __pfx_exit_mmap+0x10/0x10 [ 16.958781][ C3] ? __mutex_unlock_slowpath+0x144/0x400 [ 16.958791][ C3] mmput+0xb8/0x3e0 [ 16.958798][ C3] exec_mmap+0x416/0x840 [ 16.958804][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.958808][ C3] begin_new_exec+0x3ae/0x15f0 [ 16.958812][ C3] load_elf_binary+0x63a/0x2a20 [ 16.958819][ C3] ? __lock_acquire+0x591/0x9d0 [ 16.958824][ C3] ? find_held_lock+0x2b/0x80 [ 16.958827][ C3] ? __pfx_load_elf_binary+0x10/0x10 [ 16.958831][ C3] ? exec_binprm+0x237/0x640 [ 16.958836][ C3] exec_binprm+0x255/0x640 [ 16.958841][ C3] ? __pfx_exec_binprm+0x10/0x10 [ 16.958844][ C3] ? bprm_execve+0x93/0x490 [ 16.958850][ C3] bprm_execve+0x1af/0x490 [ 16.958854][ C3] do_execveat_common.isra.0+0x3f5/0x550 [ 16.958859][ C3] __x64_sys_execve+0x8e/0xb0 [ 16.958862][ C3] do_syscall_64+0xc1/0x1d0 [ 16.958867][ C3] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 16.958870][ C3] RIP: 0033:0x7fed61c4d40b [ 16.958878][ C3] Code: Unable to access opcode bytes at 0x7fed61c4d3e1. [ 16.958879][ C3] RSP: 002b:00007ffcb3443998 EFLAGS: 00000246 ORIG_RAX: 000000000000003b [ 16.958882][ C3] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fed61c4d40b [ 16.958884][ C3] RDX: 000055f7ab80d620 RSI: 000055f7ab800d70 RDI: 000055f7ab80e140 [ 16.958886][ C3] RBP: 000055f7ab80e140 R08: 000055f7ab80ced0 R09: 0000000000000020 [ 16.958887][ C3] R10: 00000000000001b6 R11: 0000000000000246 R12: 00000000ffffffff [ 16.958889][ C3] R13: 000055f7ab800d70 R14: 000055f7ab80d620 R15: 000055f7ab7fc650 [ 16.958894][ C3] [ 19.439229][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 19.439648][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 27, name: ksoftirqd/2 [ 19.439986][ C2] preempt_count: 100, expected: 0 [ 19.440178][ C2] RCU nest depth: 0, expected: 0 [ 19.440380][ C2] INFO: lockdep is turned off. [ 19.440572][ C2] Preemption disabled at: [ 19.440574][ C2] [] handle_softirqs+0xe5/0x620 [ 19.440979][ C2] CPU: 2 UID: 0 PID: 27 Comm: ksoftirqd/2 Tainted: G W 6.15.0-rc5-virtme #1 PREEMPT(full) [ 19.440985][ C2] Tainted: [W]=WARN [ 19.440987][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.440988][ C2] Call Trace: [ 19.440991][ C2] [ 19.440994][ C2] dump_stack_lvl+0xb0/0xd0 [ 19.441003][ C2] __might_resched+0x360/0x5a0 [ 19.441010][ C2] down_write+0x72/0x210 [ 19.441016][ C2] ? __pfx_down_write+0x10/0x10 [ 19.441018][ C2] ? simple_recursive_removal+0x3a/0x860 [ 19.441025][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.441034][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 19.441040][ C2] simple_recursive_removal+0x166/0x860 [ 19.441042][ C2] ? __pfx_remove_one+0x10/0x10 [ 19.441048][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 19.441053][ C2] debugfs_remove+0x44/0x70 [ 19.441056][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 19.441063][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.441066][ C2] ? __sk_destruct+0x383/0x780 [ 19.441074][ C2] ? rcu_do_batch+0x34c/0xf20 [ 19.441079][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.441082][ C2] ? smpboot_thread_fn+0x307/0x960 [ 19.441086][ C2] ? kthread+0x37b/0x600 [ 19.441091][ C2] ? ret_from_fork+0x31/0x70 [ 19.441098][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 19.441105][ C2] ? migrate_enable+0x1f2/0x270 [ 19.441109][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 19.441113][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 19.441117][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.441122][ C2] __put_net+0x19/0x60 [ 19.441126][ C2] __sk_destruct+0x58a/0x780 [ 19.441130][ C2] ? rcu_do_batch+0x34a/0xf20 [ 19.441133][ C2] rcu_do_batch+0x34c/0xf20 [ 19.441138][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.441142][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.441145][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 19.441151][ C2] rcu_core+0x2bb/0x500 [ 19.441155][ C2] handle_softirqs+0x218/0x620 [ 19.441158][ C2] ? __pfx_run_ksoftirqd+0x10/0x10 [ 19.441162][ C2] run_ksoftirqd+0x3f/0x70 [ 19.441164][ C2] smpboot_thread_fn+0x307/0x960 [ 19.441167][ C2] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 19.441171][ C2] kthread+0x37b/0x600 [ 19.441174][ C2] ? __pfx_kthread+0x10/0x10 [ 19.441177][ C2] ? ret_from_fork+0x1b/0x70 [ 19.441180][ C2] ? __lock_release+0x5d/0x170 [ 19.441186][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.441190][ C2] ? __pfx_kthread+0x10/0x10 [ 19.441193][ C2] ret_from_fork+0x31/0x70 [ 19.441196][ C2] ? __pfx_kthread+0x10/0x10 [ 19.441199][ C2] ret_from_fork_asm+0x1a/0x30 [ 19.441206][ C2]