syzbot


Internal error in sys_getgroups

Status: upstream: reported C repro on 2025/08/15 15:33
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+5c959d15cb08fc102342@syzkaller.appspotmail.com
First crash: 1d05h, last: 2h59m
Bug presence (2)
Date Name Commit Repro Result
2025/08/16 linux-5.15.y (ToT) c79648372d02 C [report] Internal error in sys_getgroups
2025/08/16 upstream (ToT) 90d970cade8e C Didn't crash

Sample crash report:
Internal error: Oops - BTI: 0000000036000001 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4245 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 : groups_to_user kernel/groups.c:47 [inline]
pc : __do_sys_getgroups kernel/groups.c:163 [inline]
pc : __se_sys_getgroups kernel/groups.c:148 [inline]
pc : __arm64_sys_getgroups+0x288/0x358 kernel/groups.c:148
lr : groups_to_user kernel/groups.c:47 [inline]
lr : __do_sys_getgroups kernel/groups.c:163 [inline]
lr : __se_sys_getgroups kernel/groups.c:148 [inline]
lr : __arm64_sys_getgroups+0x264/0x358 kernel/groups.c:148
sp : ffff80001fdc7cf0
x29: ffff80001fdc7d20 x28: 0000000000000000 x27: dfff800000000000
x26: 00000000fffffff2 x25: 0000000000000000 x24: 0000002000018000
x23: ffff0000d79cb6a4 x22: 0000000000000000 x21: 1fffe0001af396d4
x20: 0000000020000180 x19: ffff0000d79cb680 x18: 0000000000000000
x17: 0000000000000000 x16: ffff800008221e08 x15: 0000000000000000
x14: 0000000000000000 x13: 1ffff0000282e06b x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000ffffffffffff x9 : 0000000020000180
x8 : 0000000020000180 x7 : ffff800008750ed4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001
x2 : 0000000000000008 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
 groups_to_user kernel/groups.c:47 [inline]
 __do_sys_getgroups kernel/groups.c:163 [inline]
 __se_sys_getgroups kernel/groups.c:148 [inline]
 __arm64_sys_getgroups+0x288/0x358 kernel/groups.c:148
 __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 2a1603fa 2a1603e0 b8000939 (2a1a03e1) 
---[ end trace 41193e0796678d62 ]---
----------------
Code disassembly (best guess):
   0:	d503229f 	csdb
   4:	2a1603fa 	mov	w26, w22
   8:	2a1603e0 	mov	w0, w22
   c:	b8000939 	sttr	w25, [x9]
* 10:	2a1a03e1 	mov	w1, w26 <-- trapping instruction

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/15 23:25 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 sys_getgroups
2025/08/16 17:57 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 sys_getgroups
2025/08/16 02:52 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 sys_getgroups
2025/08/16 02:52 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 sys_getgroups
2025/08/15 15:34 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 sys_getgroups
2025/08/15 15:32 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 sys_getgroups
* Struck through repros no longer work on HEAD.