syzbot


fatal error: out of memory (4)

Status: moderation: reported C repro on 2020/03/20 12:47
Reported-by: syzbot+7320924394bf8db05409@syzkaller.appspotmail.com
First crash: 1719d, last: 644d
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
fatal error: D1124 03:LINE.ADDR NUM urpc.go:LINE] urpc: unmarshal success. 1 1463d 1456d 0/26 closed as dup on 2020/12/10 16:22
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor fatal error: out of memory (3) syz 3 1720d 1720d 0/26 fixed on 2020/03/12 21:53
gvisor fatal error: out of memory (2) 1 1776d 1769d 0/26 fixed on 2020/01/31 18:49
gvisor fatal error: out of memory 2 2101d 2082d 0/26 closed as invalid on 2019/08/13 21:47

Sample crash report:
fatal error: out of memory

goroutine 2527 [running]:
runtime.throw({0x128b921?, 0x41ed71?})
	GOROOT/src/runtime/panic.go:1047 +0x5d fp=0xc00045d390 sp=0xc00045d360 pc=0x43705d
runtime.(*mcache).allocLarge(0x15fa615828?, 0x83dae0018, 0x0)
	GOROOT/src/runtime/mcache.go:236 +0x178 fp=0xc00045d3d8 sp=0xc00045d390 pc=0x416db8
runtime.mallocgc(0x83dae0018, 0x11eef80, 0x1)
	GOROOT/src/runtime/malloc.go:1053 +0x4f7 fp=0xc00045d440 sp=0xc00045d3d8 pc=0x40d9f7
runtime.makeslice(0x2000?, 0x0?, 0x1735ff3e8?)
	GOROOT/src/runtime/slice.go:103 +0x52 fp=0xc00045d468 sp=0xc00045d440 pc=0x44f252
gvisor.dev/gvisor/pkg/sentry/pgalloc.(*MemoryFile).MapInternal(0xc00040c000?, {0x4000000, 0x15f9d00004001000}, {0x68?, 0xdc?, 0x40?})
	pkg/sentry/pgalloc/pgalloc.go:814 +0x112 fp=0xc00045d528 sp=0xc00045d468 pc=0x778b52
gvisor.dev/gvisor/pkg/sentry/pgalloc.(*MemoryFile).AllocateAndFill(0xc0003775f0?, 0x15f9d00000001000, 0xc00045d620?, 0x1, {0x149a200, 0xc00017e030})
	pkg/sentry/pgalloc/pgalloc.go:603 +0x91 fp=0xc00045d5d8 sp=0xc00045d528 pc=0x777891
gvisor.dev/gvisor/pkg/sentry/fsutil.(*FileRangeSet).Fill(0x1e69fb0?, {0x14b39d8?, 0xc00016aa80}, {0x924240?, 0xc00016aa80?}, {0x0?, 0x0?}, 0x15f9d00000000004, 0x0?, 0x3, ...)
	pkg/sentry/fsutil/file_range_set.go:125 +0x245 fp=0xc00045d698 sp=0xc00045d5d8 pc=0x7970c5
gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*regularFileFD).Allocate(0xffffffffffffffff?, {0x14b39d8, 0xc00016aa80}, 0x5ec5e0?, 0x2, 0x15f9d00000000002)
	pkg/sentry/fsimpl/tmpfs/regular_file.go:391 +0x2bd fp=0xc00045d798 sp=0xc00045d698 pc=0x84603d
gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Allocate(0xc00068af80, {0x14b39d8, 0xc00016aa80}, 0xc00045d880?, 0xa77473?, 0xc00016aa80?)
	pkg/sentry/vfs/file_description.go:584 +0x48 fp=0xc00045d7d8 sp=0xc00045d798 pc=0x73ef48
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Fallocate(0xc00016aa80, {{0x4}, {0x0}, {0x2}, {0x15f9d00000000002}, {0x0}, {0x0}})
	pkg/sentry/syscalls/linux/sys_file.go:1620 +0x2a5 fp=0xc00045d890 sp=0xc00045d7d8 pc=0xa75c25
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00016aa80, 0x11d, {{0x4}, {0x0}, {0x2}, {0x15f9d00000000002}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:142 +0x755 fp=0xc00045dc80 sp=0xc00045d890 pc=0x942275
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00016aa80, 0x85?, {{0x4}, {0x0}, {0x2}, {0x15f9d00000000002}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:322 +0x4a fp=0xc00045dce0 sp=0xc00045dc80 pc=0x9434aa
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000855878?, 0x1?, {{0x4}, {0x0}, {0x2}, {0x15f9d00000000002}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:282 +0x65 fp=0xc00045dd40 sp=0xc00045dce0 pc=0x943185
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0006d0dd0?)
	pkg/sentry/kernel/task_syscall.go:257 +0x2f0 fp=0xc00045de38 sp=0xc00045dd40 pc=0x942ef0
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00068af00?, 0xc00016aa80)
	pkg/sentry/kernel/task_run.go:259 +0xf0c fp=0xc00045df60 sp=0xc00045de38 pc=0x93712c
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00016aa80, 0x12)
	pkg/sentry/kernel/task_run.go:94 +0x1b8 fp=0xc00045dfc0 sp=0xc00045df60 pc=0x935bf8
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1()
	pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc00045dfe0 sp=0xc00045dfc0 pc=0x940a6a
runtime.goexit()
	src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00045dfe8 sp=0xc00045dfe0 pc=0x46d5e1
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:377 +0xef

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/20 21:48 gvisor 028cf757bbef 4f5f5209 console log report syz C ci-gvisor-ptrace-2 fatal error: out of memory
2023/02/20 21:25 gvisor 028cf757bbef 4f5f5209 .config console log report syz C ci-gvisor-ptrace-1-cover fatal error: out of memory
2023/02/20 21:25 gvisor 028cf757bbef 4f5f5209 .config console log report syz C ci-gvisor-ptrace-2-cover fatal error: out of memory
2023/02/20 21:05 gvisor 028cf757bbef 4f5f5209 console log report syz C ci-gvisor-ptrace-1 fatal error: out of memory
2020/03/21 12:10 gvisor d5fe1ce0c1c5 aa6c6a55 .config console log report syz ci-gvisor-main
2020/03/17 20:20 gvisor 42d78ba61bf9 749688d2 .config console log report syz ci-gvisor-main
2020/03/14 13:40 gvisor 829beebf0b67 749688d2 .config console log report syz ci-gvisor-main
2020/03/14 08:29 gvisor 829beebf0b67 749688d2 .config console log report syz ci-gvisor-main
2023/02/20 19:59 gvisor 028cf757bbef 4f5f5209 console log report info ci-gvisor-ptrace-1 fatal error: out of memory
2020/03/21 11:56 gvisor d5fe1ce0c1c5 aa6c6a55 .config console log report ci-gvisor-main
2020/03/16 11:13 gvisor 829beebf0b67 749688d2 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2020/03/14 13:30 gvisor 829beebf0b67 749688d2 .config console log report ci-gvisor-main
2020/03/13 11:42 gvisor 919664600d8d d850e9d0 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
* Struck through repros no longer work on HEAD.