syzbot


upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid

Status: auto-obsoleted due to no activity on 2023/09/08 16:33
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+522a57d8d5a0f7ac5c6c@syzkaller.appspotmail.com
First crash: 514d, last: 511d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid 2 (3) 2023/06/29 11:19

Sample crash report:
================================================================================
UBSAN: array-index-out-of-bounds in kernel/pid.c:244:15
index 1 is out of range for type 'upid [1]'
CPU: 0 PID: 5008 Comm: syz-executor.0 Not tainted 6.4.0-syzkaller-08686-ge55e5df193d2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
 ubsan_epilogue lib/ubsan.c:217 [inline]
 __ubsan_handle_out_of_bounds+0xd5/0x140 lib/ubsan.c:348
 alloc_pid+0xbe5/0xdd0 kernel/pid.c:244
 copy_process+0x4589/0x7620 kernel/fork.c:2519
 kernel_clone+0xeb/0x890 kernel/fork.c:2911
 __do_sys_clone+0xba/0x100 kernel/fork.c:3054
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd1aec8d7b1
Code: 48 85 ff 74 3d 48 85 f6 74 38 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 7c 13 74 01 c3 31 ed 58 5f ff d0 48 89 c7 b8 3c 00 00 00
RSP: 002b:00007fff744d7088 EFLAGS: 00000202 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fff744d76c8 RCX: 00007fd1aec8d7b1
RDX: 0000000000000000 RSI: 00007fd1aeecffb0 RDI: 0000000030000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003
R13: 00007fff744d7160 R14: 00007fd1aedac9d8 R15: 000000000000000c
 </TASK>
================================================================================

Crashes (393):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/30 14:19 upstream e55e5df193d2 01298212 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 12:44 upstream e55e5df193d2 01298212 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 11:07 upstream e55e5df193d2 01298212 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 08:16 upstream e55e5df193d2 7b33cf8f .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 08:01 upstream e55e5df193d2 01298212 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-fs upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 06:12 upstream 0b26eadbf200 7b33cf8f .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 04:54 upstream 1e6d5dea3432 01298212 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 03:26 upstream 82a2a5105589 7b33cf8f .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 03:02 upstream 632f54b4d60b 7b33cf8f .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 01:48 upstream bf1fa6f15553 7b33cf8f .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 01:12 upstream 632f54b4d60b 01298212 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 23:57 upstream bf1fa6f15553 01298212 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 22:53 upstream 1b722407a13b 7b33cf8f .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 22:53 upstream 1b722407a13b 7b33cf8f .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 21:52 upstream c6b0271053e7 134ddc02 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 20:48 upstream 1b722407a13b 7b33cf8f .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 19:23 upstream 86e203edf24b ca69c785 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 10:36 upstream 3a8a670eeeaa 134ddc02 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 10:35 upstream 3a8a670eeeaa 134ddc02 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 09:22 upstream 3a8a670eeeaa 134ddc02 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-fs upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 05:47 upstream 3a8a670eeeaa ca69c785 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 04:34 upstream 3a8a670eeeaa ca69c785 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 04:34 upstream 3a8a670eeeaa ca69c785 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 02:01 upstream 3a8a670eeeaa 8064cb02 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 23:39 upstream 89181f544ffa 8064cb02 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 22:19 upstream 89181f544ffa ca69c785 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-fs upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 21:25 upstream 1b2c92a1cb24 ca69c785 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-fs upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 21:25 upstream 1b2c92a1cb24 ca69c785 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-fs upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 21:21 upstream 1b2c92a1cb24 8064cb02 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 21:20 upstream 1b2c92a1cb24 8064cb02 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 21:20 upstream 1b2c92a1cb24 8064cb02 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 21:10 upstream 1b2c92a1cb24 8064cb02 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 21:10 upstream 1b2c92a1cb24 8064cb02 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 21:10 upstream 1b2c92a1cb24 8064cb02 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 20:56 upstream 1b2c92a1cb24 8064cb02 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 20:56 upstream 1b2c92a1cb24 8064cb02 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 20:56 upstream 1b2c92a1cb24 8064cb02 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 09:10 upstream 6aeadf7896bf 4cd5bb25 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-fs upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 09:10 upstream 6aeadf7896bf 4cd5bb25 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-fs upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 15:38 upstream e55e5df193d2 af3053d2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 15:38 upstream e55e5df193d2 af3053d2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 10:45 upstream e55e5df193d2 01298212 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 09:32 upstream e55e5df193d2 7b33cf8f .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 06:56 upstream 075e333591e6 01298212 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 04:32 upstream 0b26eadbf200 01298212 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/30 00:09 upstream 1b722407a13b 7b33cf8f .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 18:30 upstream 86e203edf24b 134ddc02 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 17:51 upstream 86e203edf24b 134ddc02 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 03:16 upstream 3a8a670eeeaa 8064cb02 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 02:05 upstream 3a8a670eeeaa ca69c785 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/29 00:47 upstream 3a8a670eeeaa ca69c785 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 23:48 upstream 6a8cbd9253ab ca69c785 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
2023/06/28 20:51 upstream 1b2c92a1cb24 8064cb02 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 upstream test error: UBSAN: array-index-out-of-bounds in alloc_pid
* Struck through repros no longer work on HEAD.