syzbot


WARNING in tracepoint_add_func (2)

Status: upstream: reported on 2025/03/08 00:02
Subsystems: trace
[Documentation on labels]
Reported-by: syzbot+161412ccaeff20ce4dde@syzkaller.appspotmail.com
First crash: 8d15h, last: 8d15h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [trace?] WARNING in tracepoint_add_func (2) 1 (2) 2025/03/08 01:12
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in tracepoint_add_func bpf trace C done 20635 1334d 1717d 20/28 fixed on 2021/11/10 00:50
linux-4.19 WARNING in tracepoint_add_func C 237 749d 1687d 0/1 upstream: reported C repro on 2020/07/28 19:37
linux-4.14 WARNING in tracepoint_add_func 1 1683d 1683d 0/1 auto-closed as invalid on 2020/11/29 17:55
linux-4.14 WARNING in tracepoint_add_func (2) C 122 737d 1486d 0/1 upstream: reported C repro on 2021/02/14 19:49

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 12326 at kernel/tracepoint.c:294 tracepoint_add_func+0xbfc/0xeb0 kernel/tracepoint.c:294
Modules linked in:
CPU: 1 UID: 0 PID: 12326 Comm: syz.6.10325 Tainted: G     U             6.14.0-rc5-syzkaller #0
Tainted: [U]=USER
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:tracepoint_add_func+0xbfc/0xeb0 kernel/tracepoint.c:294
Code: 09 fe ff 90 0f 0b 90 0f b6 74 24 43 31 ff 41 bc ea ff ff ff e8 45 04 fe ff 80 7c 24 44 00 0f 84 74 fb ff ff e8 95 09 fe ff 90 <0f> 0b 90 e9 66 fb ff ff e8 87 09 fe ff 48 8b 44 24 10 48 8d 78 18
RSP: 0018:ffffc9000414fb48 EFLAGS: 00010283
RAX: 00000000000012a1 RBX: ffffffff8e240ae0 RCX: ffffc90014b78000
RDX: 0000000000080000 RSI: ffffffff81bbd78b RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffffffffffffef
R13: 0000000000000000 R14: dffffc0000000000 R15: ffffffff81c264f0
FS:  00007f27217f66c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e80dff8 CR3: 00000000268f8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 tracepoint_probe_register_prio+0xc0/0x110 kernel/tracepoint.c:464
 register_trace_prio_sched_switch include/trace/events/sched.h:222 [inline]
 register_pid_events kernel/trace/trace_events.c:2354 [inline]
 event_pid_write.isra.0+0x439/0x7a0 kernel/trace/trace_events.c:2425
 vfs_write+0x24c/0x1150 fs/read_write.c:677
 ksys_write+0x12b/0x250 fs/read_write.c:731
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f272398d169
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:00007f27217f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f2723ba5fa0 RCX: 00007f272398d169
RDX: 0000000000100082 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007f2723a0e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f2723ba5fa0 R15: 00007ffe80f479d8
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/03 14:07 upstream 7eb172143d55 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in tracepoint_add_func
2025/03/03 14:07 upstream 7eb172143d55 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in tracepoint_add_func
* Struck through repros no longer work on HEAD.