syzbot


Internal error in prctl_set_mm

Status: upstream: reported C repro on 2025/08/09 00:06
Reported-by: syzbot+ef1a6da085aa7b1445b1@syzkaller.appspotmail.com
First crash: 6d12h, last: 1d04h

Sample crash report:
Internal error: Oops - BTI: 0000000036000001 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4221 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_set_mm+0x3e4/0xdf8 kernel/sys.c:2137
lr : sign_extend64 include/linux/bitops.h:183 [inline]
lr : __uaccess_mask_ptr arch/arm64/include/asm/uaccess.h:244 [inline]
lr : prctl_set_mm_map kernel/sys.c:1991 [inline]
lr : prctl_set_mm+0x3c0/0xdf8 kernel/sys.c:2137
sp : ffff80001fe778c0
x29: ffff80001fe77c60 x28: 00000000fffffff2 x27: ffff80001fe779e0
x26: dfff800000000000 x25: ffff700003fcef3c x24: 0000000000000000
x23: ffff0000d1021b40 x22: ffff80001fe77a90 x21: 000000000000000f
x20: 0000000000000000 x19: 0000000000000001 x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000081e12b0 x15: 000000000000003d
x14: 0000000000ff0100 x13: 1ffff0000282e06b x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000000000000000 x9 : 0000ffffffffffff
x8 : 0000000000000068 x7 : ffff800008750ed4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001
x2 : 0000000000000008 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
 prctl_set_mm_map kernel/sys.c:1991 [inline]
 prctl_set_mm+0x3e4/0xdf8 kernel/sys.c:2137
 __do_sys_prctl kernel/sys.c:2442 [inline]
 __se_sys_prctl kernel/sys.c:2298 [inline]
 __arm64_sys_prctl+0x758/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: 9a9f028a d503229f 52800d08 b8000948 (17ffff42) 
---[ end trace 11c7a3fd33bd5e74 ]---
----------------
Code disassembly (best guess):
   0:	9a9f028a 	csel	x10, x20, xzr, eq	// eq = none
   4:	d503229f 	csdb
   8:	52800d08 	mov	w8, #0x68                  	// #104
   c:	b8000948 	sttr	w8, [x10]
* 10:	17ffff42 	b	0xfffffffffffffd18 <-- trapping instruction

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/10 16:27 linux-5.15.y c79648372d02 32a0e5ed .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_set_mm
2025/08/14 04:42 linux-5.15.y c79648372d02 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_set_mm
2025/08/14 04:41 linux-5.15.y c79648372d02 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_set_mm
2025/08/09 12:34 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_set_mm
2025/08/09 12:33 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_set_mm
2025/08/09 07:18 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_set_mm
2025/08/09 07:17 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_set_mm
2025/08/08 20:38 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_set_mm
2025/08/08 20:37 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in prctl_set_mm
* Struck through repros no longer work on HEAD.