------------[ cut here ]------------
percpu ref (free_ioctx_users) <= 0 (0) after switching to atomic
WARNING: lib/percpu-refcount.c:197 at percpu_ref_switch_to_atomic_rcu+0x3cc/0x480, CPU#0: syz-executor.1/4001
Modules linked in:
CPU: 0 UID: 0 PID: 4001 Comm: syz-executor.1 Tainted: G W 6.17.0-rc4-next-20250901 #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 c0 99 e2 84 e8 25 ac e9 fe 90 <0f> 0b 90 90 e9 2b ff ff ff e8 56 de 5f ff e9 9e fe ff ff e8 dc de
RSP: 0018:ffff88806ce08e20 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8139de70
RDX: ffff88801e80b700 RSI: ffffffff8139de7e RDI: 0000000000000001
RBP: 7fffffffffffffff R08: 0000000000000001 R09: ffffed100d9c4801
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800f694c00
R13: ffff88800f694c20 R14: 0000000000000002 R15: 0000000000000003
FS: 000055557d5d4400(0000) GS:ffff8880e55d8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055557d5d5c18 CR3: 0000000044e39000 CR4: 0000000000350ef0
Call Trace:
rcu_core+0x7c8/0x1800
handle_softirqs+0x1b1/0x770
__irq_exit_rcu+0xc4/0x100
irq_exit_rcu+0x9/0x20
common_interrupt+0xbd/0xd0
asm_common_interrupt+0x26/0x40
RIP: 0010:__orc_find+0x4a/0xf0
Code: 4c 39 e7 0f 87 a2 00 00 00 49 bf 00 00 00 00 00 fc ff df 49 89 fe 48 89 fd eb 0c 48 8d 6b 04 49 89 de 4c 39 e5 77 4d 4c 89 e0 <48> 29 e8 48 89 c2 48 c1 e8 3f 48 c1 fa 02 48 01 d0 48 d1 f8 48 8d
RSP: 0018:ffff888017c375b0 EFLAGS: 00000297
RAX: ffffffff86792c38 RBX: ffffffff86792c30 RCX: ffffffff84bb76de
RDX: 0000000000000000 RSI: ffffffff86c5e674 RDI: ffffffff86792c28
RBP: ffffffff86792c34 R08: ffffffff86c5e674 R09: 0000000000000000
R10: 000000000003bea3 R11: 00000000000c5f1c R12: ffffffff86792c38
R13: ffffffff86792c28 R14: ffffffff86792c30 R15: dffffc0000000000
unwind_next_frame+0x2f9/0x2540
arch_stack_walk+0x86/0xf0
stack_trace_save+0x8e/0xc0
kasan_save_stack+0x24/0x50
kasan_save_track+0x14/0x30
__kasan_slab_alloc+0x59/0x70
kmem_cache_alloc_noprof+0x205/0x690
__alloc_object+0x2b/0x2c0
__create_object+0x1d/0x80
kmem_cache_alloc_node_noprof+0x3ef/0x690
copy_process+0x461/0x73c0
kernel_clone+0xea/0x7f0
__do_sys_clone+0xce/0x120
do_syscall_64+0xbf/0x360
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f977b427f41
Code: 48 85 ff 74 3d 48 85 f6 74 38 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 7c 13 74 01 c3 31 ed 58 5f ff d0 48 89 c7 b8 3c 00 00 00
RSP: 002b:00007ffe631dbc28 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f977899c700 RCX: 00007f977b427f41
RDX: 00007f977899c9d0 RSI: 00007f977899c2f0 RDI: 00000000003d0f00
RBP: 00007ffe631dbe60 R08: 00007f977899c700 R09: 00007f977899c700
R10: 00007f977899c9d0 R11: 0000000000000206 R12: 00007ffe631dbcde
R13: 00007ffe631dbcdf R14: 00007f977899c300 R15: 0000000000022000
irq event stamp: 2262
hardirqs last enabled at (2270): [] __up_console_sem+0x78/0x80
hardirqs last disabled at (2279): [] __up_console_sem+0x5d/0x80
softirqs last enabled at (1090): [] handle_softirqs+0x50c/0x770
softirqs last disabled at (1205): [] __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 ffff88800f694c00 pointer offset 0 size 64
audit: type=1400 audit(1756782552.506:10): avc: denied { write } for pid=4020 comm="syz-executor.2" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=perf_event permissive=1
Oops: general protection fault, probably for non-canonical address 0xdffffc0020000032: 0000 [#1] SMP KASAN NOPTI
KASAN: probably user-memory-access in range [0x0000000100000190-0x0000000100000197]
CPU: 0 UID: 0 PID: 4011 Comm: syz-executor.6 Tainted: G W 6.17.0-rc4-next-20250901 #1 PREEMPT(voluntary)
Tainted: [W]=WARN
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
RIP: 0010:perf_tp_event+0x175/0xe70
Code: ff df 48 89 85 a8 fd ff ff 48 c1 e8 03 4c 01 e0 48 89 85 c8 fd ff ff e8 c9 51 ea ff 48 8d bb f0 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e c5 0b 00 00 44 8b ab f0 01
RSP: 0018:ffff888015c47780 EFLAGS: 00010012
RAX: 0000000020000032 RBX: 00000000ffffffa0 RCX: ffffc90009065000
RDX: 0000000000040000 RSI: ffffffff8189a4e7 RDI: 0000000100000190
RBP: ffff888015c479f0 R08: ffff88806ce31340 R09: ffffe8ffffc16550
R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000
R13: 0000000000000014 R14: ffff88806ce31340 R15: dffffc0000000000
FS: 00007fdb8fadb700(0000) GS:ffff8880e55d8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3623ef3718 CR3: 000000000af27000 CR4: 0000000000350ef0
Call Trace:
perf_trace_run_bpf_submit+0xef/0x180
perf_trace_preemptirq_template+0x259/0x430
trace_irq_disable.constprop.0+0xa6/0x100
_raw_spin_lock_irqsave+0x53/0x60
try_to_wake_up+0xa0/0x11d0
wake_up_q+0xa1/0x130
futex_wake+0x47e/0x540
do_futex+0x26d/0x370
__x64_sys_futex+0x1c9/0x4d0
do_syscall_64+0xbf/0x360
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdb92565b19
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdb8fadb218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 00007fdb92678f68 RCX: 00007fdb92565b19
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fdb92678f6c
RBP: 00007fdb92678f60 R08: 000000000000000e R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdb92678f6c
R13: 00007ffc85ee83ef R14: 00007fdb8fadb300 R15: 0000000000022000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:perf_tp_event+0x175/0xe70
Code: ff df 48 89 85 a8 fd ff ff 48 c1 e8 03 4c 01 e0 48 89 85 c8 fd ff ff e8 c9 51 ea ff 48 8d bb f0 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e c5 0b 00 00 44 8b ab f0 01
RSP: 0018:ffff888015c47780 EFLAGS: 00010012
RAX: 0000000020000032 RBX: 00000000ffffffa0 RCX: ffffc90009065000
RDX: 0000000000040000 RSI: ffffffff8189a4e7 RDI: 0000000100000190
RBP: ffff888015c479f0 R08: ffff88806ce31340 R09: ffffe8ffffc16550
R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000
R13: 0000000000000014 R14: ffff88806ce31340 R15: dffffc0000000000
FS: 00007fdb8fadb700(0000) GS:ffff8880e55d8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3623ef3718 CR3: 000000000af27000 CR4: 0000000000350ef0
note: syz-executor.6[4011] exited with irqs disabled
Oops: general protection fault, probably for non-canonical address 0xdffffc0020000032: 0000 [#2] SMP KASAN NOPTI
KASAN: probably user-memory-access in range [0x0000000100000190-0x0000000100000197]
CPU: 0 UID: 0 PID: 4011 Comm: syz-executor.6 Tainted: G D W 6.17.0-rc4-next-20250901 #1 PREEMPT(voluntary)
Tainted: [D]=DIE, [W]=WARN
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
RIP: 0010:perf_tp_event+0x175/0xe70
Code: ff df 48 89 85 a8 fd ff ff 48 c1 e8 03 4c 01 e0 48 89 85 c8 fd ff ff e8 c9 51 ea ff 48 8d bb f0 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e c5 0b 00 00 44 8b ab f0 01
RSP: 0018:ffff88806ce08ac0 EFLAGS: 00010012
RAX: 0000000020000032 RBX: 00000000ffffffa0 RCX: 0000000000000002
RDX: ffff88804825b700 RSI: ffffffff8189a4e7 RDI: 0000000100000190
RBP: ffff88806ce08d30 R08: ffff88806ce313e8 R09: ffffe8ffffc16550
R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000014 R14: ffff88806ce313e8 R15: dffffc0000000000
FS: 00007fdb8fadb700(0000) GS:ffff8880e55d8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3623ef3718 CR3: 000000000af27000 CR4: 0000000000350ef0
Call Trace:
perf_trace_run_bpf_submit+0xef/0x180
perf_trace_preemptirq_template+0x259/0x430
trace_irq_disable.constprop.0+0xa6/0x100
irqentry_enter+0x2a/0x60
sysvec_call_function_single+0x18/0xc0
asm_sysvec_call_function_single+0x1a/0x20
RIP: 0010:handle_softirqs+0x174/0x770
Code: c8 83 83 3c 0a 00 00 01 c7 44 24 20 0a 00 00 00 48 89 44 24 18 65 66 c7 05 0f d4 48 06 00 00 e8 72 8f 40 00 fb bb ff ff ff ff <48> c7 c5 c0 c0 a0 85 41 0f bc de 83 c3 01 0f 85 9b 00 00 00 e9 8d
RSP: 0018:ffff88806ce08f78 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 00000000ffffffff RCX: ffffffff817c3ab6
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff813bac2e
RBP: ffff888015c47e78 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8643b457 R11: ffff88800fd64c98 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000182 R15: 0000000000000000
__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:make_task_dead+0xa2/0x3b0
Code: 38 00 85 db 0f 84 21 01 00 00 e8 09 a6 38 00 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 57 a1 38 00 48 85 db 0f 84 17 01 00 00 e9 a5 38 00 31 ff 65 8b 1d 60 2f 49 06 81 e3 ff ff ff 7f 89 de
RSP: 0018:ffff888015c47f28 EFLAGS: 00000246
RAX: 0000000000000001 RBX: ffff88804825b700 RCX: ffffffff817c3ab6
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff813b5234
RBP: 000000000000000b R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8643b457 R11: 0000000000000001 R12: ffff88804825b700
R13: 0000000000000000 R14: dffffc0020000032 R15: 0000000000000000
rewind_stack_and_make_dead+0x16/0x20
RIP: 0033:0x7fdb92565b19
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdb8fadb218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 00007fdb92678f68 RCX: 00007fdb92565b19
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fdb92678f6c
RBP: 00007fdb92678f60 R08: 000000000000000e R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdb92678f6c
R13: 00007ffc85ee83ef R14: 00007fdb8fadb300 R15: 0000000000022000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:perf_tp_event+0x175/0xe70
Code: ff df 48 89 85 a8 fd ff ff 48 c1 e8 03 4c 01 e0 48 89 85 c8 fd ff ff e8 c9 51 ea ff 48 8d bb f0 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e c5 0b 00 00 44 8b ab f0 01
RSP: 0018:ffff888015c47780 EFLAGS: 00010012
RAX: 0000000020000032 RBX: 00000000ffffffa0 RCX: ffffc90009065000
RDX: 0000000000040000 RSI: ffffffff8189a4e7 RDI: 0000000100000190
RBP: ffff888015c479f0 R08: ffff88806ce31340 R09: ffffe8ffffc16550
R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000
R13: 0000000000000014 R14: ffff88806ce31340 R15: dffffc0000000000
FS: 00007fdb8fadb700(0000) GS:ffff8880e55d8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3623ef3718 CR3: 000000000af27000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
0: 4c 39 e7 cmp %r12,%rdi
3: 0f 87 a2 00 00 00 ja 0xab
9: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15
10: fc ff df
13: 49 89 fe mov %rdi,%r14
16: 48 89 fd mov %rdi,%rbp
19: eb 0c jmp 0x27
1b: 48 8d 6b 04 lea 0x4(%rbx),%rbp
1f: 49 89 de mov %rbx,%r14
22: 4c 39 e5 cmp %r12,%rbp
25: 77 4d ja 0x74
27: 4c 89 e0 mov %r12,%rax
* 2a: 48 29 e8 sub %rbp,%rax <-- trapping instruction
2d: 48 89 c2 mov %rax,%rdx
30: 48 c1 e8 3f shr $0x3f,%rax
34: 48 c1 fa 02 sar $0x2,%rdx
38: 48 01 d0 add %rdx,%rax
3b: 48 d1 f8 sar %rax
3e: 48 rex.W
3f: 8d .byte 0x8d