------------[ cut here ]------------ percpu ref (free_ioctx_reqs) <= 0 (0) after switching to atomic WARNING: lib/percpu-refcount.c:197 at percpu_ref_switch_to_atomic_rcu+0x3cc/0x480, CPU#1: systemd-udevd/5449 Modules linked in: CPU: 1 UID: 0 PID: 5449 Comm: systemd-udevd 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:ffff88806cf08e20 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8139de70 RDX: ffff888016255280 RSI: ffffffff8139de7e RDI: 0000000000000001 RBP: 8000000000000000 R08: 0000000000000001 R09: ffffed100d9e4801 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88801f1b7700 R13: ffff88801f1b7720 R14: 0000000000000002 R15: 0000000000000003 FS: 00007f02fd2f58c0(0000) GS:ffff8880e56dd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556b01e1e060 CR3: 0000000016b9d000 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:__sanitizer_cov_trace_pc+0x4/0x80 Code: 5d e9 a0 1f 4a 03 48 c7 c0 f4 ff ff ff eb 92 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa <48> 8b 34 24 65 48 8b 15 88 48 10 06 65 8b 05 99 48 10 06 a9 00 01 RSP: 0018:ffff888016b0fd50 EFLAGS: 00000246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff81b5d430 RDX: ffff888016255280 RSI: ffffffff81b5d619 RDI: ffff888017316380 RBP: ffff888017316380 R08: 0000000000000000 R09: ffffed1002d61fd4 R10: 0000000002000000 R11: 0000000000000001 R12: ffff8880173163c0 R13: 0000000000000010 R14: 1ffff11002d61fae R15: 0000000002000000 locks_remove_file+0x6c/0x5a0 __fput+0x351/0xb50 fput_close_sync+0x10f/0x240 __x64_sys_close+0x8f/0x120 do_syscall_64+0xbf/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f02fd88e0f3 Code: 8b 15 d9 9e 00 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 RSP: 002b:00007ffe029ec9a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 00007f02fd2f56c0 RCX: 00007f02fd88e0f3 RDX: 00007ffe029eca10 RSI: 00007ffe029eca10 RDI: 0000000000000010 RBP: 0000000000000010 R08: 0000000000000001 R09: 00007f02fd874be0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000011 R14: 0000000000000011 R15: 0000556b015c6381 irq event stamp: 9382 hardirqs last enabled at (9390): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (9399): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (8324): [] handle_softirqs+0x50c/0x770 softirqs last disabled at (8799): [] __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 ffff88801f1b7700 pointer offset 0 size 64 ---------------- Code disassembly (best guess): 0: 5d pop %rbp 1: e9 a0 1f 4a 03 jmpq 0x34a1fa6 6: 48 c7 c0 f4 ff ff ff mov $0xfffffffffffffff4,%rax d: eb 92 jmp 0xffffffa1 f: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 90 nop 25: 90 nop 26: f3 0f 1e fa endbr64 * 2a: 48 8b 34 24 mov (%rsp),%rsi <-- trapping instruction 2e: 65 48 8b 15 88 48 10 mov %gs:0x6104888(%rip),%rdx # 0x61048be 35: 06 36: 65 8b 05 99 48 10 06 mov %gs:0x6104899(%rip),%eax # 0x61048d6 3d: a9 .byte 0xa9 3e: 00 01 add %al,(%rcx)