syzbot
WARNING in bpf_tracing_link_release
Status:
upstream: reported C repro on 2026/10/24 18:16
Reported-by: syzbot+23b4e1e6ddcbb5987758@syzkaller.appspotmail.com
First crash: 4d00h, last: 2d22h
Sample crash report:
RAX: 0000000000000000 RBX: 00007f8e10a69fa0 RCX: 00007f8e107e3559
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007ffc30844e00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007f8e10a69fac R14: 00007f8e10a69fa0 R15: 00007f8e10a69fa0
</TASK>
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4547 at kernel/bpf/syscall.c:2662 bpf_tracing_link_release+0xd8/0xf0 kernel/bpf/syscall.c:2661
Modules linked in:
CPU: 0 PID: 4547 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:bpf_tracing_link_release+0xd8/0xf0 kernel/bpf/syscall.c:2661
Code: 9a f1 ff 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d e9 ad c8 fe ff e8 c8 9a f1 ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 b8 9a f1 ff <0f> 0b 43 80 7c 25 00 00 75 97 eb 9d 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc900031dfd90 EFLAGS: 00010293
RAX: ffffffff818788a8 RBX: ffff88807c88b800 RCX: ffff888075820000
RDX: 0000000000000000 RSI: 00000000fffffff4 RDI: 0000000000000000
RBP: 00000000fffffff4 R08: ffffc900031dfce7 R09: 1ffff9200063bf9c
R10: dffffc0000000000 R11: fffff5200063bf9d R12: dffffc0000000000
R13: 1ffff1100f91170e R14: ffff88807c88b870 R15: ffffc900010c6000
FS: 000055557a4d0500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9a1c490ff8 CR3: 0000000024617000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
bpf_link_free kernel/bpf/syscall.c:2472 [inline]
bpf_link_put+0x22a/0x2c0 kernel/bpf/syscall.c:2498
bpf_link_release+0x37/0x40 kernel/bpf/syscall.c:2506
__fput+0x212/0x8c0 fs/file_table.c:311
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:184
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:217
__syscall_exit_to_user_mode_work kernel/entry/common.c:299 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:310
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f8e107e3559
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc30844d98 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007f8e10a69fa0 RCX: 00007f8e107e3559
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007ffc30844e00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007f8e10a69fac R14: 00007f8e10a69fa0 R15: 00007f8e10a69fa0
</TASK>
* Struck through repros no longer work on HEAD.