syzbot


WARNING in uprobe_unregister

Status: upstream: reported syz repro on 2025/10/01 18:27
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+cbe3f27f022f79f14611@syzkaller.appspotmail.com
First crash: 128d, last: 123d
Bug presence (2)
Date Name Commit Repro Result
2025/10/06 linux-6.6.y (ToT) f34f16e5c632 syz [report] WARNING in uprobe_unregister
2025/10/06 upstream (ToT) fd94619c4336 syz Didn't crash
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/11/11 12:14 1h20m fix candidate upstream OK (0) job log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6070 at kernel/events/uprobes.c:1123 uprobe_unregister+0x63/0x70 kernel/events/uprobes.c:1123
Modules linked in:
CPU: 1 PID: 6070 Comm: syz.1.54 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:uprobe_unregister+0x63/0x70 kernel/events/uprobes.c:1123
Code: e8 72 42 c6 08 4c 89 f7 48 89 de e8 a7 01 00 00 4c 89 ff e8 6f 42 b5 ff 4c 89 f7 5b 41 5e 41 5f e9 72 03 00 00 e8 5d 69 d4 ff <0f> 0b 5b 41 5e 41 5f c3 0f 1f 44 00 00 55 41 57 41 56 41 55 41 54
RSP: 0018:ffffc90003307c88 EFLAGS: 00010293
RAX: ffffffff81b12193 RBX: ffff88805dcfada0 RCX: ffff888018fe0000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff
RBP: ffff88802c37cb90 R08: ffffffff8cdd1ea3 R09: 1ffffffff19ba3d4
R10: dffffc0000000000 R11: fffffbfff19ba3d5 R12: ffff888021a82508
R13: ffff88805dcfada0 R14: 0000000000000000 R15: ffff88802c37cb90
FS:  000055556f966500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000012c0 CR3: 0000000020507000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 bpf_uprobe_unregister kernel/trace/bpf_trace.c:3072 [inline]
 bpf_uprobe_multi_link_release+0x134/0x2f0 kernel/trace/bpf_trace.c:3082
 bpf_link_free+0x131/0x310 kernel/bpf/syscall.c:2918
 bpf_link_put_direct kernel/bpf/syscall.c:2958 [inline]
 bpf_link_release+0x6e/0x80 kernel/bpf/syscall.c:2965
 __fput+0x234/0x970 fs/file_table.c:384
 task_work_run+0x1ce/0x250 kernel/task_work.c:239
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xf6/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f564678eec9
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:00007ffdc51f3ea8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f56469e7da0 RCX: 00007f564678eec9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f56469e7da0 R08: 0000000000000000 R09: 00000009c51f419f
R10: 000000000003fd80 R11: 0000000000000246 R12: 000000000001a9d3
R13: 00007f56469e6090 R14: ffffffffffffffff R15: 00007ffdc51f3fc0
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/03 13:07 linux-6.6.y f34f16e5c632 49379ee0 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-6-kasan WARNING in uprobe_unregister
2025/10/01 18:27 linux-6.6.y 147338df3487 a1859138 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in uprobe_unregister
* Struck through repros no longer work on HEAD.