------------[ cut here ]------------
percpu ref (io_ring_ctx_ref_free) <= 0 (-18) after switching to atomic
WARNING: lib/percpu-refcount.c:197 at percpu_ref_switch_to_atomic_rcu+0x3cc/0x480, CPU#1: syz-executor.5/3910
Modules linked in:
CPU: 1 UID: 0 PID: 3910 Comm: syz-executor.5 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:ffff88806cf08e20 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8139de70
RDX: ffff888041350000 RSI: ffffffff8139de7e RDI: 0000000000000001
RBP: 7fffffffffffffed R08: 0000000000000001 R09: ffffed100d9e4801
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800cacf780
R13: ffff88800cacf7a0 R14: 0000000000000002 R15: 0000000000000003
FS: 0000000000000000(0000) GS:ffff8880e56d8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555585fe6708 CR3: 0000000039ae5000 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:_raw_spin_unlock_irqrestore+0x34/0x50
Code: c7 18 53 48 89 f3 48 8b 74 24 10 e8 16 a5 93 fc 48 89 ef e8 4e f0 93 fc 80 e7 02 74 06 e8 e4 07 be fc fb 65 ff 0d 6c 4c c6 02 <74> 07 5b 5d e9 33 23 00 00 0f 1f 44 00 00 5b 5d e9 27 23 00 00 0f
RSP: 0018:ffff8880437afcb0 EFLAGS: 00000286
RAX: 0000000000000a5b RBX: 0000000000000202 RCX: ffffffff817c3ab6
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff84be33bc
RBP: ffffffff85ccffa0 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff8643b457 R11: 0000000000000001 R12: 0000607f1a64da70
R13: 0000000000000202 R14: ffff888009802240 R15: ffff888009802261
free_percpu+0x74f/0x1160
percpu_counter_destroy_many+0x188/0x2b0
__mmdrop+0x2cf/0x4a0
mmput+0x305/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:0x7f0c7a8b0b19
Code: Unable to access opcode bytes at 0x7f0c7a8b0aef.
RSP: 002b:00007ffc8d9f7038 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f0c7a8b0b19
RDX: 00007f0c7a86372b RSI: ffffffffffffffbc RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000001b2cf22f1c R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffc8d9f7120
irq event stamp: 3330
hardirqs last enabled at (3338): [] __up_console_sem+0x78/0x80
hardirqs last disabled at (3347): [] __up_console_sem+0x5d/0x80
softirqs last enabled at (2464): [] handle_softirqs+0x50c/0x770
softirqs last disabled at (2653): [] __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 ffff88800cacf780 pointer offset 0 size 64
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000032: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000190-0x0000000000000197]
CPU: 0 UID: 0 PID: 3921 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
9pnet_fd: Insufficient options for proto=fd
RSP: 0000:ffff888042d4f4c0 EFLAGS: 00010212
RAX: 0000000000000032 RBX: ffffffffffffffa1 RCX: 0000000000000002
RDX: ffff888041cd3700 RSI: ffffffff8189a4e7 RDI: 0000000000000191
RBP: ffff888042d4f730 R08: ffff88806ce31340 R09: ffffe8ffffc15d68
R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000
R13: 000000000000002c R14: ffff88806ce31340 R15: dffffc0000000000
FS: 000055555a397400(0000) GS:ffff8880e55d8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5209dc4004 CR3: 000000003f620000 CR4: 0000000000350ef0
Call Trace:
perf_trace_run_bpf_submit+0xef/0x180
perf_trace_lock+0x337/0x5d0
lock_release+0x1ab/0x290
get_mem_cgroup_from_objcg+0x24d/0x430
__memcg_kmem_charge_page+0x11a/0x2e0
__alloc_frozen_pages_noprof+0x33b/0x1f20
alloc_pages_mpol+0xed/0x340
alloc_pages_noprof+0xa1/0x380
pte_alloc_one+0x1e/0x360
__pte_alloc+0x6c/0x360
__handle_mm_fault+0x2606/0x3260
handle_mm_fault+0x2c3/0x9b0
do_user_addr_fault+0x4fa/0xeb0
exc_page_fault+0xb0/0x180
asm_exc_page_fault+0x26/0x30
RIP: 0033:0x7f52098588fc
Code: 00 00 41 83 7c 06 08 00 0f 85 75 05 00 00 31 c0 b9 40 42 0f 00 ba 81 00 00 00 c7 06 01 00 00 00 bf ca 00 00 00 e8 04 42 05 00 <83> 05 01 b7 56 00 01 80 7c 24 0b 00 74 0b f6 44 24 0c 01 0f 84 c6
RSP: 002b:00007ffd55bb4cc0 EFLAGS: 00010207
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 00007f52098acb19
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f52099bff68
RBP: 00007f52099bff60 R08: 00007f5206e22700 R09: 0000000000000000
R10: 00007f5206e22700 R11: 0000000000000246 R12: 00007f52099c4060
R13: 00007ffd55bb4dc0 R14: 00007f52099bff60 R15: 000000000001a036
Modules linked in:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000032: 0000 [#2] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000190-0x0000000000000197]
CPU: 0 UID: 0 PID: 3921 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: 0000:ffff88806ce08a80 EFLAGS: 00010012
RAX: 0000000000000032 RBX: ffffffffffffffa1 RCX: 0000000000000002
RDX: ffff888041cd3700 RSI: ffffffff8189a4e7 RDI: 0000000000000191
RBP: ffff88806ce08cf0 R08: ffff88806ce31490 R09: ffffe8ffffc15d68
R10: 0000000000000000 R11: 746e756f63716573 R12: dffffc0000000000
R13: 000000000000002c R14: ffff88806ce31490 R15: dffffc0000000000
FS: 000055555a397400(0000) GS:ffff8880e55d8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5209dc4004 CR3: 000000003f620000 CR4: 0000000000350ef0
Call Trace:
perf_trace_run_bpf_submit+0xef/0x180
perf_trace_lock+0x337/0x5d0
lock_release+0x1ab/0x290
ktime_get_update_offsets_now+0xab/0x3c0
hrtimer_interrupt+0x114/0x830
__sysvec_apic_timer_interrupt+0xbb/0x330
sysvec_apic_timer_interrupt+0x6b/0x80
asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:oops_exit+0x0/0x50
Code: 00 3a 00 be ff ff ff ff 48 c7 c7 50 b4 43 86 e8 c6 0f f9 ff 5b e9 50 00 3a 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <66> 0f 1f 00 53 e8 36 00 3a 00 8b 1d c0 3d 4f 06 31 ff 89 de e8 57
RSP: 0000:ffff888042d4f350 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000293 RCX: ffffffff8139f06f
RDX: ffff888041cd3700 RSI: ffffffff812a3dca RDI: 0000000000000007
RBP: 000000000000000b R08: 0000000000000001 R09: fffffbfff0f12690
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888042d4f418
R13: 0000000000000000 R14: dffffc0000000032 R15: 0000000000000000
oops_end+0x65/0xe0
exc_general_protection+0x1a2/0x330
asm_exc_general_protection+0x26/0x30
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: 0000:ffff888042d4f4c0 EFLAGS: 00010212
RAX: 0000000000000032 RBX: ffffffffffffffa1 RCX: 0000000000000002
RDX: ffff888041cd3700 RSI: ffffffff8189a4e7 RDI: 0000000000000191
RBP: ffff888042d4f730 R08: ffff88806ce31340 R09: ffffe8ffffc15d68
R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000
R13: 000000000000002c R14: ffff88806ce31340 R15: dffffc0000000000
perf_trace_run_bpf_submit+0xef/0x180
perf_trace_lock+0x337/0x5d0
lock_release+0x1ab/0x290
get_mem_cgroup_from_objcg+0x24d/0x430
__memcg_kmem_charge_page+0x11a/0x2e0
__alloc_frozen_pages_noprof+0x33b/0x1f20
alloc_pages_mpol+0xed/0x340
alloc_pages_noprof+0xa1/0x380
pte_alloc_one+0x1e/0x360
__pte_alloc+0x6c/0x360
__handle_mm_fault+0x2606/0x3260
handle_mm_fault+0x2c3/0x9b0
do_user_addr_fault+0x4fa/0xeb0
exc_page_fault+0xb0/0x180
asm_exc_page_fault+0x26/0x30
RIP: 0033:0x7f52098588fc
Code: 00 00 41 83 7c 06 08 00 0f 85 75 05 00 00 31 c0 b9 40 42 0f 00 ba 81 00 00 00 c7 06 01 00 00 00 bf ca 00 00 00 e8 04 42 05 00 <83> 05 01 b7 56 00 01 80 7c 24 0b 00 74 0b f6 44 24 0c 01 0f 84 c6
RSP: 002b:00007ffd55bb4cc0 EFLAGS: 00010207
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 00007f52098acb19
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f52099bff68
RBP: 00007f52099bff60 R08: 00007f5206e22700 R09: 0000000000000000
R10: 00007f5206e22700 R11: 0000000000000246 R12: 00007f52099c4060
R13: 00007ffd55bb4dc0 R14: 00007f52099bff60 R15: 000000000001a036
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: 0000:ffff888042d4f4c0 EFLAGS: 00010212
RAX: 0000000000000032 RBX: ffffffffffffffa1 RCX: 0000000000000002
RDX: ffff888041cd3700 RSI: ffffffff8189a4e7 RDI: 0000000000000191
RBP: ffff888042d4f730 R08: ffff88806ce31340 R09: ffffe8ffffc15d68
R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000
R13: 000000000000002c R14: ffff88806ce31340 R15: dffffc0000000000
FS: 000055555a397400(0000) GS:ffff8880e55d8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5209dc4004 CR3: 000000003f620000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 18 53 48 sbb %dl,0x48(%rbx)
3: 89 f3 mov %esi,%ebx
5: 48 8b 74 24 10 mov 0x10(%rsp),%rsi
a: e8 16 a5 93 fc callq 0xfc93a525
f: 48 89 ef mov %rbp,%rdi
12: e8 4e f0 93 fc callq 0xfc93f065
17: 80 e7 02 and $0x2,%bh
1a: 74 06 je 0x22
1c: e8 e4 07 be fc callq 0xfcbe0805
21: fb sti
22: 65 ff 0d 6c 4c c6 02 decl %gs:0x2c64c6c(%rip) # 0x2c64c95
* 29: 74 07 je 0x32 <-- trapping instruction
2b: 5b pop %rbx
2c: 5d pop %rbp
2d: e9 33 23 00 00 jmpq 0x2365
32: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
37: 5b pop %rbx
38: 5d pop %rbp
39: e9 27 23 00 00 jmpq 0x2365
3e: 0f .byte 0xf