__x64_sys_mkdir+0xf3/0x140 do_syscall_64+0xbf/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ percpu ref (css_release) <= 0 (-2445) after switching to atomic WARNING: lib/percpu-refcount.c:197 at percpu_ref_switch_to_atomic_rcu+0x3cc/0x480, CPU#0: systemd/1 Modules linked in: CPU: 0 UID: 0 PID: 1 Comm: systemd Tainted: G W 6.17.0-rc3-next-20250829 #1 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:percpu_ref_switch_to_atomic_rcu+0x3cc/0x480 Code: 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 01 00 0f 85 9e 00 00 00 49 8b 75 e8 48 c7 c7 80 97 e2 84 e8 75 c5 e9 fe 90 <0f> 0b 90 90 e9 2b ff ff ff e8 f6 de 5f ff e9 9e fe ff ff e8 7c df RSP: 0018:ffff88806ce08e20 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8139de70 RDX: ffff8880094f8000 RSI: ffffffff8139de7e RDI: 0000000000000001 RBP: 7ffffffffffff672 R08: 0000000000000001 R09: ffffed100d9c4801 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800d9eda80 R13: ffff88800d9edaa0 R14: 0000000000000002 R15: 0000000000000003 FS: 00007f95fa5ce900(0000) GS:ffff8880e55dd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ce3bc8db70 CR3: 000000000f9ae000 CR4: 0000000000350ef0 Call Trace: rcu_core+0x7c8/0x1800 handle_softirqs+0x1b1/0x770 __irq_exit_rcu+0xc4/0x100 irq_exit_rcu+0x9/0x20 sysvec_apic_timer_interrupt+0x70/0x80 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:lock_acquire+0x5b/0x2f0 Code: 30 31 c0 66 90 65 8b 05 e7 53 32 06 89 c0 48 0f a3 05 f9 cf f1 04 0f 82 3a 01 00 00 8b 35 d1 db f1 04 85 f6 0f 85 84 00 00 00 <48> 8b 44 24 30 65 48 2b 05 90 53 32 06 0f 85 6e 02 00 00 48 83 c4 RSP: 0018:ffff888009547608 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 739573b89886cf6b RDX: 00000000f39cc0ba RSI: 000000004a597817 RDI: 0000000088d3def6 RBP: ffffffff85c1c760 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 unwind_next_frame+0xcd/0x2540 arch_stack_walk+0x86/0xf0 stack_trace_save+0x8e/0xc0 kasan_save_stack+0x24/0x50 kasan_record_aux_stack+0x89/0xa0 __call_rcu_common.constprop.0+0x70/0x960 security_inode_free+0x54/0x80 __destroy_inode+0x201/0x730 destroy_inode+0x91/0x1b0 evict+0x532/0x860 iput.part.0+0x541/0x770 iput+0x62/0x80 dentry_unlink_inode+0x2bb/0x4a0 __dentry_kill+0x1d2/0x5f0 shrink_dentry_list+0x13d/0x650 shrink_dcache_parent+0x1c4/0x590 vfs_rmdir.part.0+0x27c/0x5e0 do_rmdir+0x325/0x420 __x64_sys_rmdir+0xc7/0x110 do_syscall_64+0xbf/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f95fad9dbb7 Code: 73 01 c3 48 8b 0d d9 d2 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 54 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a9 d2 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007fff4c1c90c8 EFLAGS: 00000202 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 000055ce3bc1d250 RCX: 00007f95fad9dbb7 RDX: 00007f95fae6bbe0 RSI: 0000000000000000 RDI: 000055ce3bc709b0 RBP: 00007f95fb18c351 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000100 R11: 0000000000000202 R12: 0000000000000000 R13: 00007f95fa5ce6c8 R14: 0000000000000001 R15: 0000000000000001 irq event stamp: 5948246 hardirqs last enabled at (5948256): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (5948265): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (5946718): [] handle_softirqs+0x50c/0x770 softirqs last disabled at (5947073): [] __irq_exit_rcu+0xc4/0x100 ---[ end trace 0000000000000000 ]--- percpu_ref_switch_to_atomic_rcu: percpu_ref_switch_to_atomic_rcu(): percpu_ref underflow slab kmalloc-64 start ffff88800d9eda80 pointer offset 0 size 64 percpu_ref_switch_to_atomic_rcu: percpu_ref_switch_to_atomic_rcu(): percpu_ref underflow slab kmalloc-64 start ffff88800cc0e600 pointer offset 0 size 64 ---------------- Code disassembly (best guess): 0: 30 31 xor %dh,(%rcx) 2: c0 66 90 65 shlb $0x65,-0x70(%rsi) 6: 8b 05 e7 53 32 06 mov 0x63253e7(%rip),%eax # 0x63253f3 c: 89 c0 mov %eax,%eax e: 48 0f a3 05 f9 cf f1 bt %rax,0x4f1cff9(%rip) # 0x4f1d00f 15: 04 16: 0f 82 3a 01 00 00 jb 0x156 1c: 8b 35 d1 db f1 04 mov 0x4f1dbd1(%rip),%esi # 0x4f1dbf3 22: 85 f6 test %esi,%esi 24: 0f 85 84 00 00 00 jne 0xae * 2a: 48 8b 44 24 30 mov 0x30(%rsp),%rax <-- trapping instruction 2f: 65 48 2b 05 90 53 32 sub %gs:0x6325390(%rip),%rax # 0x63253c7 36: 06 37: 0f 85 6e 02 00 00 jne 0x2ab 3d: 48 rex.W 3e: 83 .byte 0x83 3f: c4 .byte 0xc4