CFI failure at __traceiter_sched_switch+0x9b/0xd0 include/trace/events/sched.h:222 (target: tp_stub_func+0x0/0x10; expected type: 0xee1f7a69) invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 12794 Comm: syz.3.16053 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:__traceiter_sched_switch+0x9b/0xd0 include/trace/events/sched.h:222 Code: 80 3c 30 00 74 05 e8 24 6d 69 00 49 8b 7d 08 44 89 e6 48 8b 55 c8 48 8b 4d c0 44 8b 45 d4 41 ba 97 85 e0 11 45 03 57 fc 74 02 <0f> 0b 41 ff d7 48 83 c3 18 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 RSP: 0018:ffffc90001ef7510 EFLAGS: 00010096 RAX: 1ffff11022c4b926 RBX: ffff88811625c928 RCX: ffff88814afc5100 RDX: ffff888128d8a880 RSI: 0000000000000001 RDI: ffffffff86f045c0 RBP: ffffc90001ef7550 R08: 0000000000000000 R09: fffffbfff0ee4bb6 R10: 00000000b720eca3 R11: 1ffffffff0ee4bb5 R12: 0000000000000001 R13: ffff88811625c928 R14: dffffc0000000000 R15: ffffffff817125b0 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f93a89c7dac CR3: 0000000006e0f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x1263/0x14e0 kernel/sched/core.c:6747 preempt_schedule_common+0x9b/0xf0 kernel/sched/core.c:6919 preempt_schedule+0xa7/0xb0 kernel/sched/core.c:6943 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x5f/0x70 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1537 [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+0x20da/0x2310 mm/memory.c:1667 unmap_single_vma mm/memory.c:1713 [inline] unmap_vmas+0x31c/0x430 mm/memory.c:1753 exit_mmap+0x268/0xb60 mm/mmap.c:3365 __mmput+0x93/0x320 kernel/fork.c:1300 mmput+0x4b/0x150 kernel/fork.c:1323 exit_mm kernel/exit.c:568 [inline] do_exit+0x981/0x2650 kernel/exit.c:873 do_group_exit+0x210/0x2d0 kernel/exit.c:1028 __do_sys_exit_group kernel/exit.c:1039 [inline] __se_sys_exit_group kernel/exit.c:1037 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1037 x64_sys_call+0x7b4/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f93a878ebe9 Code: Unable to access opcode bytes at 0x7f93a878ebbf. RSP: 002b:00007ffe733ad288 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f93a878ebe9 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffe733ad2ec R08: 0000000e733ad37f R09: 00000000000927c0 R10: 000000000000cb84 R11: 0000000000000246 R12: 000000000000009e R13: 00000000000927c0 R14: 00000000001f1948 R15: 00007ffe733ad340 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__traceiter_sched_switch+0x9b/0xd0 include/trace/events/sched.h:222 Code: 80 3c 30 00 74 05 e8 24 6d 69 00 49 8b 7d 08 44 89 e6 48 8b 55 c8 48 8b 4d c0 44 8b 45 d4 41 ba 97 85 e0 11 45 03 57 fc 74 02 <0f> 0b 41 ff d7 48 83 c3 18 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 RSP: 0018:ffffc90001ef7510 EFLAGS: 00010096 RAX: 1ffff11022c4b926 RBX: ffff88811625c928 RCX: ffff88814afc5100 RDX: ffff888128d8a880 RSI: 0000000000000001 RDI: ffffffff86f045c0 RBP: ffffc90001ef7550 R08: 0000000000000000 R09: fffffbfff0ee4bb6 R10: 00000000b720eca3 R11: 1ffffffff0ee4bb5 R12: 0000000000000001 R13: ffff88811625c928 R14: dffffc0000000000 R15: ffffffff817125b0 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f93a89c7dac CR3: 0000000006e0f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600