syzbot
UBSAN: array-index-out-of-bounds in trace_ctxwake_print
Status:
upstream: reported on 2026/10/29 16:24
Reported-by: syzbot+0b567ef2a7192ad83d09@syzkaller.appspotmail.com
First crash: 2d13h, last: 2d13h
Sample crash report:
================================================================================
UBSAN: array-index-out-of-bounds in ./include/linux/sched.h:1656:9
index 75 is out of range for type 'const char[10]'
CPU: 1 PID: 6949 Comm: syz.2.789 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
<TASK>
dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
ubsan_epilogue+0xa/0x30 lib/ubsan.c:151
__ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282
task_index_to_char include/linux/sched.h:1656 [inline]
trace_ctxwake_print+0x319/0x420 kernel/trace/trace_output.c:945
tracing_read_pipe+0x52f/0xae0 kernel/trace/trace.c:6872
vfs_read+0x2ff/0xd50 fs/read_write.c:483
ksys_read+0x153/0x260 fs/read_write.c:623
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fb61fc87559
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:00007fb61dede028 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007fb61ff0dfa0 RCX: 00007fb61fc87559
RDX: 0000000000004000 RSI: 0000200000000b00 RDI: 0000000000000004
RBP: 00007fb61fd1eb20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb61ff0e038 R14: 00007fb61ff0dfa0 R15: 00007ffd4f2c20f8
</TASK>
================================================================================
* Struck through repros no longer work on HEAD.