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: 5924 Comm: syz.5.1445 Not tainted 6.1.145-syzkaller-00002-gc750dc582629 #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 74 61 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:ffffc9000101f130 EFLAGS: 00010096 RAX: 1ffff11022dc9bb6 RBX: ffff888116e4dda8 RCX: ffff8881101b5100 RDX: ffff888117173cc0 RSI: 0000000000000001 RDI: ffffc90000fe3000 RBP: ffffc9000101f170 R08: 0000000000000000 R09: fffffbfff0ee4a7e R10: 00000000b720eca3 R11: 1ffffffff0ee4a7d R12: 0000000000000001 R13: ffff888116e4dda8 R14: dffffc0000000000 R15: ffffffff81711ed0 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb673745d58 CR3: 00000001311d0000 CR4: 00000000003526b0 Call Trace: trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x1263/0x14e0 kernel/sched/core.c:6747 preempt_schedule_notrace+0xca/0x110 kernel/sched/core.c:7012 preempt_schedule_notrace_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 rcu_is_watching+0x7b/0xb0 kernel/rcu/tree.c:722 kernel_text_address+0x80/0xd0 kernel/extable.c:113 __kernel_text_address+0xd/0x30 kernel/extable.c:79 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_frame.c:19 arch_stack_walk+0xfc/0x150 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x31/0x50 mm/kasan/generic.c:516 ____kasan_slab_free+0x132/0x180 mm/kasan/common.c:241 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:249 kasan_slab_free include/linux/kasan.h:178 [inline] slab_free_hook mm/slub.c:1745 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1771 slab_free mm/slub.c:3686 [inline] __kmem_cache_free+0xb7/0x1b0 mm/slub.c:3702 kfree+0x6f/0xf0 mm/slab_common.c:990 seccomp_filter_free kernel/seccomp.c:522 [inline] __put_seccomp_filter kernel/seccomp.c:541 [inline] __seccomp_filter_release+0x167/0x1e0 kernel/seccomp.c:550 seccomp_filter_release+0x8b/0xb0 kernel/seccomp.c:571 release_task+0x10b7/0x1200 kernel/exit.c:279 exit_notify kernel/exit.c:766 [inline] do_exit+0x18af/0x2650 kernel/exit.c:898 do_group_exit+0x210/0x2d0 kernel/exit.c:1028 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:0x7fdb4178ebe9 Code: Unable to access opcode bytes at 0x7fdb4178ebbf. RSP: 002b:00007fdb42657038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fdb419b6180 RCX: 00007fdb4178ebe9 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000 RBP: 00007fdb42657090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fdb419b6218 R14: 00007fdb419b6180 R15: 00007ffdbe2afcf8 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 74 61 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:ffffc9000101f130 EFLAGS: 00010096 RAX: 1ffff11022dc9bb6 RBX: ffff888116e4dda8 RCX: ffff8881101b5100 RDX: ffff888117173cc0 RSI: 0000000000000001 RDI: ffffc90000fe3000 RBP: ffffc9000101f170 R08: 0000000000000000 R09: fffffbfff0ee4a7e R10: 00000000b720eca3 R11: 1ffffffff0ee4a7d R12: 0000000000000001 R13: ffff888116e4dda8 R14: dffffc0000000000 R15: ffffffff81711ed0 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb673745d58 CR3: 00000001311d0000 CR4: 00000000003526b0