------------[ 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: syz-executor.5/4008 Modules linked in: CPU: 1 UID: 0 PID: 4008 Comm: syz-executor.5 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: ffff888015a49b80 RSI: ffffffff8139de7e RDI: 0000000000000001 RBP: 8000000000000000 R08: 0000000000000001 R09: ffffed100d9e4801 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800df7e600 R13: ffff88800df7e620 R14: 0000000000000002 R15: 0000000000000003 FS: 0000000000000000(0000) GS:ffff8880e56dd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a1a188b080 CR3: 000000003dbad000 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:kasan_check_range+0x12/0x1b0 Code: 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 85 f6 0f 84 5b 01 00 00 48 89 f8 41 54 <44> 0f b6 c2 48 01 f0 55 53 72 14 eb 26 cc cc cc 48 b8 ff ff ff ff RSP: 0018:ffff8880194ff870 EFLAGS: 00000202 RAX: ffffea0000f5c200 RBX: ffffea0000f5c200 RCX: ffffffff819cf589 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffea0000f5c200 RBP: 0000000000000000 R08: 0000000000000001 R09: fffff940001eb846 R10: 0000000000000000 R11: 0000000000000001 R12: ffff8880194ff9e0 R13: 00007f537ee56000 R14: ffff8880194ffce0 R15: 800000003d708007 unmap_page_range+0x1609/0x36d0 unmap_single_vma.constprop.0+0x153/0x230 unmap_vmas+0x1d6/0x430 exit_mmap+0x181/0xaa0 mmput+0xd5/0x390 do_exit+0x79d/0x2970 do_group_exit+0xd3/0x2a0 __x64_sys_exit_group+0x3e/0x50 x64_sys_call+0x18c5/0x18d0 do_syscall_64+0xbf/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5380b79b19 Code: Unable to access opcode bytes at 0x7f5380b79aef. RSP: 002b:00007ffdcf5978b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f5380b79b19 RDX: 00007f5380b2c72b RSI: ffffffffffffffbc RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000001b2d923100 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffdcf5979a0 irq event stamp: 2958 hardirqs last enabled at (2966): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (2975): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (2234): [] handle_softirqs+0x50c/0x770 softirqs last disabled at (2251): [] __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 ffff88800df7e600 pointer offset 0 size 64 kmemleak: Found object by alias at 0x607f1a62bd7c CPU: 1 UID: 0 PID: 3996 Comm: syz-executor.7 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 Call Trace: dump_stack_lvl+0xca/0x120 __lookup_object+0x94/0xb0 delete_object_full+0x27/0x70 free_percpu+0x30/0x1160 futex_hash_free+0x38/0xc0 mmput+0x2d3/0x390 do_exit+0x79d/0x2970 do_group_exit+0xd3/0x2a0 __x64_sys_exit_group+0x3e/0x50 x64_sys_call+0x18c5/0x18d0 do_syscall_64+0xbf/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f63462f3b19 Code: Unable to access opcode bytes at 0x7f63462f3aef. RSP: 002b:00007fff07615c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f63462f3b19 RDX: 00007f63462a672b RSI: ffffffffffffffbc RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000001b2d128294 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007fff07615d60 kmemleak: Object (percpu) 0x607f1a62bd78 (size 8): kmemleak: comm "syz-executor.3", pid 4013, jiffies 4294790266 kmemleak: min_count = 1 kmemleak: count = 0 kmemleak: flags = 0x21 kmemleak: checksum = 0 kmemleak: backtrace: pcpu_alloc_noprof+0x87a/0x1170 percpu_ref_init+0x37/0x400 ioctx_alloc+0x27f/0x1e10 __x64_sys_io_setup+0xc8/0x1f0 do_syscall_64+0xbf/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 0f 1f 40 00 nopl 0x0(%rax) 8: 90 nop 9: 90 nop a: 90 nop b: 90 nop c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 66 0f 1f 00 nopw (%rax) 1c: 48 85 f6 test %rsi,%rsi 1f: 0f 84 5b 01 00 00 je 0x180 25: 48 89 f8 mov %rdi,%rax 28: 41 54 push %r12 * 2a: 44 0f b6 c2 movzbl %dl,%r8d <-- trapping instruction 2e: 48 01 f0 add %rsi,%rax 31: 55 push %rbp 32: 53 push %rbx 33: 72 14 jb 0x49 35: eb 26 jmp 0x5d 37: cc int3 38: cc int3 39: cc int3 3a: 48 rex.W 3b: b8 ff ff ff ff mov $0xffffffff,%eax