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: 84 Comm: syslogd 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 74 85 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:ffffc900009b7530 EFLAGS: 00010096 RAX: 1ffff110211c8fc6 RBX: ffff888108e47e28 RCX: ffff888113822880 RDX: ffff88810faee540 RSI: 0000000000000001 RDI: ffffc90000236000 RBP: ffffc900009b7570 R08: 0000000000000000 R09: fffffbfff0ee4eee R10: 00000000b720eca3 R11: 1ffffffff0ee4eed R12: 0000000000000001 R13: ffff888108e47e28 R14: dffffc0000000000 R15: ffffffff817144c0 FS: 00007f63562fcc80(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2a384e CR3: 000000010f14a000 CR4: 00000000003506b0 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:memcg_slab_free_hook+0x1c4/0x1d0 mm/slab.h:605 Code: 75 c0 e9 1f ff ff ff 49 89 f7 44 89 f6 41 0f b6 d4 48 c7 c7 70 0d 07 87 e8 d9 6d d6 00 4c 89 fe e9 1b ff ff ff 48 83 c4 28 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 66 90 55 48 89 e5 41 57 41 56 41 55 RSP: 0018:ffffc900009b7820 EFLAGS: 00000286 RAX: ffffea0004cc3300 RBX: ffff8881330cdc00 RCX: 0000000000000001 RDX: ffffc900009b7850 RSI: ffffea0004cc3300 RDI: ffff888100042f00 RBP: ffffc900009b7840 R08: dffffc0000000000 R09: ffffed1021df4aab R10: ffffed1021df4aab R11: 1ffff11021df4aaa R12: ffffea0004cc3300 R13: ffff8881330cdc88 R14: ffffffff83e323ef R15: ffff888100042f00 slab_free mm/slub.c:3707 [inline] __kmem_cache_free+0xa3/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] consume_skb+0xab/0x1f0 net/core/skbuff.c:1038 skb_free_datagram+0x15/0x20 net/core/datagram.c:322 __unix_dgram_recvmsg+0xa04/0xd70 net/unix/af_unix.c:2533 unix_dgram_recvmsg+0xc7/0xe0 net/unix/af_unix.c:2550 sock_recvmsg_nosec net/socket.c:1020 [inline] sock_recvmsg net/socket.c:1038 [inline] sock_read_iter+0x2d3/0x380 net/socket.c:1111 call_read_iter include/linux/fs.h:2276 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x41e/0x8c0 fs/read_write.c:470 ksys_read+0x140/0x240 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __x64_sys_read+0x7b/0x90 fs/read_write.c:621 x64_sys_call+0x2f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:1 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:0x7f635644c407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffec33d94e0 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f63562fcc80 RCX: 00007f635644c407 RDX: 00000000000000ff RSI: 00005645880a5300 RDI: 0000000000000000 RBP: 00005645880a52c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00005645880a5345 R13: 0000000000000000 R14: 00005645880a5300 R15: 000056457fad5d98 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 85 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:ffffc900009b7530 EFLAGS: 00010096 RAX: 1ffff110211c8fc6 RBX: ffff888108e47e28 RCX: ffff888113822880 RDX: ffff88810faee540 RSI: 0000000000000001 RDI: ffffc90000236000 RBP: ffffc900009b7570 R08: 0000000000000000 R09: fffffbfff0ee4eee R10: 00000000b720eca3 R11: 1ffffffff0ee4eed R12: 0000000000000001 R13: ffff888108e47e28 R14: dffffc0000000000 R15: ffffffff817144c0 FS: 00007f63562fcc80(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2a384e CR3: 000000010f14a000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 75 c0 jne 0xffffffc2 2: e9 1f ff ff ff jmp 0xffffff26 7: 49 89 f7 mov %rsi,%r15 a: 44 89 f6 mov %r14d,%esi d: 41 0f b6 d4 movzbl %r12b,%edx 11: 48 c7 c7 70 0d 07 87 mov $0xffffffff87070d70,%rdi 18: e8 d9 6d d6 00 call 0xd66df6 1d: 4c 89 fe mov %r15,%rsi 20: e9 1b ff ff ff jmp 0xffffff40 25: 48 83 c4 28 add $0x28,%rsp 29: 5b pop %rbx * 2a: 41 5c pop %r12 <-- trapping instruction 2c: 41 5d pop %r13 2e: 41 5e pop %r14 30: 41 5f pop %r15 32: 5d pop %rbp 33: c3 ret 34: 66 90 xchg %ax,%ax 36: 55 push %rbp 37: 48 89 e5 mov %rsp,%rbp 3a: 41 57 push %r15 3c: 41 56 push %r14 3e: 41 55 push %r13