CFI failure at __traceiter_percpu_free_percpu+0x87/0xe0 include/trace/events/percpu.h:54 (target: tp_stub_func+0x0/0x10; expected type: 0xc88d2a22)
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 7181 Comm: syz.1.1818 Not tainted 6.1.138-syzkaller-00046-gdb710ea87c32 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__traceiter_percpu_free_percpu+0x87/0xe0 include/trace/events/percpu.h:54
Code: f8 48 c1 e8 03 80 3c 18 00 74 05 e8 a3 ff 0f 00 49 8b 7d 08 4c 89 fe 8b 55 d4 48 8b 4d c8 41 ba de d5 72 37 45 03 56 fc 74 02 <0f> 0b 41 ff d6 49 83 c4 18 4c 89 e0 48 c1 e8 03 80 3c 18 00 74 08
RSP: 0018:ffffc900001b0ab8 EFLAGS: 00010092
RAX: 1ffff110265ed506 RBX: dffffc0000000000 RCX: 0000607e08a09730
RDX: 0000000000009730 RSI: ffffe8ffffa00000 RDI: ffffc90000c39000
RBP: ffffc900001b0af0 R08: dffffc0000000000 R09: fffffbfff0ee425e
R10: 00000000dcb33cea R11: 1ffffffff0ee425d R12: ffff888132f6a828
R13: ffff888132f6a828 R14: ffffffff81710d60 R15: ffffe8ffffa00000
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c30217f CR3: 0000000006e0f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_percpu_free_percpu include/trace/events/percpu.h:54 [inline]
free_percpu+0xd09/0x1020 mm/percpu.c:2304
percpu_free_defer_callback+0x36/0x50 net/core/gro_cells.c:101
rcu_do_batch+0x515/0xb90 kernel/rcu/tree.c:2297
rcu_core+0x5a5/0xe70 kernel/rcu/tree.c:2557
rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2574
handle_softirqs+0x1d7/0x600 kernel/softirq.c:624
__do_softirq kernel/softirq.c:662 [inline]
invoke_softirq kernel/softirq.c:479 [inline]
__irq_exit_rcu+0x52/0xf0 kernel/softirq.c:711
irq_exit_rcu+0x9/0x10 kernel/softirq.c:723
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:release_pages+0x3c3/0xb20 mm/swap.c:-1
Code: ff 89 de e8 bf e9 d1 ff 45 84 f6 8b 5c 24 04 74 30 e8 d1 e6 d1 ff 4c 89 ff e8 f9 63 1d 00 eb 26 e8 c2 e6 d1 ff 4c 8b 74 24 18 <49> bd 00 00 00 00 00 fc ff df 4c 89 fb 44 8b 7c 24 04 e9 0b 06 00
RSP: 0018:ffffc9000e8df2a0 EFLAGS: 00000293
RAX: ffffffff819e0a4e RBX: ffffea0004e77dc0 RCX: ffff88810e7e3cc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000e8df3a8 R08: dffffc0000000000 R09: fffff940009cefbf
R10: fffff940009cefbf R11: 1ffffd40009cefbe R12: bfffffffffffffff
R13: dffffc0000000000 R14: 0000000000000000 R15: 00000000000001f8
free_pages_and_swap_cache+0x86/0xa0 mm/swap_state.c:315
tlb_batch_pages_flush mm/mmu_gather.c:59 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:254 [inline]
tlb_flush_mmu+0x101/0x1e0 mm/mmu_gather.c:261
zap_pte_range mm/memory.c:1547 [inline]
zap_pmd_range mm/memory.c:1596 [inline]
zap_pud_range mm/memory.c:1625 [inline]
zap_p4d_range mm/memory.c:1646 [inline]
unmap_page_range+0x20c6/0x2310 mm/memory.c:1667
unmap_single_vma mm/memory.c:1713 [inline]
unmap_vmas+0x31c/0x430 mm/memory.c:1753
exit_mmap+0x263/0xa40 mm/mmap.c:3346
__mmput+0x93/0x320 kernel/fork.c:1297
mmput+0x4b/0x150 kernel/fork.c:1320
exit_mm kernel/exit.c:568 [inline]
do_exit+0x979/0x2650 kernel/exit.c:864
do_group_exit+0x210/0x2d0 kernel/exit.c:1027
get_signal+0x13b5/0x1520 kernel/signal.c:2889
arch_do_signal_or_restart+0xb0/0x1030 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x7a/0xb0 kernel/entry/common.c:174
exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f77bdd8e969
Code: Unable to access opcode bytes at 0x7f77bdd8e93f.
RSP: 002b:00007f77beb1b0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f77bdfb6088 RCX: 00007f77bdd8e969
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f77bdfb6088
RBP: 00007f77bdfb6080 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f77bdfb608c
R13: 0000000000000000 R14: 00007ffd524201f0 R15: 00007ffd524202d8
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__traceiter_percpu_free_percpu+0x87/0xe0 include/trace/events/percpu.h:54
Code: f8 48 c1 e8 03 80 3c 18 00 74 05 e8 a3 ff 0f 00 49 8b 7d 08 4c 89 fe 8b 55 d4 48 8b 4d c8 41 ba de d5 72 37 45 03 56 fc 74 02 <0f> 0b 41 ff d6 49 83 c4 18 4c 89 e0 48 c1 e8 03 80 3c 18 00 74 08
RSP: 0018:ffffc900001b0ab8 EFLAGS: 00010092
RAX: 1ffff110265ed506 RBX: dffffc0000000000 RCX: 0000607e08a09730
RDX: 0000000000009730 RSI: ffffe8ffffa00000 RDI: ffffc90000c39000
RBP: ffffc900001b0af0 R08: dffffc0000000000 R09: fffffbfff0ee425e
R10: 00000000dcb33cea R11: 1ffffffff0ee425d R12: ffff888132f6a828
R13: ffff888132f6a828 R14: ffffffff81710d60 R15: ffffe8ffffa00000
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c30217f CR3: 0000000006e0f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: ff 89 de e8 bf e9 decl -0x16401722(%rcx)
6: d1 ff sar %edi
8: 45 84 f6 test %r14b,%r14b
b: 8b 5c 24 04 mov 0x4(%rsp),%ebx
f: 74 30 je 0x41
11: e8 d1 e6 d1 ff call 0xffd1e6e7
16: 4c 89 ff mov %r15,%rdi
19: e8 f9 63 1d 00 call 0x1d6417
1e: eb 26 jmp 0x46
20: e8 c2 e6 d1 ff call 0xffd1e6e7
25: 4c 8b 74 24 18 mov 0x18(%rsp),%r14
* 2a: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13 <-- trapping instruction
31: fc ff df
34: 4c 89 fb mov %r15,%rbx
37: 44 8b 7c 24 04 mov 0x4(%rsp),%r15d
3c: e9 .byte 0xe9
3d: 0b 06 or (%rsi),%eax