CFI failure at __traceiter_kfree+0x34/0x50 include/trace/events/kmem.h:94 (target: tp_stub_func+0x0/0x10; expected type: 0x8682d211) invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 25766 Comm: syz-executor Not tainted 6.1.138-syzkaller-00009-g6246d345f550 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__traceiter_kfree+0x34/0x50 include/trace/events/kmem.h:94 Code: 8b 3d 88 43 ca 05 4d 85 ff 74 2e 48 89 d3 49 89 f6 49 8b 07 49 8b 7f 08 4c 89 f6 48 89 da 41 ba ef 2d 7d 79 44 03 50 fc 74 02 <0f> 0b ff d0 49 83 7f 18 00 4d 8d 7f 18 75 d8 31 c0 5b 41 5e 41 5f RSP: 0018:ffffc90001177ad8 EFLAGS: 00010213 RAX: ffffffff81710d60 RBX: ffff88811f081400 RCX: ffff88812ac59440 RDX: ffff88811f081400 RSI: ffffffff81a30719 RDI: ffffc90000a7d000 RBP: ffffc90001177af0 R08: dffffc0000000000 R09: fffff520001d3289 R10: 000000001ebd94fb R11: 1ffff920001d3288 R12: ffff888111060300 R13: ffff88812ed71730 R14: ffffffff81a30719 R15: ffff888132cd69a8 FS: 0000555582b6c500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc2e3c5fa8 CR3: 000000012a9c6000 CR4: 00000000003506a0 DR0: 0000040000000000 DR1: 000000000000064f DR2: 0000000000000006 DR3: 0000000000000006 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_kfree include/trace/events/kmem.h:94 [inline] kfree+0xc9/0xf0 mm/slab_common.c:977 simple_xattrs_free include/linux/xattr.h:111 [inline] shmem_evict_inode+0x849/0xa10 mm/shmem.c:1201 evict+0x493/0x890 fs/inode.c:705 iput_final fs/inode.c:1834 [inline] iput+0x620/0x670 fs/inode.c:1860 do_unlinkat+0x375/0x6b0 fs/namei.c:4396 __do_sys_unlink fs/namei.c:4437 [inline] __se_sys_unlink fs/namei.c:4435 [inline] __x64_sys_unlink+0x49/0x50 fs/namei.c:4435 x64_sys_call+0x958/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:88 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:0x7fc532b8ded7 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 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:00007ffc2e3c6178 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc532b8ded7 RDX: 00007ffc2e3c61a0 RSI: 00007ffc2e3c6230 RDI: 00007ffc2e3c6230 RBP: 00007ffc2e3c6230 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffc2e3c72c0 R13: 00007fc532c10925 R14: 0000000000317ade R15: 00007ffc2e3c7300 Modules linked in: