syzbot


Internal error in generic_ptrace_peekdata

Status: upstream: reported on 2025/08/20 23:30
Reported-by: syzbot+13a6fe389e8e4c2a43a4@syzkaller.appspotmail.com
First crash: 7d19h, last: 7d19h

Sample crash report:
Internal error: Oops - BTI: 0000000036000001 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4199 Comm: syz.0.15 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025
pstate: 42400405 (nZcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=jc)
pc : generic_ptrace_peekdata+0x2c4/0x310 kernel/ptrace.c:-1
lr : sign_extend64 include/linux/bitops.h:183 [inline]
lr : __uaccess_mask_ptr arch/arm64/include/asm/uaccess.h:244 [inline]
lr : generic_ptrace_peekdata+0x2a4/0x310 kernel/ptrace.c:1347
sp : ffff80001f807960
x29: ffff80001f8079c0 x28: ffff80001f807a60 x27: ffff80001f807960
x26: 1ffff00003f00f2c x25: dfff800000000000 x24: 0000000000000001
x23: ffff0000d6e43680 x22: 0000008000000600 x21: ffff0000dcfd8000
x20: 0000000000000001 x19: 0000000080000006 x18: 0000000000000000
x17: 0000000000000002 x16: ffff8000081b3e14 x15: ffffffffffffffef
x14: 0000000000ff0100 x13: 1ffff0000282e06b x12: 0000000000080000
x11: 0000000000001f13 x10: 0000000080000006 x9 : 0000ffffffffffff
x8 : 000000000a202123 x7 : ffff800008750ed4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001
x2 : 0000000000000008 x1 : 0000000000000001 x0 : 00000000fffffff2
Call trace:
 generic_ptrace_peekdata+0x2c4/0x310 kernel/ptrace.c:1347
 ptrace_request+0x240/0x1d00 kernel/ptrace.c:1061
 arch_ptrace+0x78/0x94 arch/arm64/kernel/ptrace.c:1794
 __do_sys_ptrace kernel/ptrace.c:1328 [inline]
 __se_sys_ptrace kernel/ptrace.c:1293 [inline]
 __arm64_sys_ptrace+0x1d0/0x5a0 kernel/ptrace.c:1293
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: d503229f 2a1f03e0 f94013e8 f8000948 (17ffff90) 
---[ end trace 1090c513883f7ee1 ]---
----------------
Code disassembly (best guess):
   0:	d503229f 	csdb
   4:	2a1f03e0 	mov	w0, wzr
   8:	f94013e8 	ldr	x8, [sp, #32]
   c:	f8000948 	sttr	x8, [x10]
* 10:	17ffff90 	b	0xfffffffffffffe50 <-- trapping instruction

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/20 23:29 linux-5.15.y c79648372d02 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in generic_ptrace_peekdata
* Struck through repros no longer work on HEAD.