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: 1 PID: 1287 Comm: syz.1.254 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__traceiter_sched_switch+0x9b/0xd0 include/trace/events/sched.h:222 Code: 80 3c 30 00 74 05 e8 84 75 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:ffffc900026af330 EFLAGS: 00010096 RAX: 1ffff11023294786 RBX: ffff8881194a3c28 RCX: ffff88811d9c6540 RDX: ffff88811d7bbcc0 RSI: 0000000000000001 RDI: ffffc90006ef0000 RBP: ffffc900026af370 R08: 0000000000000000 R09: fffffbfff0ee4dde R10: 00000000b720eca3 R11: 1ffffffff0ee4ddd R12: 0000000000000001 R13: ffff8881194a3c28 R14: dffffc0000000000 R15: ffffffff81713a70 FS: 00007f27dab896c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fab469722e0 CR3: 000000013d958000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x1263/0x14e0 kernel/sched/core.c:6747 preempt_schedule_irq+0x9b/0x110 kernel/sched/core.c:7062 raw_irqentry_exit_cond_resched+0x29/0x30 kernel/entry/common.c:396 irqentry_exit+0x37/0x40 kernel/entry/common.c:439 sysvec_apic_timer_interrupt+0x64/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:kernel_text_address+0x3b/0xd0 kernel/extable.c:133 Code: 93 c0 48 81 ff a8 45 20 85 0f 92 c1 41 be 01 00 00 00 84 c8 75 0c 48 89 fb e8 a1 95 b7 ff 85 c0 74 0a 44 89 f0 5b 41 5e 41 5f <5d> c3 48 c7 c0 00 43 72 87 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff RSP: 0018:ffffc900026af618 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffffff8160e2b8 RCX: 1ffff920004d5e01 RDX: ffffc900026af6f8 RSI: 1ffff920004d5ece RDI: ffffffff8160e2b8 RBP: ffffc900026af618 R08: dffffc0000000001 R09: ffffc900026af668 R10: fffff520004d5ed9 R11: 1ffff920004d5ecd R12: ffff88811d7bbcc0 R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff920004d5ed6 __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:1750 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1776 slab_free mm/slub.c:3712 [inline] __kmem_cache_free+0xb7/0x1b0 mm/slub.c:3728 kfree+0x6f/0xf0 mm/slab_common.c:990 skb_free_head net/core/skbuff.c:765 [inline] skb_release_data+0x63f/0x890 net/core/skbuff.c:794 skb_release_all net/core/skbuff.c:859 [inline] __kfree_skb net/core/skbuff.c:873 [inline] kfree_skb_reason+0xd4/0x230 net/core/skbuff.c:896 kfree_skb include/linux/skbuff.h:1239 [inline] unix_release_sock+0xb35/0xee0 net/unix/af_unix.c:648 unix_release+0x9d/0xd0 net/unix/af_unix.c:1034 __sock_release net/socket.c:652 [inline] sock_close+0xf1/0x290 net/socket.c:1390 __fput+0x1fc/0x8f0 fs/file_table.c:320 ____fput+0x15/0x20 fs/file_table.c:348 task_work_run+0x1db/0x240 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x9b/0xb0 kernel/entry/common.c:177 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:0x7f27d9d8efc9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f27dab89038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f27d9fe6090 RCX: 00007f27d9d8efc9 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f27dab89090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f27d9fe6128 R14: 00007f27d9fe6090 R15: 00007ffc8a8d5648 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 84 75 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:ffffc900026af330 EFLAGS: 00010096 RAX: 1ffff11023294786 RBX: ffff8881194a3c28 RCX: ffff88811d9c6540 RDX: ffff88811d7bbcc0 RSI: 0000000000000001 RDI: ffffc90006ef0000 RBP: ffffc900026af370 R08: 0000000000000000 R09: fffffbfff0ee4dde R10: 00000000b720eca3 R11: 1ffffffff0ee4ddd R12: 0000000000000001 R13: ffff8881194a3c28 R14: dffffc0000000000 R15: ffffffff81713a70 FS: 00007f27dab896c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fab469722e0 CR3: 000000013d958000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 93 xchg %eax,%ebx 1: c0 48 81 ff rorb $0xff,-0x7f(%rax) 5: a8 45 test $0x45,%al 7: 20 85 0f 92 c1 41 and %al,0x41c1920f(%rbp) d: be 01 00 00 00 mov $0x1,%esi 12: 84 c8 test %cl,%al 14: 75 0c jne 0x22 16: 48 89 fb mov %rdi,%rbx 19: e8 a1 95 b7 ff call 0xffb795bf 1e: 85 c0 test %eax,%eax 20: 74 0a je 0x2c 22: 44 89 f0 mov %r14d,%eax 25: 5b pop %rbx 26: 41 5e pop %r14 28: 41 5f pop %r15 * 2a: 5d pop %rbp <-- trapping instruction 2b: c3 ret 2c: 48 c7 c0 00 43 72 87 mov $0xffffffff87724300,%rax 33: 48 c1 e8 03 shr $0x3,%rax 37: 48 rex.W 38: b9 00 00 00 00 mov $0x0,%ecx 3d: 00 fc add %bh,%ah 3f: ff .byte 0xff