RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000004
RBP: 0000000000000001 R08: 00007ffc715b1487 R09: 0000000000000140
R10: 0000000000000001 R11: 0000000000000286 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
</TASK>
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: 294 Comm: syz-executor184 Not tainted 6.1.134-syzkaller-00012-g646380b087a5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:__traceiter_kfree+0x34/0x50 include/trace/events/kmem.h:94
Code: 8b 3d 80 5c 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:ffffc90000e37b00 EFLAGS: 00010213
RAX: ffffffff81710320 RBX: ffff88810cdfcb80 RCX: 0000000000000000
RDX: ffff88810cdfcb80 RSI: ffffffff8180d9f5 RDI: ffffc900000dd000
RBP: ffffc90000e37b18 R08: dffffc0000000000 R09: ffffc90000e379e0
R10: 000000001ebd94fb R11: 1ffff920001c6f3c R12: 1ffff110219bf973
R13: dffffc0000000000 R14: ffffffff8180d9f5 R15: ffff88810cdfc1a8
FS: 000055558f916380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f956bc440d0 CR3: 0000000123900000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
trace_kfree include/trace/events/kmem.h:94 [inline]
kfree+0xc9/0xf0 mm/slab_common.c:977
bpf_raw_tp_link_dealloc+0x15/0x20 kernel/bpf/syscall.c:3176
bpf_link_free+0x321/0x390 kernel/bpf/syscall.c:2740
bpf_link_put kernel/bpf/syscall.c:2762 [inline]
bpf_link_release+0x15f/0x170 kernel/bpf/syscall.c:2771
__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
ptrace_notify+0x221/0x250 kernel/signal.c:2377
ptrace_report_syscall include/linux/ptrace.h:424 [inline]
ptrace_report_syscall_exit include/linux/ptrace.h:486 [inline]
syscall_exit_work+0x84/0x140 kernel/entry/common.c:258
syscall_exit_to_user_mode_prepare+0x1c/0x20 kernel/entry/common.c:285
__syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
syscall_exit_to_user_mode+0xd/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:0x7f956bbd4919
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 1a 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc715b16e8 EFLAGS: 00000286 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffc715b1700 RCX: 00007f956bbd4919
RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000004
RBP: 0000000000000001 R08: 00007ffc715b1487 R09: 0000000000000140
R10: 0000000000000001 R11: 0000000000000286 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__traceiter_kfree+0x34/0x50 include/trace/events/kmem.h:94
Code: 8b 3d 80 5c 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:ffffc90000e37b00 EFLAGS: 00010213
RAX: ffffffff81710320 RBX: ffff88810cdfcb80 RCX: 0000000000000000
RDX: ffff88810cdfcb80 RSI: ffffffff8180d9f5 RDI: ffffc900000dd000
RBP: ffffc90000e37b18 R08: dffffc0000000000 R09: ffffc90000e379e0
R10: 000000001ebd94fb R11: 1ffff920001c6f3c R12: 1ffff110219bf973
R13: dffffc0000000000 R14: ffffffff8180d9f5 R15: ffff88810cdfc1a8
FS: 000055558f916380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f956bc440d0 CR3: 0000000123900000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400