syzbot


Internal error in prctl_get_tid_address

Status: upstream: reported C repro on 2025/08/18 03:43
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+958df09d17418a667d22@syzkaller.appspotmail.com
First crash: 11d, last: 5d03h
Bug presence (2)
Date Name Commit Repro Result
2025/08/22 linux-5.15.y (ToT) c79648372d02 C [report] Internal error in prctl_get_tid_address
2025/08/22 upstream (ToT) 3957a5720157 C Didn't crash

Sample crash report:
Internal error: Oops - BTI: 0000000036000001 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4233 Comm: syz.0.17 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 : prctl_get_tid_address+0x124/0x160 kernel/sys.c:-1
lr : __uaccess_mask_ptr arch/arm64/include/asm/uaccess.h:244 [inline]
lr : prctl_get_tid_address+0xec/0x160 kernel/sys.c:2258
sp : ffff80001f857c70
x29: ffff80001f857c80 x28: ffff0000dd2f0000 x27: ffff80001f857cc0
x26: 1ffff00003f0af98 x25: dfff800000000000 x24: 0000000000400040
x23: 0000000000ffff00 x22: dfff800000000000 x21: 000000000000ffff
x20: ffff0000dd2f0660 x19: 000000000000ffff x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000081e1de8 x15: 000000000000003d
x14: 0000000000ff0100 x13: 1ffff0000282e06b x12: 0000000000ff0100
x11: 0000000000000000 x10: 1fffe0001ba5e0cc x9 : 0000ffffffffffff
x8 : 0000aaaac257c0d0 x7 : ffff800008750ed4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001
x2 : 0000000000000008 x1 : 0000000000000001 x0 : 00000000fffffff2
Call trace:
 prctl_get_tid_address+0x124/0x160 kernel/sys.c:2258
 __do_sys_prctl kernel/sys.c:2445 [inline]
 __se_sys_prctl kernel/sys.c:2298 [inline]
 __arm64_sys_prctl+0x270/0xf14 kernel/sys.c:2298
 __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: 94196b82 2a1f03e0 f9400288 f8000aa8 (14000003) 
---[ end trace 7abe0c7e08e12c53 ]---
----------------
Code disassembly (best guess):
   0:	94196b82 	bl	0x65ae08
   4:	2a1f03e0 	mov	w0, wzr
   8:	f9400288 	ldr	x8, [x20]
   c:	f8000aa8 	sttr	x8, [x21]
* 10:	14000003 	b	0x1c <-- trapping instruction

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/18 04:40 linux-5.15.y c79648372d02 1804e95e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_get_tid_address
2025/08/18 04:08 linux-5.15.y c79648372d02 1804e95e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_get_tid_address
2025/08/24 03:42 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_get_tid_address
2025/08/24 03:41 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_get_tid_address
2025/08/21 01:39 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 prctl_get_tid_address
2025/08/21 01:37 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 prctl_get_tid_address
2025/08/18 09:01 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_get_tid_address
2025/08/18 09:00 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_get_tid_address
2025/08/18 03:42 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_get_tid_address
* Struck through repros no longer work on HEAD.