[ 27.434129][ T329] ip (329) used greatest stack depth: 24184 bytes left [ 1033.636410][ C0] [ 1033.636575][ C0] ================================ [ 1033.636809][ C0] WARNING: inconsistent lock state [ 1033.637039][ C0] 6.15.0-rc7-virtme #1 Not tainted [ 1033.637272][ C0] -------------------------------- [ 1033.637493][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 1033.637773][ C0] nft_concat_rang/9044 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 1033.638058][ C0] ffffffff949cb078 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 1033.638473][ C0] {SOFTIRQ-ON-W} state was registered at: [ 1033.638701][ C0] __lock_acquire+0x3eb/0x9d0 [ 1033.638947][ C0] lock_acquire.part.0+0xb6/0x240 [ 1033.639179][ C0] _raw_spin_lock+0x33/0x40 [ 1033.639409][ C0] simple_pin_fs+0x24/0x150 [ 1033.639636][ C0] start_creating.part.0+0x3f/0x2f0 [ 1033.639866][ C0] debugfs_create_dir+0x6a/0x570 [ 1033.640093][ C0] component_debug_init+0x17/0x30 [ 1033.640324][ C0] do_one_initcall+0x8f/0x1e0 [ 1033.640557][ C0] do_initcalls+0x176/0x280 [ 1033.640788][ C0] kernel_init_freeable+0x22d/0x300 [ 1033.641014][ C0] kernel_init+0x20/0x200 [ 1033.641238][ C0] ret_from_fork+0x31/0x70 [ 1033.641471][ C0] ret_from_fork_asm+0x1a/0x30 [ 1033.641694][ C0] irq event stamp: 196312 [ 1033.641862][ C0] hardirqs last enabled at (196312): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 1033.642314][ C0] hardirqs last disabled at (196311): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 1033.642757][ C0] softirqs last enabled at (196024): [] restore_fpregs_from_user+0x1f0/0x460 [ 1033.643211][ C0] softirqs last disabled at (196209): [] __irq_exit_rcu+0xfa/0x160 [ 1033.643621][ C0] [ 1033.643621][ C0] other info that might help us debug this: [ 1033.643949][ C0] Possible unsafe locking scenario: [ 1033.643949][ C0] [ 1033.644284][ C0] CPU0 [ 1033.644449][ C0] ---- [ 1033.644615][ C0] lock(pin_fs_lock); [ 1033.644787][ C0] [ 1033.644951][ C0] lock(pin_fs_lock); [ 1033.645122][ C0] [ 1033.645122][ C0] *** DEADLOCK *** [ 1033.645122][ C0] [ 1033.645456][ C0] 5 locks held by nft_concat_rang/9044: [ 1033.645679][ C0] #0: ffffffff948de750 (dup_mmap_sem){.+.+}-{0:0}, at: copy_mm+0x2ad/0x5e0 [ 1033.646078][ C0] #1: ffff888001083e20 (&mm->mmap_lock){++++}-{4:4}, at: dup_mmap+0xe3/0x1860 [ 1033.646467][ C0] #2: ffff8880051bd220 (&mm->mmap_lock/1){+.+.}-{4:4}, at: dup_mmap+0x150/0x1860 [ 1033.646866][ C0] #3: ffffffff94775260 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x147/0x1e10 [ 1033.647264][ C0] #4: ffffc90000007d60 ((&icsk->icsk_retransmit_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe7/0x220 [ 1033.647710][ C0] [ 1033.647710][ C0] stack backtrace: [ 1033.647993][ C0] CPU: 0 UID: 0 PID: 9044 Comm: nft_concat_rang Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 1033.647998][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1033.648001][ C0] Call Trace: [ 1033.648003][ C0] [ 1033.648005][ C0] dump_stack_lvl+0x82/0xd0 [ 1033.648013][ C0] print_usage_bug.part.0+0x25f/0x360 [ 1033.648017][ C0] mark_lock_irq+0x343/0x400 [ 1033.648024][ C0] mark_lock+0x174/0x2f0 [ 1033.648028][ C0] mark_usage+0x46/0x150 [ 1033.648031][ C0] __lock_acquire+0x3eb/0x9d0 [ 1033.648036][ C0] lock_acquire.part.0+0xb6/0x240 [ 1033.648040][ C0] ? simple_pin_fs+0x24/0x150 [ 1033.648044][ C0] ? rcu_is_watching+0x12/0xc0 [ 1033.648049][ C0] ? lock_acquire+0x10c/0x170 [ 1033.648052][ C0] ? simple_pin_fs+0x24/0x150 [ 1033.648056][ C0] _raw_spin_lock+0x33/0x40 [ 1033.648059][ C0] ? simple_pin_fs+0x24/0x150 [ 1033.648062][ C0] simple_pin_fs+0x24/0x150 [ 1033.648065][ C0] debugfs_remove+0x35/0x70 [ 1033.648068][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 1033.648076][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 1033.648079][ C0] ? __sk_destruct+0x383/0x780 [ 1033.648085][ C0] ? call_timer_fn+0x13d/0x220 [ 1033.648088][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 1033.648091][ C0] ? handle_softirqs+0x21b/0x620 [ 1033.648095][ C0] ? __irq_exit_rcu+0xfa/0x160 [ 1033.648098][ C0] ? irq_exit_rcu+0xe/0x30 [ 1033.648101][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1033.648106][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1033.648111][ C0] ? __orc_find+0xa3/0xf0 [ 1033.648114][ C0] ? unwind_next_frame+0x244/0x1e10 [ 1033.648117][ C0] ? arch_stack_walk+0x8b/0xf0 [ 1033.648120][ C0] ? stack_trace_save+0x93/0xd0 [ 1033.648124][ C0] ? kasan_save_stack+0x24/0x50 [ 1033.648130][ C0] ? kasan_save_track+0x14/0x30 [ 1033.648136][ C0] __put_net+0x19/0x60 [ 1033.648139][ C0] __sk_destruct+0x58a/0x780 [ 1033.648143][ C0] ? __pfx_tcp_write_timer+0x10/0x10 [ 1033.648150][ C0] call_timer_fn+0x13d/0x220 [ 1033.648152][ C0] ? call_timer_fn+0xe7/0x220 [ 1033.648155][ C0] ? call_timer_fn+0xe7/0x220 [ 1033.648158][ C0] ? __pfx_call_timer_fn+0x10/0x10 [ 1033.648163][ C0] ? mark_held_locks+0x49/0x80 [ 1033.648167][ C0] __run_timers+0x543/0x810 [ 1033.648171][ C0] ? __pfx_tcp_write_timer+0x10/0x10 [ 1033.648176][ C0] ? trace_contention_end+0xf3/0x170 [ 1033.648181][ C0] ? __pfx___run_timers+0x10/0x10 [ 1033.648185][ C0] ? do_raw_spin_lock+0x130/0x270 [ 1033.648189][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 1033.648192][ C0] ? lock_acquire+0x10c/0x170 [ 1033.648195][ C0] ? run_timer_base+0xab/0x110 [ 1033.648199][ C0] run_timer_base+0xb3/0x110 [ 1033.648202][ C0] run_timer_softirq+0x1a/0x30 [ 1033.648205][ C0] handle_softirqs+0x21b/0x620 [ 1033.648210][ C0] __irq_exit_rcu+0xfa/0x160 [ 1033.648213][ C0] irq_exit_rcu+0xe/0x30 [ 1033.648216][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1033.648219][ C0] [ 1033.648220][ C0] [ 1033.648222][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1033.648225][ C0] RIP: 0010:__orc_find+0xa3/0xf0 [ 1033.648229][ C0] Code: e2 07 83 c2 03 40 38 f2 7c 05 40 84 f6 75 4b 48 63 13 48 01 da 49 39 d5 73 af 4c 8d 63 fc 4c 39 e5 76 b2 4d 29 f7 49 c1 ff 02 <4b> 8d 14 7f 48 8d 04 50 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f [ 1033.648232][ C0] RSP: 0018:ffffc90003fe73e8 EFLAGS: 00000202 [ 1033.648236][ C0] RAX: ffffffff956b5cd8 RBX: ffffffff953261d4 RCX: dffffc0000000000 [ 1033.648238][ C0] RDX: ffffffff915598ba RSI: 0000000000000000 RDI: ffffffff953261a8 [ 1033.648240][ C0] RBP: ffffffff953261d8 R08: 0000000000000000 R09: ffffc90003fe7569 [ 1033.648241][ C0] R10: 0000000000000078 R11: ffffffff94775260 R12: ffffffff953261d4 [ 1033.648243][ C0] R13: ffffffff915598c1 R14: ffffffff953261a8 R15: 000000000000000b [ 1033.648245][ C0] ? __create_object+0x21/0xb0 [ 1033.648252][ C0] ? __create_object+0x1a/0xb0 [ 1033.648258][ C0] unwind_next_frame+0x244/0x1e10 [ 1033.648261][ C0] ? __create_object+0x22/0xb0 [ 1033.648266][ C0] ? __pfx_unwind_next_frame+0x10/0x10 [ 1033.648270][ C0] ? __create_object+0x22/0xb0 [ 1033.648273][ C0] ? kernel_text_address+0x17/0xe0 [ 1033.648279][ C0] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 1033.648282][ C0] arch_stack_walk+0x8b/0xf0 [ 1033.648287][ C0] ? __create_object+0x22/0xb0 [ 1033.648291][ C0] stack_trace_save+0x93/0xd0 [ 1033.648294][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 1033.648297][ C0] ? validate_chain+0x166/0x4d0 [ 1033.648301][ C0] kasan_save_stack+0x24/0x50 [ 1033.648304][ C0] ? kasan_save_stack+0x24/0x50 [ 1033.648307][ C0] ? kasan_save_track+0x14/0x30 [ 1033.648310][ C0] ? __kasan_slab_alloc+0x59/0x70 [ 1033.648313][ C0] ? kmem_cache_alloc_noprof+0x10b/0x330 [ 1033.648319][ C0] ? __alloc_object+0x2f/0x2e0 [ 1033.648323][ C0] ? __create_object+0x22/0xb0 [ 1033.648326][ C0] ? check_bytes_and_report+0x6d/0x150 [ 1033.648331][ C0] ? find_held_lock+0x2b/0x80 [ 1033.648337][ C0] ? mark_held_locks+0x49/0x80 [ 1033.648340][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 1033.648343][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 1033.648348][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 1033.648351][ C0] ? get_partial_node.part.0+0x1c2/0x3b0 [ 1033.648357][ C0] ? ___slab_alloc+0x4b2/0x1170 [ 1033.648360][ C0] ? __alloc_object+0x2f/0x2e0 [ 1033.648366][ C0] kasan_save_track+0x14/0x30 [ 1033.648369][ C0] __kasan_slab_alloc+0x59/0x70 [ 1033.648373][ C0] kmem_cache_alloc_noprof+0x10b/0x330 [ 1033.648376][ C0] ? vm_area_dup+0x21/0x630 [ 1033.648381][ C0] __alloc_object+0x2f/0x2e0 [ 1033.648385][ C0] __create_object+0x22/0xb0 [ 1033.648389][ C0] kmem_cache_alloc_noprof+0x288/0x330 [ 1033.648393][ C0] ? dup_mmap+0x576/0x1860 [ 1033.648397][ C0] vm_area_dup+0x21/0x630 [ 1033.648400][ C0] dup_mmap+0x6b6/0x1860 [ 1033.648404][ C0] ? find_held_lock+0x2b/0x80 [ 1033.648409][ C0] ? __pfx_dup_mmap+0x10/0x10 [ 1033.648414][ C0] ? rcu_is_watching+0x12/0xc0 [ 1033.648420][ C0] copy_mm+0x2b8/0x5e0 [ 1033.648424][ C0] copy_process+0x1a9b/0x5260 [ 1033.648431][ C0] ? __pfx_copy_process+0x10/0x10 [ 1033.648435][ C0] ? rcu_read_lock_any_held+0x43/0xb0 [ 1033.648440][ C0] ? validate_chain+0x166/0x4d0 [ 1033.648445][ C0] kernel_clone+0xc1/0x510 [ 1033.648449][ C0] ? __pfx_kernel_clone+0x10/0x10 [ 1033.648453][ C0] ? __lock_acquire+0x591/0x9d0 [ 1033.648460][ C0] __do_sys_clone+0xb5/0x100 [ 1033.648463][ C0] ? __pfx___do_sys_clone+0x10/0x10 [ 1033.648466][ C0] ? __might_fault+0x11b/0x170 [ 1033.648474][ C0] ? rcu_is_watching+0x12/0xc0 [ 1033.648477][ C0] ? do_syscall_64+0x85/0x1d0 [ 1033.648482][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 1033.648485][ C0] do_syscall_64+0xc1/0x1d0 [ 1033.648489][ C0] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 1033.648492][ C0] RIP: 0033:0x7f10be164a47 [ 1033.648496][ C0] Code: 00 00 00 f3 0f 1e fa 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 39 41 89 c0 85 c0 75 2a 64 48 8b 04 25 10 00 [ 1033.648498][ C0] RSP: 002b:00007fffaecff498 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 [ 1033.648501][ C0] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f10be164a47 [ 1033.648503][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 [ 1033.648505][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 006c6c616c6c696b [ 1033.648506][ C0] R10: 00007f10be049a10 R11: 0000000000000246 R12: 0000000000000000 [ 1033.648508][ C0] R13: 00007fffaecff5d0 R14: 0000557108e22f27 R15: 0000557145b2eb20 [ 1033.648513][ C0] [ 1033.687631][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 1033.688037][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 9044, name: nft_concat_rang [ 1033.688430][ C0] preempt_count: 100, expected: 0 [ 1033.688669][ C0] RCU nest depth: 1, expected: 0 [ 1033.688894][ C0] INFO: lockdep is turned off. [ 1033.689119][ C0] Preemption disabled at: [ 1033.689120][ C0] [] handle_softirqs+0xe5/0x620 [ 1033.689577][ C0] CPU: 0 UID: 0 PID: 9044 Comm: nft_concat_rang Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 1033.689582][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1033.689584][ C0] Call Trace: [ 1033.689586][ C0] [ 1033.689588][ C0] dump_stack_lvl+0xb0/0xd0 [ 1033.689596][ C0] __might_resched+0x360/0x5a0 [ 1033.689605][ C0] down_write+0x72/0x210 [ 1033.689610][ C0] ? __pfx_down_write+0x10/0x10 [ 1033.689612][ C0] ? simple_recursive_removal+0x3a/0x860 [ 1033.689619][ C0] ? rcu_is_watching+0x12/0xc0 [ 1033.689625][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 1033.689632][ C0] simple_recursive_removal+0x166/0x860 [ 1033.689635][ C0] ? __pfx_remove_one+0x10/0x10 [ 1033.689641][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 1033.689646][ C0] debugfs_remove+0x44/0x70 [ 1033.689651][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 1033.689659][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 1033.689662][ C0] ? __sk_destruct+0x383/0x780 [ 1033.689668][ C0] ? call_timer_fn+0x13d/0x220 [ 1033.689673][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 1033.689676][ C0] ? handle_softirqs+0x21b/0x620 [ 1033.689679][ C0] ? __irq_exit_rcu+0xfa/0x160 [ 1033.689682][ C0] ? irq_exit_rcu+0xe/0x30 [ 1033.689685][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1033.689691][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1033.689696][ C0] ? __orc_find+0xa3/0xf0 [ 1033.689701][ C0] ? unwind_next_frame+0x244/0x1e10 [ 1033.689704][ C0] ? arch_stack_walk+0x8b/0xf0 [ 1033.689707][ C0] ? stack_trace_save+0x93/0xd0 [ 1033.689710][ C0] ? kasan_save_stack+0x24/0x50 [ 1033.689717][ C0] ? kasan_save_track+0x14/0x30 [ 1033.689722][ C0] __put_net+0x19/0x60 [ 1033.689725][ C0] __sk_destruct+0x58a/0x780 [ 1033.689729][ C0] ? __pfx_tcp_write_timer+0x10/0x10 [ 1033.689736][ C0] call_timer_fn+0x13d/0x220 [ 1033.689738][ C0] ? call_timer_fn+0xe7/0x220 [ 1033.689740][ C0] ? call_timer_fn+0xe7/0x220 [ 1033.689743][ C0] ? __pfx_call_timer_fn+0x10/0x10 [ 1033.689748][ C0] ? mark_held_locks+0x49/0x80 [ 1033.689753][ C0] __run_timers+0x543/0x810 [ 1033.689757][ C0] ? __pfx_tcp_write_timer+0x10/0x10 [ 1033.689762][ C0] ? trace_contention_end+0xf3/0x170 [ 1033.689767][ C0] ? __pfx___run_timers+0x10/0x10 [ 1033.689772][ C0] ? do_raw_spin_lock+0x130/0x270 [ 1033.689775][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 1033.689779][ C0] ? lock_acquire+0x10c/0x170 [ 1033.689782][ C0] ? run_timer_base+0xab/0x110 [ 1033.689786][ C0] run_timer_base+0xb3/0x110 [ 1033.689789][ C0] run_timer_softirq+0x1a/0x30 [ 1033.689792][ C0] handle_softirqs+0x21b/0x620 [ 1033.689797][ C0] __irq_exit_rcu+0xfa/0x160 [ 1033.689800][ C0] irq_exit_rcu+0xe/0x30 [ 1033.689803][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1033.689807][ C0] [ 1033.689808][ C0] [ 1033.689810][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1033.689812][ C0] RIP: 0010:__orc_find+0xa3/0xf0 [ 1033.689816][ C0] Code: e2 07 83 c2 03 40 38 f2 7c 05 40 84 f6 75 4b 48 63 13 48 01 da 49 39 d5 73 af 4c 8d 63 fc 4c 39 e5 76 b2 4d 29 f7 49 c1 ff 02 <4b> 8d 14 7f 48 8d 04 50 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f [ 1033.689820][ C0] RSP: 0018:ffffc90003fe73e8 EFLAGS: 00000202 [ 1033.689823][ C0] RAX: ffffffff956b5cd8 RBX: ffffffff953261d4 RCX: dffffc0000000000 [ 1033.689826][ C0] RDX: ffffffff915598ba RSI: 0000000000000000 RDI: ffffffff953261a8 [ 1033.689828][ C0] RBP: ffffffff953261d8 R08: 0000000000000000 R09: ffffc90003fe7569 [ 1033.689829][ C0] R10: 0000000000000078 R11: ffffffff94775260 R12: ffffffff953261d4 [ 1033.689831][ C0] R13: ffffffff915598c1 R14: ffffffff953261a8 R15: 000000000000000b [ 1033.689833][ C0] ? __create_object+0x21/0xb0 [ 1033.689842][ C0] ? __create_object+0x1a/0xb0 [ 1033.689848][ C0] unwind_next_frame+0x244/0x1e10 [ 1033.689851][ C0] ? __create_object+0x22/0xb0 [ 1033.689856][ C0] ? __pfx_unwind_next_frame+0x10/0x10 [ 1033.689860][ C0] ? __create_object+0x22/0xb0 [ 1033.689863][ C0] ? kernel_text_address+0x17/0xe0 [ 1033.689868][ C0] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 1033.689871][ C0] arch_stack_walk+0x8b/0xf0 [ 1033.689876][ C0] ? __create_object+0x22/0xb0 [ 1033.689880][ C0] stack_trace_save+0x93/0xd0 [ 1033.689883][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 1033.689886][ C0] ? validate_chain+0x166/0x4d0 [ 1033.689890][ C0] kasan_save_stack+0x24/0x50 [ 1033.689894][ C0] ? kasan_save_stack+0x24/0x50 [ 1033.689897][ C0] ? kasan_save_track+0x14/0x30 [ 1033.689900][ C0] ? __kasan_slab_alloc+0x59/0x70 [ 1033.689903][ C0] ? kmem_cache_alloc_noprof+0x10b/0x330 [ 1033.689908][ C0] ? __alloc_object+0x2f/0x2e0 [ 1033.689911][ C0] ? __create_object+0x22/0xb0 [ 1033.689915][ C0] ? check_bytes_and_report+0x6d/0x150 [ 1033.689920][ C0] ? find_held_lock+0x2b/0x80 [ 1033.689925][ C0] ? mark_held_locks+0x49/0x80 [ 1033.689929][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 1033.689934][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 1033.689938][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 1033.689941][ C0] ? get_partial_node.part.0+0x1c2/0x3b0 [ 1033.689946][ C0] ? ___slab_alloc+0x4b2/0x1170 [ 1033.689950][ C0] ? __alloc_object+0x2f/0x2e0 [ 1033.689955][ C0] kasan_save_track+0x14/0x30 [ 1033.689959][ C0] __kasan_slab_alloc+0x59/0x70 [ 1033.689963][ C0] kmem_cache_alloc_noprof+0x10b/0x330 [ 1033.689966][ C0] ? vm_area_dup+0x21/0x630 [ 1033.689972][ C0] __alloc_object+0x2f/0x2e0 [ 1033.689976][ C0] __create_object+0x22/0xb0 [ 1033.689981][ C0] kmem_cache_alloc_noprof+0x288/0x330 [ 1033.689984][ C0] ? dup_mmap+0x576/0x1860 [ 1033.689989][ C0] vm_area_dup+0x21/0x630 [ 1033.689992][ C0] dup_mmap+0x6b6/0x1860 [ 1033.689996][ C0] ? find_held_lock+0x2b/0x80 [ 1033.690001][ C0] ? __pfx_dup_mmap+0x10/0x10 [ 1033.690007][ C0] ? rcu_is_watching+0x12/0xc0 [ 1033.690012][ C0] copy_mm+0x2b8/0x5e0 [ 1033.690016][ C0] copy_process+0x1a9b/0x5260 [ 1033.690023][ C0] ? __pfx_copy_process+0x10/0x10 [ 1033.690028][ C0] ? rcu_read_lock_any_held+0x43/0xb0 [ 1033.690033][ C0] ? validate_chain+0x166/0x4d0 [ 1033.690038][ C0] kernel_clone+0xc1/0x510 [ 1033.690042][ C0] ? __pfx_kernel_clone+0x10/0x10 [ 1033.690045][ C0] ? __lock_acquire+0x591/0x9d0 [ 1033.690052][ C0] __do_sys_clone+0xb5/0x100 [ 1033.690056][ C0] ? __pfx___do_sys_clone+0x10/0x10 [ 1033.690059][ C0] ? __might_fault+0x11b/0x170 [ 1033.690067][ C0] ? rcu_is_watching+0x12/0xc0 [ 1033.690070][ C0] ? do_syscall_64+0x85/0x1d0 [ 1033.690074][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 1033.690077][ C0] do_syscall_64+0xc1/0x1d0 [ 1033.690081][ C0] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 1033.690084][ C0] RIP: 0033:0x7f10be164a47 [ 1033.690087][ C0] Code: 00 00 00 f3 0f 1e fa 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 39 41 89 c0 85 c0 75 2a 64 48 8b 04 25 10 00 [ 1033.690090][ C0] RSP: 002b:00007fffaecff498 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 [ 1033.690092][ C0] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f10be164a47 [ 1033.690094][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 [ 1033.690096][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 006c6c616c6c696b [ 1033.690097][ C0] R10: 00007f10be049a10 R11: 0000000000000246 R12: 0000000000000000 [ 1033.690099][ C0] R13: 00007fffaecff5d0 R14: 0000557108e22f27 R15: 0000557145b2eb20 [ 1033.690104][ C0] [ 1062.308765][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 1062.309212][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 11267, name: nft [ 1062.309539][ C2] preempt_count: 100, expected: 0 [ 1062.309782][ C2] RCU nest depth: 1, expected: 0 [ 1062.310009][ C2] INFO: lockdep is turned off. [ 1062.310236][ C2] Preemption disabled at: [ 1062.310238][ C2] [] handle_softirqs+0xe5/0x620 [ 1062.310714][ C2] CPU: 2 UID: 0 PID: 11267 Comm: nft Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 1062.310720][ C2] Tainted: [W]=WARN [ 1062.310721][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1062.310724][ C2] Call Trace: [ 1062.310727][ C2] [ 1062.310729][ C2] dump_stack_lvl+0xb0/0xd0 [ 1062.310737][ C2] __might_resched+0x360/0x5a0 [ 1062.310746][ C2] down_write+0x72/0x210 [ 1062.310751][ C2] ? __pfx_down_write+0x10/0x10 [ 1062.310754][ C2] ? simple_recursive_removal+0x3a/0x860 [ 1062.310760][ C2] ? rcu_is_watching+0x12/0xc0 [ 1062.310766][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 1062.310773][ C2] simple_recursive_removal+0x166/0x860 [ 1062.310776][ C2] ? __pfx_remove_one+0x10/0x10 [ 1062.310783][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 1062.310788][ C2] debugfs_remove+0x44/0x70 [ 1062.310791][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 1062.310798][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 1062.310802][ C2] ? __sk_destruct+0x383/0x780 [ 1062.310808][ C2] ? call_timer_fn+0x13d/0x220 [ 1062.310813][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 1062.310816][ C2] ? handle_softirqs+0x21b/0x620 [ 1062.310819][ C2] ? __irq_exit_rcu+0xfa/0x160 [ 1062.310822][ C2] ? irq_exit_rcu+0xe/0x30 [ 1062.310825][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1062.310830][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1062.310834][ C2] ? unwind_next_frame+0xc09/0x1e10 [ 1062.310840][ C2] ? arch_stack_walk+0x8b/0xf0 [ 1062.310844][ C2] ? stack_trace_save+0x93/0xd0 [ 1062.310847][ C2] ? set_track_prepare+0x3a/0x70 [ 1062.310854][ C2] ? __alloc_object+0xf7/0x2e0 [ 1062.310857][ C2] ? __create_object+0x22/0xb0 [ 1062.310861][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 1062.310868][ C2] ? rcu_is_watching+0x12/0xc0 [ 1062.310872][ C2] __put_net+0x19/0x60 [ 1062.310876][ C2] __sk_destruct+0x58a/0x780 [ 1062.310879][ C2] ? __pfx_tcp_write_timer+0x10/0x10 [ 1062.310887][ C2] call_timer_fn+0x13d/0x220 [ 1062.310889][ C2] ? call_timer_fn+0xe7/0x220 [ 1062.310892][ C2] ? call_timer_fn+0xe7/0x220 [ 1062.310894][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 1062.310897][ C2] ? nohz_balance_exit_idle+0x1c/0x410 [ 1062.310904][ C2] ? rcu_is_watching+0x12/0xc0 [ 1062.310908][ C2] __run_timers+0x543/0x810 [ 1062.310912][ C2] ? __pfx_tcp_write_timer+0x10/0x10 [ 1062.310917][ C2] ? __pfx___run_timers+0x10/0x10 [ 1062.310920][ C2] ? trace_lock_release+0x2a/0xd0 [ 1062.310925][ C2] ? lock_release+0x13/0xc0 [ 1062.310928][ C2] ? do_raw_spin_lock+0x130/0x270 [ 1062.310932][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 1062.310936][ C2] ? lock_acquire+0x10c/0x170 [ 1062.310939][ C2] ? run_timer_base+0xab/0x110 [ 1062.310944][ C2] run_timer_base+0xb3/0x110 [ 1062.310947][ C2] run_timer_softirq+0x1a/0x30 [ 1062.310949][ C2] handle_softirqs+0x21b/0x620 [ 1062.310955][ C2] __irq_exit_rcu+0xfa/0x160 [ 1062.310958][ C2] irq_exit_rcu+0xe/0x30 [ 1062.310961][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1062.310965][ C2] [ 1062.310966][ C2] [ 1062.310967][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1062.310970][ C2] RIP: 0010:unwind_next_frame+0xc09/0x1e10 [ 1062.310974][ C2] Code: 85 8b 11 00 00 48 8b 14 24 49 89 45 58 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 23 11 00 00 48 8b 44 24 28 <48> 8b 54 24 08 49 89 45 48 48 c1 ea 03 48 b8 00 00 00 00 00 fc ff [ 1062.310977][ C2] RSP: 0018:ffffc900068972d0 EFLAGS: 00000246 [ 1062.310981][ C2] RAX: ffffc90006897508 RBX: 1ffff92000d12e63 RCX: 1ffff92000d12e85 [ 1062.310984][ C2] RDX: 1ffff92000d12e83 RSI: ffffc90006897400 RDI: ffff88800969c640 [ 1062.310986][ C2] RBP: 0000000000000001 R08: 0000000000000000 R09: ffffc90006897411 [ 1062.310987][ C2] R10: ffffffff90c0e3f7 R11: ffffc90006897410 R12: ffffc90006897428 [ 1062.310989][ C2] R13: ffffc900068973d0 R14: ffffffff9560fef8 R15: ffffc90006897500 [ 1062.310992][ C2] ? unwind_next_frame+0x147/0x1e10 [ 1062.310998][ C2] ? stack_trace_save+0x93/0xd0 [ 1062.311001][ C2] ? kmem_cache_alloc_noprof+0x10b/0x330 [ 1062.311005][ C2] ? __alloc_object+0x2f/0x2e0 [ 1062.311009][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 1062.311013][ C2] ? stack_trace_save+0x93/0xd0 [ 1062.311015][ C2] ? kernel_text_address+0x17/0xe0 [ 1062.311019][ C2] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 1062.311023][ C2] arch_stack_walk+0x8b/0xf0 [ 1062.311027][ C2] ? set_track_prepare+0x3a/0x70 [ 1062.311032][ C2] stack_trace_save+0x93/0xd0 [ 1062.311034][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 1062.311039][ C2] set_track_prepare+0x3a/0x70 [ 1062.311043][ C2] ? rcu_is_watching+0x12/0xc0 [ 1062.311046][ C2] ? trace_kmem_cache_alloc+0x2a/0xd0 [ 1062.311049][ C2] ? lockdep_init_map_type+0x4b/0x280 [ 1062.311054][ C2] __alloc_object+0xf7/0x2e0 [ 1062.311058][ C2] __create_object+0x22/0xb0 [ 1062.311062][ C2] kmem_cache_alloc_noprof+0x288/0x330 [ 1062.311065][ C2] ? mas_wr_store_type+0x4d9/0x1b30 [ 1062.311072][ C2] mas_alloc_nodes+0x108/0x7f0 [ 1062.311076][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 1062.311081][ C2] mas_preallocate+0x212/0x5d0 [ 1062.311083][ C2] ? rcu_is_watching+0x12/0xc0 [ 1062.311087][ C2] ? __pfx_mas_preallocate+0x10/0x10 [ 1062.311089][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 1062.311097][ C2] ? lockdep_init_map_type+0x4b/0x280 [ 1062.311101][ C2] __split_vma+0x2a4/0xb50 [ 1062.311107][ C2] ? __pfx___split_vma+0x10/0x10 [ 1062.311112][ C2] ? __pfx_mas_prev+0x10/0x10 [ 1062.311117][ C2] vms_gather_munmap_vmas+0x293/0xb50 [ 1062.311122][ C2] __mmap_prepare+0x569/0x1190 [ 1062.311125][ C2] ? vma_set_page_prot+0x97/0x110 [ 1062.311133][ C2] __mmap_region+0x168/0x1780 [ 1062.311138][ C2] ? __pfx___mmap_region+0x10/0x10 [ 1062.311143][ C2] ? mas_find+0x1f1/0x400 [ 1062.311159][ C2] ? mm_get_unmapped_area_vmflags+0x48/0xc0 [ 1062.311164][ C2] ? mmap_region+0xe1/0x2e0 [ 1062.311168][ C2] do_mmap+0x9c5/0xf20 [ 1062.311173][ C2] ? __pfx_do_mmap+0x10/0x10 [ 1062.311175][ C2] ? down_write_killable+0x15e/0x250 [ 1062.311178][ C2] ? __pfx_down_write_killable+0x10/0x10 [ 1062.311182][ C2] vm_mmap_pgoff+0x151/0x2e0 [ 1062.311189][ C2] ? __pfx_vm_mmap_pgoff+0x10/0x10 [ 1062.311192][ C2] ? lock_release+0x13/0xc0 [ 1062.311195][ C2] ? __fget_files+0x1a3/0x300 [ 1062.311200][ C2] ksys_mmap_pgoff+0x21f/0x4d0 [ 1062.311204][ C2] ? rcu_is_watching+0x12/0xc0 [ 1062.311208][ C2] do_syscall_64+0xc1/0x1d0 [ 1062.311213][ C2] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 1062.311215][ C2] RIP: 0033:0x7f42625f9116 [ 1062.311220][ C2] Code: 5d 41 5c c3 f3 0f 1e fa 41 f7 c1 ff 0f 00 00 75 2b 55 48 89 fd 53 89 cb 48 85 ff 74 37 41 89 da 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 62 5b 5d c3 0f 1f 80 00 00 00 00 c7 05 ae f0 [ 1062.311222][ C2] RSP: 002b:00007ffd2e2197d8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 [ 1062.311225][ C2] RAX: ffffffffffffffda RBX: 0000000000000812 RCX: 00007f42625f9116 [ 1062.311227][ C2] RDX: 0000000000000001 RSI: 0000000000017000 RDI: 00007f426241e000 [ 1062.311228][ C2] RBP: 00007f426241e000 R08: 0000000000000005 R09: 0000000000090000 [ 1062.311230][ C2] R10: 0000000000000812 R11: 0000000000000206 R12: 00007ffd2e219850 [ 1062.311232][ C2] R13: 00007ffd2e219bf0 R14: 0000000000000000 R15: 00007f4262486a00 [ 1062.311237][ C2] [ 1131.941734][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 1131.942429][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 1131.943004][ C1] preempt_count: 101, expected: 0 [ 1131.943322][ C1] RCU nest depth: 0, expected: 0 [ 1131.943648][ C1] INFO: lockdep is turned off. [ 1131.943958][ C1] Preemption disabled at: [ 1131.943961][ C1] [<0000000000000000>] 0x0 [ 1131.944479][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 1131.944490][ C1] Tainted: [W]=WARN [ 1131.944492][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1131.944495][ C1] Call Trace: [ 1131.944499][ C1] [ 1131.944504][ C1] dump_stack_lvl+0xb0/0xd0 [ 1131.944518][ C1] __might_resched+0x360/0x5a0 [ 1131.944533][ C1] down_write+0x72/0x210 [ 1131.944540][ C1] ? __pfx_down_write+0x10/0x10 [ 1131.944545][ C1] ? simple_recursive_removal+0x3a/0x860 [ 1131.944554][ C1] ? rcu_is_watching+0x12/0xc0 [ 1131.944564][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 1131.944575][ C1] simple_recursive_removal+0x166/0x860 [ 1131.944579][ C1] ? __pfx_remove_one+0x10/0x10 [ 1131.944589][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 1131.944598][ C1] debugfs_remove+0x44/0x70 [ 1131.944603][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 1131.944613][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 1131.944618][ C1] ? __sk_destruct+0x383/0x780 [ 1131.944627][ C1] ? call_timer_fn+0x13d/0x220 [ 1131.944635][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 1131.944640][ C1] ? tmigr_handle_remote_up+0x1a6/0x270 [ 1131.944647][ C1] ? __walk_groups.isra.0+0x47/0x160 [ 1131.944655][ C1] ? tmigr_handle_remote+0x247/0x350 [ 1131.944658][ C1] ? handle_softirqs+0x21b/0x620 [ 1131.944668][ C1] ? __irq_exit_rcu+0xfa/0x160 [ 1131.944673][ C1] ? irq_exit_rcu+0xe/0x30 [ 1131.944678][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1131.944686][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1131.944692][ C1] ? pv_native_safe_halt+0xf/0x20 [ 1131.944696][ C1] ? default_idle+0x9/0x10 [ 1131.944701][ C1] ? default_idle_call+0x6d/0xb0 [ 1131.944705][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 1131.944714][ C1] ? rcu_is_watching+0x12/0xc0 [ 1131.944722][ C1] __put_net+0x19/0x60 [ 1131.944728][ C1] __sk_destruct+0x58a/0x780 [ 1131.944733][ C1] ? __pfx_tcp_write_timer+0x10/0x10 [ 1131.944742][ C1] call_timer_fn+0x13d/0x220 [ 1131.944747][ C1] ? call_timer_fn+0xe7/0x220 [ 1131.944750][ C1] ? call_timer_fn+0xe7/0x220 [ 1131.944756][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 1131.944765][ C1] ? rcu_is_watching+0x12/0xc0 [ 1131.944773][ C1] __run_timers+0x543/0x810 [ 1131.944779][ C1] ? __pfx_tcp_write_timer+0x10/0x10 [ 1131.944788][ C1] ? __pfx___run_timers+0x10/0x10 [ 1131.944795][ C1] ? do_raw_spin_lock+0x130/0x270 [ 1131.944802][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 1131.944808][ C1] ? lock_acquire+0x10c/0x170 [ 1131.944813][ C1] ? timer_expire_remote+0x96/0xf0 [ 1131.944823][ C1] timer_expire_remote+0x9e/0xf0 [ 1131.944828][ C1] tmigr_handle_remote_cpu+0x274/0x440 [ 1131.944835][ C1] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 1131.944840][ C1] ? call_timer_fn+0xe7/0x220 [ 1131.944844][ C1] ? call_timer_fn+0xe7/0x220 [ 1131.944849][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 1131.944854][ C1] ? do_raw_spin_lock+0x130/0x270 [ 1131.944860][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 1131.944868][ C1] ? rcu_is_watching+0x12/0xc0 [ 1131.944875][ C1] tmigr_handle_remote_up+0x1a6/0x270 [ 1131.944881][ C1] ? __pfx_tmigr_handle_remote_up+0x10/0x10 [ 1131.944886][ C1] __walk_groups.isra.0+0x47/0x160 [ 1131.944895][ C1] tmigr_handle_remote+0x247/0x350 [ 1131.944901][ C1] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 1131.944905][ C1] ? do_raw_spin_lock+0x130/0x270 [ 1131.944911][ C1] ? spin_bug+0x162/0x1d0 [ 1131.944917][ C1] ? lock_acquire+0x10c/0x170 [ 1131.944924][ C1] ? rcu_is_watching+0x12/0xc0 [ 1131.944931][ C1] handle_softirqs+0x21b/0x620 [ 1131.944940][ C1] __irq_exit_rcu+0xfa/0x160 [ 1131.944944][ C1] irq_exit_rcu+0xe/0x30 [ 1131.944948][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 1131.944951][ C1] [ 1131.944953][ C1] [ 1131.944955][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1131.944958][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 1131.944963][ C1] Code: a0 d1 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 2b 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 1131.944966][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246 [ 1131.944970][ C1] RAX: 0000000000000001 RBX: 1ffff92000026fc1 RCX: ffffffff935dea19 [ 1131.944973][ C1] RDX: ffffed1006c1667b RSI: ffffffff93a561e0 RDI: ffffffff90d8879f [ 1131.944975][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c1667a [ 1131.944977][ C1] R10: ffff8880360b33d3 R11: ffff8880360a7f4c R12: 0000000000000000 [ 1131.944979][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 1131.944984][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 1131.944989][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 1131.944997][ C1] default_idle+0x9/0x10 [ 1131.945001][ C1] default_idle_call+0x6d/0xb0 [ 1131.945004][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 1131.945010][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 1131.945016][ C1] ? tsc_verify_tsc_adjust+0x98/0x300 [ 1131.945025][ C1] do_idle+0xf6/0x160 [ 1131.945030][ C1] cpu_startup_entry+0x54/0x60 [ 1131.945035][ C1] start_secondary+0x213/0x2a0 [ 1131.945040][ C1] ? __pfx_start_secondary+0x10/0x10 [ 1131.945048][ C1] common_startup_64+0x13e/0x148 [ 1131.945065][ C1]