R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f6f801e6218 R14: 00007f6f801e6180 R15: 00007ffe74517df8 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: 6267 Comm: syz.3.10604 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 a4 7a 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:ffffc90001267930 EFLAGS: 00010096 RAX: 1ffff11022e4b866 RBX: ffff88811725c328 RCX: ffff88810d5ed100 RDX: ffff8881234c1440 RSI: 0000000000000001 RDI: ffffc9000104b000 RBP: ffffc90001267970 R08: 0000000000000000 R09: fffffbfff0ee4e86 R10: 00000000b720eca3 R11: 1ffffffff0ee4e85 R12: 0000000000000001 R13: ffff88811725c328 R14: dffffc0000000000 R15: ffffffff81713c50 FS: 00007f6f80e1f6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000111836000 CR4: 00000000003506a0 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:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x7f/0x290 mm/kasan/generic.c:189 Code: 5c 37 ff 48 c1 eb 03 4e 8d 14 3b 4d 89 d6 4d 29 ce 49 83 fe 10 7f 26 4d 85 f6 0f 84 39 01 00 00 48 f7 d3 4c 01 db 41 80 39 00 <0f> 85 c2 01 00 00 49 ff c1 48 ff c3 75 ee e9 1c 01 00 00 44 89 cb RSP: 0018:ffffc90001267c28 EFLAGS: 00000246 RAX: 1ffff92000209601 RBX: ffffffffffffffff RCX: ffffffff817fc806 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff888125fdc000 RBP: ffffc90001267c40 R08: dffffc0000000000 R09: ffffed1024bfb800 R10: ffffed1024bfb801 R11: 1ffff11024bfb800 R12: 1ffff11022e4b9e3 R13: dffffc0000000000 R14: 0000000000000001 R15: dffffc0000000001 __kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37 instrument_atomic_read_write include/linux/instrumented.h:102 [inline] atomic64_dec_and_test include/linux/atomic/atomic-instrumented.h:1194 [inline] __bpf_prog_put kernel/bpf/syscall.c:2082 [inline] bpf_prog_put kernel/bpf/syscall.c:2094 [inline] bpf_link_free+0x176/0x390 kernel/bpf/syscall.c:2740 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+0x87/0xd0 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:0x7f6f7ff8efc9 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:00007f6f80e1f038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f6f801e6180 RCX: 00007f6f7ff8efc9 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000 RBP: 00007f6f80e1f090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f6f801e6218 R14: 00007f6f801e6180 R15: 00007ffe74517df8 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 a4 7a 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:ffffc90001267930 EFLAGS: 00010096 RAX: 1ffff11022e4b866 RBX: ffff88811725c328 RCX: ffff88810d5ed100 RDX: ffff8881234c1440 RSI: 0000000000000001 RDI: ffffc9000104b000 RBP: ffffc90001267970 R08: 0000000000000000 R09: fffffbfff0ee4e86 R10: 00000000b720eca3 R11: 1ffffffff0ee4e85 R12: 0000000000000001 R13: ffff88811725c328 R14: dffffc0000000000 R15: ffffffff81713c50 FS: 00007f6f80e1f6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000111836000 CR4: 00000000003506a0 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: ff 48 c1 decl -0x3f(%rax) 3: eb 03 jmp 0x8 5: 4e 8d 14 3b lea (%rbx,%r15,1),%r10 9: 4d 89 d6 mov %r10,%r14 c: 4d 29 ce sub %r9,%r14 f: 49 83 fe 10 cmp $0x10,%r14 13: 7f 26 jg 0x3b 15: 4d 85 f6 test %r14,%r14 18: 0f 84 39 01 00 00 je 0x157 1e: 48 f7 d3 not %rbx 21: 4c 01 db add %r11,%rbx 24: 41 80 39 00 cmpb $0x0,(%r9) * 28: 0f 85 c2 01 00 00 jne 0x1f0 <-- trapping instruction 2e: 49 ff c1 inc %r9 31: 48 ff c3 inc %rbx 34: 75 ee jne 0x24 36: e9 1c 01 00 00 jmp 0x157 3b: 44 89 cb mov %r9d,%ebx