CFI failure at __traceiter_tlb_flush+0x80/0xd0 include/trace/events/tlb.h:38 (target: tp_stub_func+0x0/0x10; expected type: 0x205553a5) invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5687 Comm: syz.0.1429 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_tlb_flush+0x80/0xd0 include/trace/events/tlb.h:38 Code: 89 f8 48 c1 e8 03 42 80 3c 28 00 74 05 e8 e8 5d 07 00 49 8b 7c 24 08 44 89 f6 48 8b 55 d0 41 ba 5b ac aa df 44 03 53 fc 74 02 <0f> 0b ff d3 49 83 c7 18 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08 RSP: 0018:ffffc9000f65f928 EFLAGS: 00010093 RAX: 1ffff1102095ca56 RBX: ffffffff81710d60 RCX: ffff88813e0d0000 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: ffffc9000fcdd000 RBP: ffffc9000f65f958 R08: dffffc0000000000 R09: ffffed10265f2cab R10: 0000000084eb1367 R11: 1ffff110265f2caa R12: ffff888104ae52a8 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888104ae52a8 FS: 00007facad7fe6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2db08ff8 CR3: 0000000112b50000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_tlb_flush include/trace/events/tlb.h:38 [inline] switch_mm_irqs_off+0x61f/0x980 arch/x86/mm/tlb.c:630 context_switch kernel/sched/core.c:5405 [inline] __schedule+0x9eb/0x14e0 kernel/sched/core.c:6750 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_reschedule_ipi+0x78/0x80 arch/x86/kernel/smp.c:244 asm_sysvec_reschedule_ipi+0x1b/0x20 arch/x86/include/asm/idtentry.h:696 RIP: 0010:bpf_link_free+0x13f/0x390 kernel/bpf/syscall.c:2740 Code: 80 3c 28 00 74 08 4c 89 ff e8 4d b2 34 00 48 89 df 4d 8b 1f 41 ba 89 c2 80 a9 45 03 53 fc 74 02 0f 0b 41 ff d3 43 80 3c 2c 00 <74> 08 4c 89 f7 e8 27 b2 34 00 4d 8b 36 49 83 c6 38 4c 89 f0 48 c1 RSP: 0018:ffffc9000f65fc60 EFLAGS: 00000246 RAX: ffffffff817bd78a RBX: ffff888104ae5b00 RCX: ffff88813e0d0000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000f65fd08 R08: dffffc0000000000 R09: fffff52001ecbf61 R10: fffff52001ecbf61 R11: 1ffff92001ecbf60 R12: 1ffff1102095cb63 R13: dffffc0000000000 R14: ffff888104ae5b18 R15: ffffffff858c52c0 bpf_link_put kernel/bpf/syscall.c:2765 [inline] bpf_link_release+0x15f/0x170 kernel/bpf/syscall.c:2774 __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:0x7facac98e929 Code: Unable to access opcode bytes at 0x7facac98e8ff. RSP: 002b:00007facad7fe038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007facacbb5fa0 RCX: 00007facac98e929 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007facad7fe090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007facacbb5fa0 R15: 00007ffc4c3b4f68 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__traceiter_tlb_flush+0x80/0xd0 include/trace/events/tlb.h:38 Code: 89 f8 48 c1 e8 03 42 80 3c 28 00 74 05 e8 e8 5d 07 00 49 8b 7c 24 08 44 89 f6 48 8b 55 d0 41 ba 5b ac aa df 44 03 53 fc 74 02 <0f> 0b ff d3 49 83 c7 18 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08 RSP: 0018:ffffc9000f65f928 EFLAGS: 00010093 RAX: 1ffff1102095ca56 RBX: ffffffff81710d60 RCX: ffff88813e0d0000 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: ffffc9000fcdd000 RBP: ffffc9000f65f958 R08: dffffc0000000000 R09: ffffed10265f2cab R10: 0000000084eb1367 R11: 1ffff110265f2caa R12: ffff888104ae52a8 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888104ae52a8 FS: 00007facad7fe6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2db08ff8 CR3: 0000000112b50000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) 4: 74 08 je 0xe 6: 4c 89 ff mov %r15,%rdi 9: e8 4d b2 34 00 call 0x34b25b e: 48 89 df mov %rbx,%rdi 11: 4d 8b 1f mov (%r15),%r11 14: 41 ba 89 c2 80 a9 mov $0xa980c289,%r10d 1a: 45 03 53 fc add -0x4(%r11),%r10d 1e: 74 02 je 0x22 20: 0f 0b ud2 22: 41 ff d3 call *%r11 25: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1) * 2a: 74 08 je 0x34 <-- trapping instruction 2c: 4c 89 f7 mov %r14,%rdi 2f: e8 27 b2 34 00 call 0x34b25b 34: 4d 8b 36 mov (%r14),%r14 37: 49 83 c6 38 add $0x38,%r14 3b: 4c 89 f0 mov %r14,%rax 3e: 48 rex.W 3f: c1 .byte 0xc1