RBP: 00007f98937bd090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f9893bb6160 R15: 00007ffc6158aee8 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: 488 Comm: syz.1.49 Not tainted 6.1.141-syzkaller-00033-g36d69f6a49eb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__traceiter_sched_switch+0x9b/0xd0 include/trace/events/sched.h:222 Code: 80 3c 30 00 74 05 e8 b4 56 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:ffffc90000997830 EFLAGS: 00010096 RAX: 1ffff110230e5446 RBX: ffff88811872a228 RCX: ffff888124a80000 RDX: ffff888124a81440 RSI: 0000000000000001 RDI: ffffc90000286000 RBP: ffffc90000997870 R08: 0000000000000000 R09: fffffbfff0ee43ee R10: 00000000b720eca3 R11: 1ffffffff0ee43ed R12: 0000000000000001 R13: ffff88811872a228 R14: dffffc0000000000 R15: ffffffff81711370 FS: 00007f98937bd6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000103e64000 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:__memset+0x0/0x30 arch/x86/lib/memset_64.S:27 Code: 66 44 8b 1e 66 44 8b 54 16 fe 66 44 89 1f 66 44 89 54 17 fe eb 0c 48 83 fa 01 72 06 44 8a 1e 44 88 1f c3 48 89 d1 f3 a4 c3 00 2e 0f 1f 00 49 89 f9 48 89 d1 83 e2 07 48 c1 e9 03 40 0f b6 f6 RSP: 0018:ffffc90000997b18 EFLAGS: 00000207 RAX: ffffed10230e5520 RBX: ffff88811872a900 RCX: 00000000000000fb RDX: 000000000000000c RSI: 00000000000000fb RDI: ffffed10230e5520 RBP: ffffc90000997b20 R08: dffffc0000000000 R09: ffffed1023c05c01 R10: 0000000000000000 R11: ffffffff8180ebe0 R12: 0000000000000001 R13: 0000000000000000 R14: ffff888100042900 R15: ffffffff81b395d7 ____kasan_slab_free+0x11e/0x180 mm/kasan/common.c:234 __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:1745 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1771 slab_free mm/slub.c:3686 [inline] __kmem_cache_free+0xb7/0x1b0 mm/slub.c:3702 kfree+0x6f/0xf0 mm/slab_common.c:990 bpf_raw_tp_link_dealloc+0x15/0x20 kernel/bpf/syscall.c:3179 bpf_link_free+0x321/0x390 kernel/bpf/syscall.c:2743 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:0x7f989398e929 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:00007f98937bd038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f9893bb6160 RCX: 00007f989398e929 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000 RBP: 00007f98937bd090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f9893bb6160 R15: 00007ffc6158aee8 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 b4 56 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:ffffc90000997830 EFLAGS: 00010096 RAX: 1ffff110230e5446 RBX: ffff88811872a228 RCX: ffff888124a80000 RDX: ffff888124a81440 RSI: 0000000000000001 RDI: ffffc90000286000 RBP: ffffc90000997870 R08: 0000000000000000 R09: fffffbfff0ee43ee R10: 00000000b720eca3 R11: 1ffffffff0ee43ed R12: 0000000000000001 R13: ffff88811872a228 R14: dffffc0000000000 R15: ffffffff81711370 FS: 00007f98937bd6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000103e64000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400