RBP: 00007ff1ca970090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ff1c9de6218 R14: 00007ff1c9de6180 R15: 00007ffcf5539568 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: 2091 Comm: syz.1.519 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:__traceiter_sched_switch+0x9b/0xd0 include/trace/events/sched.h:222 Code: 80 3c 30 00 74 05 e8 04 74 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:ffffc90000e8f970 EFLAGS: 00010096 RAX: 1ffff1102421d926 RBX: ffff8881210ec928 RCX: ffff88811325e540 RDX: ffff88810f883cc0 RSI: 0000000000000001 RDI: ffffc90000e53000 RBP: ffffc90000e8f9b0 R08: 0000000000000000 R09: fffffbfff0ee4dce R10: 00000000b720eca3 R11: 1ffffffff0ee4dcd R12: 0000000000000001 R13: ffff8881210ec928 R14: dffffc0000000000 R15: ffffffff81713a50 FS: 00007ff1ca9706c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000012d226000 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_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:arch_atomic64_dec_and_test arch/x86/include/asm/atomic64_64.h:118 [inline] RIP: 0010:atomic64_dec_and_test include/linux/atomic/atomic-instrumented.h:1195 [inline] RIP: 0010:__bpf_prog_put kernel/bpf/syscall.c:2082 [inline] RIP: 0010:bpf_prog_put kernel/bpf/syscall.c:2094 [inline] RIP: 0010:bpf_link_free+0x17c/0x390 kernel/bpf/syscall.c:2740 Code: f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 fa c5 34 00 4d 8b 36 4c 89 f7 be 08 00 00 00 e8 8a c8 34 00 31 f6 f0 49 ff 0e <41> 0f 94 c7 40 0f 94 c6 bf 02 00 00 00 e8 c2 5a f0 ff 45 84 ff 74 RSP: 0018:ffffc90000e8fc60 EFLAGS: 00000202 RAX: 1ffff920001ca601 RBX: ffff8881210ec380 RCX: ffffffff817fc606 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff888115e7a000 RBP: ffffc90000e8fd08 R08: dffffc0000000000 R09: ffffed1022bcf401 R10: ffffed1022bcf401 R11: 1ffff11022bcf400 R12: 1ffff1102421d873 R13: dffffc0000000000 R14: ffff888115e7a000 R15: ffffffff858c5d00 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:0x7ff1c9b8eec9 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:00007ff1ca970038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007ff1c9de6180 RCX: 00007ff1c9b8eec9 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000004 RBP: 00007ff1ca970090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ff1c9de6218 R14: 00007ff1c9de6180 R15: 00007ffcf5539568 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 04 74 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:ffffc90000e8f970 EFLAGS: 00010096 RAX: 1ffff1102421d926 RBX: ffff8881210ec928 RCX: ffff88811325e540 RDX: ffff88810f883cc0 RSI: 0000000000000001 RDI: ffffc90000e53000 RBP: ffffc90000e8f9b0 R08: 0000000000000000 R09: fffffbfff0ee4dce R10: 00000000b720eca3 R11: 1ffffffff0ee4dcd R12: 0000000000000001 R13: ffff8881210ec928 R14: dffffc0000000000 R15: ffffffff81713a50 FS: 00007ff1ca9706c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000012d226000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: f0 48 c1 e8 03 lock shr $0x3,%rax 5: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) a: 74 08 je 0x14 c: 4c 89 f7 mov %r14,%rdi f: e8 fa c5 34 00 call 0x34c60e 14: 4d 8b 36 mov (%r14),%r14 17: 4c 89 f7 mov %r14,%rdi 1a: be 08 00 00 00 mov $0x8,%esi 1f: e8 8a c8 34 00 call 0x34c8ae 24: 31 f6 xor %esi,%esi 26: f0 49 ff 0e lock decq (%r14) * 2a: 41 0f 94 c7 sete %r15b <-- trapping instruction 2e: 40 0f 94 c6 sete %sil 32: bf 02 00 00 00 mov $0x2,%edi 37: e8 c2 5a f0 ff call 0xfff05afe 3c: 45 84 ff test %r15b,%r15b 3f: 74 .byte 0x74